Benutzer:Jasmina
Aus exmediawiki
-
1.2.21
-
3.2.21
-
3.2.21
-
3.2.21
-
4.2.21
-
4.2.21
-
4.2.21
-
4.2.21
-
9.2.21
-
9.2.21
-
9.2.21
-
9.2.21
-
9.2.21












var c;
let i= 0;
function setup() {
c = createCanvas(windowWidth-20, windowHeight-20); frameRate(10);
}
function draw() {
background(190);
noStroke();
i = i + 20;
if (i >= 0.25 * width) {
i = 0;
}
if (! mouseIsPressed) {
fill(255,105,180);
ellipse(90 + 4 * i,50 + 4 * i,80,80);
}
for (let i = 0- 80 ; i < height; i += 20) {
fill(255,105,180);
rect(50 + i, i, width / 2, 10);
fill(255,105,180);
rect(50 + i, i, 10, width / 2);
}
}