Concept
Inspired by the “Computer Graphics and Art” magazine which was linked in the assignment, I wanted to create an art piece which used shapes of random sizes and colors to create an abstract, seemingly chaotic art. Given that the magazine was written in 1977 it was all in black an white, so I decided to modernize it a bit by adding different random colors to the design therefor making it even more aesthetically pleasing.
Process
When I started this project I wanted to place shapes with random attributes in random positions to create artwork. My plan was for the user to run the program and each time get a completely different result which represents a whole new piece of art. I also didn’t want to stick to just one object so I decided to add lines alongside ellipses for a better visual effect. It was a bit challenging at first putting the lines somewhat correct positions as I also wanted to introduce randomness. But with some tweaking and work I managed to create something that I find satisfying.
let numLines = random(3, 10); for (let j = 0; j < numLines; j++) { let x2 = x + random(-s, s); let y2 = y + random(-s, s); stroke(r, g, b); line(x, y, x2, y2); }
Reflection and future improvements
Overall creating art from something random and chaotic proved to be a fun task. I enjoyed seeing how just a little change in the code made a huge difference in the artwork. Although I did implement the code stopping in the end to allow the user to see what they’ve created, in the future I’d like to make it possible to reset the canvas and create a new piece with just a click.