Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
let x, y;
function setup() {
createCanvas(400, 200);
x = width/2;
y = height/2;
background(255);
}
function draw() {
stroke(0);
x += random(-5, 5);
y += random(-5, 5);
point(x, y);
}Coding works best on desktop or with an external keyboard.