Run the code to rotate a square by 30 degrees. Try different angles (e.g. 45 degrees):
Create an interface with a slider to rotate the square. Try angle ranges other than 360:
Make a stack of 10 squares rotated in 5-degree increments. Try other increments or other numbers of squares:
Create an interface for changing the rotation increment between 0 and 45 degrees:
Add another control for changing the number of squares:
Make a sequence of progressively smaller squares. Try increments other than 5 degrees:
Put everything together. Find flower-like and other patterns:
Share It—make an interactive website for exploring spiral designs: