Volumetric Fern Frond Sheet
Barnsley IFS Β· Category 6

Volumetric Fern Frond Sheet

The Barnsley Fern β€” born from four probabilistic affine transformations β€” lifted from 2D into a curved 3D parabolic trough with recursive leaf-curling depth. Adjust the point density, switch palettes, and watch the fern take shape point by point.

The Mathematics

The Barnsley Fern is an iterated function system (IFS) β€” a collection of affine transformations applied repeatedly with probabilities. Starting from any point, the system "forgets" the starting position after a few iterations and converges to the fern's attractor.

The four affine maps (each: x' = ax + by + e, y' = cx + dy + f) f₁ (stem):   x' = 0,   y' = 0.16y    p = 0.01
fβ‚‚ (main):   x' = 0.85x + 0.04y,   y' = βˆ’0.04x + 0.85y + 1.6    p = 0.85
f₃ (left):   x' = 0.20x βˆ’ 0.26y,   y' = 0.23x + 0.22y + 1.6    p = 0.07
fβ‚„ (right):   x' = βˆ’0.15x + 0.28y,   y' = 0.26x + 0.24y + 0.44    p = 0.07
3D extension β€” parabolic trough & leaf-curl mapping v = y / 10  (normalize height to [0, 1])
z = βˆ’0.4Β·xΒ² + 0.15Β·sin(2Ο€v)  (parabolic curl depth)
x₃D = 1.5Β·xΒ·(1 + 0.2v)  (horizontal spread widens with height)

Each point's 2D IFS coordinate (x, y) is mapped to 3D by bending the flat fern into a parabolic trough and adding a sinusoidal curl, giving the frond physical depth. The vertical position v also drives the color gradient from root to tip.

Interactive

Drag to rotate Β· Scroll to zoom Β· Right-click to pan Β· Use the sliders to change point density and palette.

Volumetric Fern Frond Sheet

Learning Objectives

  • Define an iterated function system (IFS) and explain probabilistic map selection
  • Identify the four Barnsley fern transformations and their roles (stem, main, left, right)
  • Describe how 2D affine maps are extended into 3D via coordinate transformation
  • Observe the relationship between point density and emergent structure

Teacher Notes

  • The fern emerges gradually β€” start at 20k points and increase to 100k to show convergence
  • Three palettes (Emerald, Bio-Luminescent, Autumn) don't change the math β€” only the color mapping
  • Ask students: "Which map has the highest probability? Why does that make sense for a fern?"
  • Connection to biology: real ferns exhibit approximate self-similarity across scales

← Back to Collection   Next: Sierpinski Prism β†’