Skip to content

Fibonacci Spiral Data

A sunflower of glossy columns on the golden spiral that rise from the centre in a wave of data and sink back again. Loops perfectly.

3D object, V2 Objects3DSeamless loop, verified84 lines of codev1.0.0

In Science & maths, Patterns & illusions, Text & data

Next: Minimal SurfaceSurprise me

Fibonacci Spiral Data preview
Starting live preview…
00:00:00:00 / 00:00:00:01

Live, running the real source at reduced resolution.

Your current settings go with it. Combine several clips and hand them over together from your sequence.

Effect controls

Presets

600
1
2

The preview runs the same code your AI receives. These settings travel with the hand-off.

Info

What it is

Hundreds of round columns placed on the golden-angle spiral, each one 137.5° round from the last at a radius growing with the square root of its number, the way seeds pack in a flower head. Growth runs out from the middle: the columns rise one after another, ride a wave of data heights that travels out across the field and then sink back in the same order, so the loop begins and ends on an empty plate. Choose the number of columns, the colours (spectrum, ember, glacier or mono), how tall the data grows, how many waves cross the field per loop, the backdrop colour and whether the camera sways.

Reuse it in your own idea

  • Data title: Spectrum, 600.
  • Warm dashboard: Ember, tall.
  • Cool ambient: Glacier, dense.

Which part is reusable

src/fibonacci-spiral-data.js is the ingredient your AI reuses. demo.js is only the example scene around it, and uses chrome-material only for the demo.

Good to know

  • The data values are generated by a formula, not supplied; to chart real data replace the height function.
  • Columns of neighbouring spiral arms may touch at the largest counts.

Technical details

Technical details
Implementation
Three.js 0.185.1 (WebGL) · ES module src/fibonacci-spiral-data.js
Exports
  • createFibonacciField({ count?, palette?, height?, waves? }) => { group, setProgress(progress), dispose() }
  • PALETTES: { spectrum, ember, glacier, mono }
Dependencies (exact)
  • three@0.185.1 (source) — Renderer, geometry and shader materials.
  • chrome-material@1.1.0 (demo) — Studio environment light, backdrop and contact shadow.
  • apw-runtime@1.0.0 (demo) — Demo harness.
How it fits a scene

Coordinates: The field is centred on the origin on y = 0, about 12 across (radius 6 scaled with the square root of the count); the camera looks down at about 49°.

Lighting: A warm key light with a shadow map, a shadow-catching floor and the studio environment.

Timing: setProgress(progress) sets every column's height; frames render in any order.

Output
1080×1080, 30 fps, 16 s · procedural (computed from the frame number) · seamless loop — Each column rises and sinks in a window set by its number, so every column is at zero height at the first and last frames; the data wave has a whole number of cycles per loop and the camera sway is a sine of the loop, so the last frame meets the first.
Tested
Rendered 480 frames on 2026-10-06 in Chrome 154.0.8037.97 headless on Linux 7.0.0-38-generic (x64), Node 22.14.0 (WebGL 2 via SwiftShader (software)). Same frame twice from fresh pages: identical. Loop: Frame 0 vs end state (progress 1): mean |Δ| 0.0000, max |Δ| 0 of 255.
Performance
One instanced draw call of up to 1 000 cylinders with a shadow map; under a millisecond a frame on an integrated Intel GPU. Software WebGL renders in about a second a frame.
Export a video yourself
Download the source, then in the folder: npm install npm run render -- fibonacci-spiral-data/1.0.0 --out my-video.mp4Needs Node 18+, ffmpeg and Chrome/Chromium. Add --params my-settings.json (from Copy settings) for your own settings.
Version
1.0.0 · sha256:821a8e2a98a83b66…
Files
License
MIT. Copyright (c) 2026 AI Pixel Wizard. Released under the MIT License. See LICENSE in this folder. License details
Provenance
Adapted from the owner's threejs-sketches/geometry-math/fibonacci-spiral-data (MIT) and rebuilt for AI Pixel Wizard in October 2026 as an original studio object: golden-angle columns with an outward rise-and-sink window and a travelling data wave on an exact loop.
BinMore like this

Piano Keys

3D object3DSeamless loop16 seconds