Randomness and variables
Revisiting shapes and coordinates, introducing randomness
The video below introduces randomness and shows an approach for creating a piece inspired by Ryoji Ikeda's Test pattern series. There's a small challenge in the end of the video. Try it out!
Color modes and Variables
The next video introduces variables and describes how to use HSB color mode for creating generative color palettes.
What's the output of the following program?
let posX = 8; let posY = 6; posX = posX + 8; posY = posX * -2; posX = 2; return(posY);
Submit a p5js.org link to your sketch on MyCourses. Watch the video below for more instructions.