Else and Else If, AND and OR
Code! Programming with p5.js Lesson #3.3
This video covers the “else” and “else if” control structures as well as the logical operators AND (&&) and OR (II).
Community Contributions
- Bouncing ball with color changes by Godeta (Source Code)
- Bouncing balls with color changes and mouse interaction by Puettrick (Source Code)
- flip rect & ellipse by sapro (Source Code)
- Turning on/off lights by Yatharth (Source Code)
You can also add your own version! (See how)