Lesson 34 of 51 · Patterns
Geometric Patterns
Combine shapes and rotations to create intricate patterns.
Python
from turtle import *
bgcolor("black")
color("yellow")
pensize(1)
speed(0)
for i in range(36):
for j in range(4):
forward(150)
right(70)
right(10)
done()Output

1
Rotating Squares
Draw a square, turn 10°, repeat 36 times → a beautiful mandala!