Week 3 – Generative art

Ice cream sketch: https://editor.p5js.org/iguannalin/sketches/zr4K26owI

The generative ice cream sketch was fun to make, using the constraints of one instance of each shape function to create different randomly generated ice creams.

Shapes sketch: https://editor.p5js.org/iguannalin/sketches/T5UetFy1N

Creating the shapes sketch was a bit tricky as drawing the vertices for the shapes are very precise. I wrote a handy function to draw points on the canvas as I click, and then print out all the vertices to connect them, and I’m pretty happy with the 2 custom shapes I made with just the vertex() function and quadraticVertex().