Alexis Mabanza @ alexvolkihar.ovh

Phyllotaxis

Flower heads grown from the golden angle

A sunflower places each new floret a fixed turn of about 137.5° past the previous one, the golden angle, and a little further out than the last. Repeat that a few hundred times and the florets settle into two families of crossing spirals, 21 one way and 34 the other, or 34 and 55: consecutive Fibonacci numbers. Each piece grows one head, a pair, a cluster or a whole field of them from that rule. The florets are drawn as seeds inside a ring of ray petals, as overlapping petals, as the scales of a pine cone, as dots, or as the lattice of spirals itself, and they grow with their distance from the centre. Most heads use the golden angle. Some drift slightly off it, some use the Lucas angle of about 99.5° and its 4, 7, 11, 18 spirals, and a rare few use a fraction close to golden, which breaks the spirals into straight spokes. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0xff992151…0482
Palette MidnightFlorets SeedsArrangement FieldAngle GoldenDensity Classic
0x3941ae41…06b3
Palette MeadowFlorets SeedsArrangement SingleAngle DriftingDensity Classic
0x462dc0ff…dca8
Palette MeadowFlorets ScalesArrangement ClusterAngle GoldenDensity Packed
0x47208e5b…7fce
Palette SunflowerFlorets PetalsArrangement SingleAngle GoldenDensity Packed
0x3075ad6b…7499
Palette EmberFlorets PetalsArrangement FieldAngle DriftingDensity Classic
0x609fa64e…a3ce
Palette VerdigrisFlorets SpiralsArrangement SingleAngle DriftingDensity Loose
0x441231ba…215a
Palette EmberFlorets ScalesArrangement ClusterAngle LucasDensity Classic
0xb6bf103a…bf72
Palette InkFlorets PetalsArrangement SingleAngle GoldenDensity Classic
0x2fa6b1a6…e8e1
Palette VerdigrisFlorets PetalsArrangement ClusterAngle DriftingDensity Classic
0x6c091a18…27bf
Palette InkFlorets SpiralsArrangement SingleAngle DriftingDensity Classic
0xe8248087…90f9
Palette VerdigrisFlorets DotsArrangement SingleAngle GoldenDensity Loose
0xf08ee30e…542c
Palette InkFlorets DotsArrangement FieldAngle DriftingDensity Loose

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
PaletteSunflower 22 · Meadow 18 · Ink 16 · Verdigris 16 · Midnight 16 · Ember 12
FloretsSeeds 28 · Petals 24 · Scales 18 · Spirals 16 · Dots 14
ArrangementSingle 40 · Pair 15 · Cluster 27 · Field 18
AngleGolden 58 · Drifting 22 · Lucas 13 · Spokes 7
DensityLoose 25 · Classic 50 · Packed 25

Credits

  • Floret placement: H. Vogel’s model of the sunflower head, floret n at angle n × 137.508° and radius c·√n, from "A better way to construct the sunflower head" (Mathematical Biosciences 44, 1979). Here the radius exponent can rise above ½, so florets grow towards the rim.
  • Phyllotaxis and parastichies: the observations of Schimper and Braun (1830s) and of the Bravais brothers (1837), and the account in Prusinkiewicz & Lindenmayer, The Algorithmic Beauty of Plants (1990), chapter 4. The Lucas angle follows the rarer Lucas-number phyllotaxis described in the botanical literature (Jean, Phyllotaxis: A Systemic Study in Plant Morphogenesis, 1994).
  • Spirals: each floret is joined to its nearest neighbours among the Fibonacci and Lucas offsets, and each segment is coloured by the direction its spiral turns.
  • Randomness: sfc32 by Chris Doty-Humphrey, seeded from the hash with named sub-streams, following Camille Roux’s genart skill (MIT).
  • The palettes are original. The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>