- Show Sketch
/** @peep sketchcode */
float x, y;
void setup() {
size(400, 400);
background(255);
x = random(width);
y = random(height);
}
void draw() {
noStroke();
rect(0, 0, width, height);
fill(255, 20);
x += random(-10, 10);
y += random(-10, 10);
x = constrain(x, 0, width);
y = constrain(y, 0, height);
strokeWeight(random(1, 10));
stroke(0);
point(x, y);
stroke(random(255), random(255), random(255));
point(y, x);
}
Nothing in the gallery yet!
Comments
Nobody has said anything yet.