ReproducibleExample

Golden-angle sunflower

CG-3C0E-D79D-1182

900 seeds placed at 137.508° intervals: the arrangement of a sunflower head.

Artist
Colors Gravity (example)
Created
2026-11-17
Medium
Algorithmic drawing, HTML canvas 2D
Collection
Phyllotaxis and growth
Algorithm
Phyllotaxis (open in studio)

Why it looks like this

θₙ = n · α, rₙ = c · √n

This is how a sunflower packs its seeds. Each new seed is placed one fixed angle further round than the last, and a little further out. At the golden angle (about 137.508°) no two seeds ever line up, so the head fills evenly and the eye finds interlocking spirals, usually in Fibonacci counts such as 34 and 55. Move the angle by a fraction of a degree and the spirals straighten into spokes with gaps between them.

Angle α (°)
137.508
Seeds
900
Dot size
0.42
Seed
0 (not used by this algorithm)

Provenance

  • ✓ID matches the recipe hash.
  • ✓Algorithm source is the registered version.
  • ✓Signed with key e63de6aa3cd0fd53 (ed25519) on 2026-11-17.
  • ✓In the public hash log as entry 4.
Record hash and recipe
record_sha256 7215a67935706fc207303187380b9fb79ecbbd76dd2092f54864e2086142faa1
{
  "algorithm": "phyllotaxis",
  "params": {
    "angle": 137.508,
    "count": 900,
    "dot": 0.42
  },
  "seed": 0,
  "source_sha256": "763803bc680cea472b1bf671e90a07c55be4d5bd55b81f0f7b3ccecf29182776",
  "spec": "cg-recipe/1"
}
JSON record

Verify in your browser

Recomputes the ID from the recipe, checks the algorithm source is the registered one, then re-renders at 480 × 480 and hashes the pixels.