a set of ellipses is drawn around the cursor; their sizes vary depending on the distance from the ellipse to the cursor.
pressing different keys change the maximum size of the ellipses amongst 3 different values. most keys will affect this specific property.
the following keys cover every possible variation for this particular property and can be used asa quick reference for interaction:
'c' > maximum size
'v' > medium size
'b' > minimum size
by pressing a mouse button one can reset the screen.
You should provide the text below when attributing this sketch:
too much room by
pedro veneroso , licensed under Creative Commons Attribution-Share Alike 3.0 license.
Work: http://openprocessing.org/visuals/?visualID=
4209
License: http://creativecommons.org/licenses/by-sa/3.0/
int i,d,x,y,n=10,m=51,k;void draw(){smooth();k=key%3+1;if(mousePressed)rect(-1,-1,501,501);for(i=0;i<m*m;i++,d=(int)dist(mouseX,mouseY,x=i%m*n,y=i/m*n)){if(d<30)ellipse(x,y,d/k,d/k);else point(x,y);}}