6: If - Else plus AND, OR, and NOT in p5.js: How to Code Generative Art
Another video in the series on How to Code Generative Art using p5.js. In this video, we learn about if-else statements, conditional statements (AND, OR, & NOT), and Boolean Operators (True/False). # beginner's guide to coding, getting started generative art p5js.
The playlist: https://www.youtube.com/playlist?list=PLnJOmsprq3bE0QLbe7wZ8yb1-Dt0FBcP5
For Loop and While Loop grid example from for loop video:
https://editor.p5js.org/StevesMakerspace/sketches/Y8RWi6DO5
Grid with varying shapes:
https://editor.p5js.org/StevesMakerspace/sketches/hnD7v8Mva
Moving ball:
https://editor.p5js.org/StevesMakerspace/sketches/BxIkU7Vj8
Thirds positions:
https://editor.p5js.org/StevesMakerspace/sketches/5rOTlgoB7
Ternary operator:
https://editor.p5js.org/StevesMakerspace/sketches/sBJWjqqvl
https://p5js.org/
Join my Discord: https://discord.gg/FSW6zzU
Follow me on Twitter: https://twitter.com/SteveMakerspace
Steve's Patreon page: https://www.patreon.com/steves_makerspace
Harp effect by Creative Library:
https://www.youtube.com/watch?v=FdvuWPtMN3Q