Experimenting With Patterns

My creation.(Reload the page for a random pattern each time)

This project was meant to have us experiment with creating different patterns and art works using code. There are many different ways to manipulate shapes and the creation of shapes. I  had a lot of fun making these different pieces of art. Not only did I make nine different versions of generative art I challenged myself to make it so that every time you run the code it will produce one of the nine different patterns that I created. This turned out to be relatively easy. I just had to create a random variable and then create an if and else if loop in the draw function, where for each number that the variable can be there  is an if loop that runs a different set of code. The part of the coding that took me the longest was making it so that when certain codes run the background is different colors, but after a little bit of looking at it I had just made a typo that kept the loop from running. Also my code is relatively sloppy I am sure that there our variables that could be set as global variables instead of local variables, I have to go back through and check what I can change. Overall I would say I definitely enjoyed this project and I learned a lot about how to manipulate shapes and patterns to get the outcome that I want. However, I feel that I could have used the random  function in a more creative way to play with the changing patterns better.

Leave a Reply

Your email address will not be published. Required fields are marked *