Randomness and variables

Lecture slides


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.

Quiz about variables


There is two options for the assignment:

  1. Continue the Ryoji Ikeda inspired example done during the class. Add another row of randomised rectangles, try out different approaches for colours

  2. Create a geometric composition with a generative colour scheme. Start with arranging primitive shapes to an abstract geometric composition. Then create a generative colour scheme with HSB color values.

Submit a p5js.org link to your sketch on MyCourses.

More resources