Watch FunProgramming [ video 27]
Here is Mr. Fun’s program:
float r = 0;
void setup()
{
size(400,400);
background(10);
smooth();
noStroke();
}
void draw()
{
fill(255);
rotate(r);
ellipse(100+r, 10, 9, 9);
r = r+ 0.1;
}
Modify this program to make something beautiful. For example, change how much the value r changes, add color, add other shapes. Be Creative!! Here’s mine: