You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this tutorial, you will learn new ways to add user interaction to your sketches, and control the order in which code runs.
26
+
In this tutorial, you will learn new ways to add user interaction to your sketches, and control the order in which code runs.
27
27
28
28
You will learn these basic programming concepts by creating an [interactive sun](https://editor.p5js.org/gbenedis@gmail.com/sketches/nNVmHVf5m) sketch and a [sunrise animation](https://editor.p5js.org/gbenedis@gmail.com/sketches/9lz2aqfTO):
29
29
@@ -524,7 +524,7 @@ function draw() {
524
524
525
525
fill("green");
526
526
527
-
rect(0, horizon, 400, 400);
527
+
rect(0, horizon, 400, 200);
528
528
529
529
}
530
530
```
@@ -764,7 +764,7 @@ function draw() {
764
764
sunHeight -=2;
765
765
}
766
766
767
-
// increase color variables by 4 or 1 during sunrise
767
+
// increase color variables by 4 or 1 during sunrise
0 commit comments