Introduction to Computational Media: Week 6

Assignment

For week six, we were asked to build on the assignment from the previous week, such as adding additional shapes and controls, and to use arrays where appropriate.

Sketch

Building on the previous Create Your Own Wall Drawing sketch, I wanted to add an option for switching between a range of geometric shapes, again in reference to the original Wall Drawing 340. I created a fifth slider to choose a shape with one of three values: 1) circle, 2) rectangle, and 3) triangle. If I can keep going with further controls, I would like to add either a slider or a mouse press to toggle between the primary colors (red, yellow, blue) as well.

View the sketch in the p5.js Editor.