6: If - Else plus AND, OR, and NOT in p5.js: How to Code Generative Art

Subscribers:
7,360
Published on ● Video Link: https://www.youtube.com/watch?v=1oMwEhNjIJc



Category:
Guide
Duration: 20:31
238 views
18


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




Other Videos By Steve's Makerspace


2023-12-2417: Perlin Noise Grid Project in p5.js: How to Code Generative Art
2023-12-2216: Introduction to Perlin Noise in p5.js: How to Code Generative Art
2023-12-2015: Sine and Cosine to make wonky circles and meandering lines in p5.js: How to Code Generative Art
2023-12-1814: Array Examples from Steve's Projects in p5.js: How to Code Generative Art
2023-12-1813: Basics of Arrays in p5.js: How to Code Generative Art
2023-12-1611: Using a Buffer Canvas - createGraphics, Get, Image, Tint in p5.js: How to Code Generative Art
2023-12-1410: Creating Functions in p5.js: How to Code Generative Art
2023-12-139: On Being a Generative Artist - How to Code Generative Art - p5.js
2023-12-128: Translate and Rotate in p5.js: How to Code Generative Art
2023-12-117: Custom Shapes - Vertex and curveVertex in p5.js: How to Code Generative Art
2023-12-096: If - Else plus AND, OR, and NOT in p5.js: How to Code Generative Art
2023-12-075: For Loops and While Loops in p5.js: How to Code Generative Art
2023-12-064: Variables plus Math Shortcuts in p5.js: How to Code Generative Art
2023-12-053: Shapes plus Random function in p5.js: How to Code Generative Art
2023-12-042: Color in p5.js: How to Code Generative Art
2023-12-031: Getting Started with p5.js: How to Code Generative Art
2023-12-03How to Code Generative Art: Preview to the Course - p5.js
2023-11-30I'm on Patreon!
2023-11-21Fixing Perlin noise - p5js #shorts
2023-10-16Combining ml5 PoseNet and p5play to manipulate objects with my body - p5js
2023-10-10Replacing p5play Blocks with Custom Generative Blocks



Tags:
getting started coding p5js
getting start p5js
how to code p5js
how to code generative art
learn generative art
beginner's guide p5.js
beginner's guide generative art
getting started creative coding
if-else p5js
and or p5js
&& || p5js
boolean p5js
conditional p5js