Week 2 – Art Piece

Concept: It took me a while to decide on what to create. I had so many ideas but couldn’t implement them without very complicated code that I didn’t understand. I decided to make the following art piece, using the for loop, inspired by the Olympics logo since I’ve been watching it recently.

Code: I was proud of figuring out how to randomize the colors by making it choose randomly any value between 0-255 for red, green, and blue.

stroke(random(255), random(255), random(255));

Reflection and ideas for improvements: I wish I could make the stroke choose out of a set of specific colors instead of choosing randomly because some colors aren’t that appealing. Having a certain color scheme might help make it look more pretty.

Leave a Reply