processing - How can I show the coordinates in my beginner sketches? -
as experiment processing (for loops , variables) i'm trying figure out point relates iteration of variable:
(i = 10; <100; +=5) { rect (i, i+10, 50, 50); }
is there someway me show coordinates next points? or possible colour code iterations? possibly making first 1 red, blue, etc.
any pointing resources, or examples welcome.
sort of that?
size(400,400); colormode(hsb); for(int = 10; <255; +=24) { int x = i; int y = i+10; fill(i,255,255); rect (x, y, 50, 50); fill(0); text(x + "," + y,x,y,100,100); }
Comments
Post a Comment