Week 6 - Loops
Week 6 - Loops
Final Design
Original Design
This was an interesting project for me. I decided that I wanted to create a mandala design and to use loops to simplify the code. I originally had a more elaborate design that I wanted to create, but I was being overly ambitious because I didn't realize how difficult it would be to make a loop that rotates shapes along a circular path. This will definitely be a future goal to achieve, but at this point seems to be beyond my skill set. The solution for this challenge was to simplify the design to using only circle shapes. Then, I looked up how to rotate in the online Processing reference and looked at other online examples as well. I used this knowledge as a starting off point and altered the code as I needed for the image I wanted to achieve. I learned I had to put the loops in a function and the "static" parts of the image in the setup or else some weird (but cool!) animation would occur. I actually really liked how the animation looked, but since it was not part of my original intention for this project (I just wanted to create a non-moving image) I didn't include it (this is why only a screenshot is included this week).