Stop
Continue
Go
/* Symmetry Example This example draws a symmetric shape by drawing 10 line segments and their reflections through the line y=x; */ function setup(){ } function draw(){ var x1, y1, x2, y2; //coordinates var i; //index to count segments for(i=0;i<10;i++){ x1=random()*width; //x1 random y1=random()*x1; //y1 less than x1 x2=random()*width; //x2 random y2=random()*x1; //y2 less than x2 line(x1,y1,x2,y2); //Original line(y1,x1,y2,x2); //Reflected } }
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