13: Basics of Arrays 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 how to use arrays, which are (usually) lists of items you might need to keep track of in your project. # beginner's guide to coding, getting started generative art p5js.
The playlist: https://www.youtube.com/playlist?list=PLnJOmsprq3bE0QLbe7wZ8yb1-Dt0FBcP5
Array examples used in video:
https://editor.p5js.org/StevesMakerspace/sketches/rdQpMG1RJ
Animated blocks sketch used in video:
https://editor.p5js.org/StevesMakerspace/sketches/tRvq8XaWg
Coding Train video on Object Oriented Programming / using Classes:
https://www.youtube.com/watch?v=T-HGdc8L-7w&t=1044s
Coding Train playlist on Vectors:
https://youtube.com/playlist?list=PLRqwX-V7Uu6ZwSmtE13iJBcoI-r4y7iEc&si=fH867uilYday0Qp-
p5 reference page for more functions for arrays:
https://p5js.org/reference/#group-Data
Array functions and info - native to JavaScript:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
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