Stop
Continue
Go
/* This example converts the Face example to a function so that we can draw many faces with different sizes. */ function face(x,y,r){ //save to prevent changes elsewhere save(); //Translation to x,y) translate(x,y); //scale to get proper radius r //the original radius was 190 scale(r/190); //Face color('tan'); fillcolor('tan'); circle(0,0,190,190); fill(); //Eyes color('blue'); fillcolor('blue'); circle(70,-50,20); fill(); circle(-70,-50,20); fill(); //Mouth color('red'); linewidth(30); line(-20,50,20,50); //restore restore(); } //Draw some faces face(300,300,100); face(190,190,50); face(100,100,25);
default
3024-day
3024-night
ambiance
base16-dark
base16-light
blackboard
cobalt
eclipse
elegant
erlang-dark
lesser-dark
mbo
mdn-like
midnight
monokai
neat
night
paraiso-dark
paraiso-light
pastel-on-dark
rubyblue
solarized dark
solarized light
the-matrix
tomorrow-night-eighties
twilight
vibrant-ink
xq-dark
xq-light