🌀

Double spiral

Two mirrored spirals in different colors — one turns right, one turns left.

Maker· ages 12–1425 minfor loopsturtle.homepenup / pendownleft vs right
double_spiral.py

First load pulls ~10 MB of Python. Only happens once — the browser caches it after.

What should the output look like?

Two spirals in different colors, mirroring each other from the center.

📖

How this works

Two spirals sharing a center. The first goes right, the second goes left — mirroring each other. Between them, turtle.home() jumps back to the middle without drawing (thanks to penup).

Your turn — try these

  • 1Add a THIRD spiral in green with `right(89)` instead of 61.
  • 2Change one of the spirals to grow with `i * 3` instead of `i * 2`.
  • 3Loop through a list of colors so each rotation changes color.