Watch FunProgramming [video 36]
Here is a program I wrote
float x = 200;
float y = 200;
float r = random(255);
float g = random(255);
float b = random (255);
float noisevalx = 2;
float noisevaly = 4;
void setup()
{
size(400, 400);
background(0);
strokeWeight(3);
}
void draw()
{
stroke(r,g,b);
x = x + (noise(noisevalx) - 0.5)* 10;
y = y + (noise(noisevaly) - 0.5) * 10;
point (x,y);
noisevalx = noisevalx + 0.3;
noisevaly = noisevaly + 0.2;
}
Change the program to make the drawing “more loopy”
Change the program so that both the color and the position and the color change with noise();
Show a mentor, mark the board and claim a prize