Functions + Loops

Yuliza Saucedo
Feb 20, 2021

Hw 5

Reference picture:

https://www.instagram.com/p/CH3vlt8hNhg/?utm_source=ig_web_copy_link

When looking at the original work I chose, I thought the major functions Tim Szetela used was a nested for loop with translated, rotating rectangles. The translations, rotation and rectangle are within a push and pop to keep the structure. I made two sets of rotating rectangles with 3 columns each, and reversed the rotation of one of these sets to have the rectangles spin into each other. I messed around with the x and y start positions to get the right positioning for creating the same illusion Tim Szetela did.

Variation 1 : Randomized colors, ellipse instead of rectangles, different speed
Variations 2: Different shapes, rotation and colors

--

--