A web application that generates printable golden ratio (Fibonacci) spiral templates. Based on Robert Edward Grant's "Golden Mean Ratio Spiral" from Code X and Dan Winter's phase conjugate implosion research.
The spiral follows the polar form equation:
Where:
-
$r(\theta)$ = radius at angle ΞΈ -
$r_0$ = initial radius (at ΞΈ = 0) -
$\varphi$ (phi) = the golden ratio β 1.6180339887 -
$\theta$ = angle in radians
This is mathematically equivalent to the logarithmic spiral:
Where
The radius multiplies by Ο every quarter turn (90Β°).
This is what makes it a TRUE Fibonacci spiral - it perfectly inscribes quarter-circle arcs within Fibonacci-sized squares arranged as nested golden rectangles.
| Quarter-turns | Multiplier | Approximate Value |
|---|---|---|
| 1 (90Β°) | ΟΒΉ | 1.618Γ |
| 4 (360Β°) | Οβ΄ | 6.854Γ |
| 8 (720Β°) | ΟβΈ | 46.98Γ |
| 28 (7 turns) | ΟΒ²βΈ | 710,647Γ |
The application defaults to:
- Paper size: 1000mm Γ 1000mm (1m Γ 1m square)
- Turns: 7 complete rotations (28 quarter-turns)
- ΞΈ range: 0 to 14Ο radians (7 Γ 2Ο)
- Final radius: ~450mm (fits within 90% of the 1m paper, bounding box ~1m diameter)
Using the formula, the initial radius is calculated as:
That's approximately 0.63 micrometers (or 6.33 Γ 10β»β· m) - an incredibly small starting point that grows by Ο every 90Β° to reach ~0.5m after 7 turns!
Note: The specification mentions rβ β 0.7ΞΌm for a 0.5m final radius. Our implementation uses 0.45m (90% margin) resulting in 0.63ΞΌm. Both follow the same Ο^28 scaling.
The spiral is constructed using the classic Fibonacci/golden rectangle method:
- Start with a 1ΓΟ rectangle fitting within the square paper
- Divide into a square and smaller rectangle (the smaller rectangle is also a golden rectangle)
- Repeat inward - each division creates a new square
- Draw quarter-circle arcs in each square (each arc = one quarter-turn)
- Iterate 28 times for 7 complete turns
The Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89...) converges to the golden ratio:
Construction sequence for 7 turns (28 quarter-circles):
Squares: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811 Note: Inner segments (the first few squares) become sub-millimeter, necessitating digital tools for accurate construction and printing.
Dan Winter's research extends the golden spiral into a model for phase conjugate implosion - the idea that Ο-based compression creates the conditions for:
- Constructive wave interference at all scales
- Charge implosion toward center
- The physics of consciousness and life force
The 1D compression follows solutions to the Klein-Gordon equation with Ο-exponent scaling:
Where each nested wave compresses by exactly Ο, allowing perfect non-destructive interference.
The golden spiral extends to 3D via the vertices of the dodecahedron and icosahedron, which are defined by Ο:
Icosahedron vertices:
Dodecahedron vertices:
These Platonic solids allow spiral paths along symmetry axes, creating 3D phase conjugate geometries used in:
- Implosion vortex design
- Harmonic architecture
- Biofield technologies
The "sacred foot" connects the golden ratio to Planck-scale physics:
Where
This unit appears in sacred architecture and is theorized to create resonance conditions for biological coherence. Practical builds incorporating this ratio use biologic materials (wood, stone, natural fibers) for enhanced resonance effects.
- π Configurable paper sizes - From A4 to custom sizes up to 2m
- π Adjustable turns - 1 to 20+ complete rotations
- π Show/hide golden rectangles - Visualize the Fibonacci construction
- π¨οΈ Print-ready export - PNG, SVG, and direct print
- π Zoom & pan - Navigate large spirals with ease (up to 10000%)
- β» Rotate view - View the spiral from any angle
- πΎ Auto-save settings - Your configuration persists in localStorage
git clone https://github.com/eduair94/spiral.git cd spiral npm install npm run devnpm run buildThe built files will be in the dist/ directory.
The project automatically deploys to GitHub Pages when pushing to the master branch via GitHub Actions.
src/ βββ main.ts # Application entry point βββ style.css # Global styles βββ components/ β βββ handlers.ts # Event handlers β βββ styles.ts # Component styles β βββ template.ts # HTML templates βββ lib/ βββ config.ts # Configuration types & defaults βββ constants.ts # Mathematical constants (Ο, b, etc.) βββ export.ts # PNG/SVG/print export βββ math.ts # Spiral calculations βββ renderer.ts # Canvas rendering βββ state.ts # Application state management βββ zoom.ts # Zoom & pan controls - Vite - Build tool & dev server
- TypeScript - Type-safe JavaScript
- Canvas API - High-performance 2D rendering
- Tailwind CSS - Utility-first styling
The spiral is rendered using the TRUE Fibonacci method:
- Generate Fibonacci sequence for the required number of quarter-turns (28 for 7 turns)
- Calculate scale factor so the largest square fits within 90% of the paper
- Place squares according to the golden rectangle construction pattern:
- Direction cycles: right β down β left β up β repeat
- Draw quarter-circle arcs inscribed in each square:
- Arc center at corner of square
- Radius = side length of square
- Sweep = 90Β° (Ο/2 radians)
For the default 7 turns on 1m Γ 1m paper:
| Parameter | Value |
|---|---|
| Quarter-turns | 28 |
| ΞΈ max | 14Ο radians |
| Final radius | 450mm |
| Ο^28 | 710,647.07 |
| Initial radius | 0.000633mm |
| Initial radius | 6.33 Γ 10β»β· m |
| Initial radius | 0.633 ΞΌm |
The spiral path length is the sum of 28 quarter-circle arcs:
- Robert Edward Grant - "Code X" and Golden Mean research
- Dan Winter - Phase conjugate implosion and fractal physics
- Fibonacci Spiral - Wikipedia
- Golden Ratio - Wolfram MathWorld
MIT License - feel free to use this for any purpose.
- Mathematical foundation based on Robert Edward Grant's research
- Phase conjugate theory from Dan Winter's work
- Inspired by the beauty of Ο in nature, art, and consciousness