We are about to switch to a new forum software. Until then we have removed the registration on this forum.
You can delete this question. Thank you.
Well, what do you have so far? Post your code!
If you have no code, try starting with an empty sketch! Can you do a blue background?
your starting point:
https://www.processing.org/reference/ellipse_.html
float x,y,i; void setup(){size(400,400);} void draw(){ while(i <= 20){ i+=PI/10; x=sin(i)*i*PI+200; y=cos(i)*i*PI+200; ellipse(x,y,i,i); } }
For an interactive sample, try the following code. Set the mouse close to the top left corner to get your sketch.
Kf
float x, y, i; float ko=200; //Repetition frequency float ks=200; //Amplitude void setup() { size(400, 400); fill(255); } void draw() { background(92); ko=map(mouseX, 0, width, 5, 400); ks=map(mouseY, 0, height, 0.5, 10); i=0; while (i <= 20) { i+=PI/ko; x=ks*sin(i)*i*PI+width/2; y=ks*cos(i)*i*PI+width/2; ellipse(x, y, i, i); } }
Answers
Well, what do you have so far? Post your code!
If you have no code, try starting with an empty sketch! Can you do a blue background?
your starting point:
https://www.processing.org/reference/ellipse_.html
float x,y,i; void setup(){size(400,400);} void draw(){ while(i <= 20){ i+=PI/10; x=sin(i)*i*PI+200; y=cos(i)*i*PI+200; ellipse(x,y,i,i); } }
For an interactive sample, try the following code. Set the mouse close to the top left corner to get your sketch.
Kf