An interactive art piece on the relationship between the golden ratio phi and pi, exploring pentagon geometry, the golden spiral, and numerical approximations linking the two constants.

Two magic numbers · one hidden pattern
φ&π

The golden ratio and the circle, secretly connected

These are two of the most famous numbers in the universe. One hides in flowers, shells, and galaxies. The other lives in every circle ever drawn. For thousands of years people called shapes like these “sacred.” And inside a single five-pointed star, the two numbers shake hands — perfectly.

scroll to begin
I.

Meet the two numbers

One number for growing, one number for circles

Phi (φ) is the golden ratio — the number for growing in the most balanced way possible. Watch the seed head beside this: a sunflower drops each new seed turned by the same “golden angle,” and that one rule packs the seeds perfectly, with no gaps. The same swirl shows up in pinecones, snail shells, and whole galaxies.

φ = (1 + √5) ÷ 2 = 1.618…nature's favorite proportion

Pi (π) is the circle number. Drop a pebble in a pond and watch the rings spread out — that's π in action. Take any circle, measure the distance around it, divide by the distance across, and you always get the same number: π. Every wheel, ripple, planet, and orbit carries it.

π = (around) ÷ (across) = 3.141…the number hiding in every circle

A growing number and a circle number. They seem to have nothing to do with each other. And yet…

II.

The sacred five-pointed star

The pentagram — an ancient symbol where φ and π meet

The five-pointed star is one of the oldest sacred symbols on Earth. The ancient Greek followers of Pythagoras treasured it as their secret sign, and you'll still see it on flags, in churches, and in mystical art everywhere. Here's why it's so special: draw a pentagon (a five-sided shape) and connect all its corners. The lines form a star — and every line is sliced by another in the golden ratio φ.

The really amazing part: all the angles in this star are built from π divided by 5. So the circle number (π) and the golden number (φ) are locked together by this one rule — and this time it's not “close,” it's exactly true:

φ = 2 × cos(π/5)exactly true — the golden number written using the circle number

A line across the pentagon is exactly φ times longer than a side. Tap golden cut to see one line slice another into the magic ratio 1 : φ. Hit spin and watch the star turn.

III.

The spiral that grows by φ

φ makes it grow · π makes it turn

This is the golden spiral — the exact curve you see in a nautilus shell, a ram's horn, a hurricane, and the arms of a galaxy. Here's the trick that builds it: every time the spiral makes a quarter-turn, it gets φ times bigger. The turning is π's job (a quarter-turn is the angle π/2), and the growing is φ's job. The two numbers trade off, step after step, to draw nature's favorite curve.

0

Tap golden rectangles: each square is φ times bigger than the one before. The curve inside each square is a quarter of a circle — a clean little slice of π. Growth and turning, φ and π, taking turns forever.

IV.

The flower made of circles

Sacred geometry — ancient art built from π and φ

People have carved this pattern into temple walls for over 2,000 years — in Egypt, China, India, and Europe. It's called the Flower of Life, and the whole thing is made of nothing but overlapping circles. Since every circle is π, this is π repeated again and again into a pattern so balanced that ancient cultures believed it held the blueprint of creation.

These circles build up through a famous sequence of figures, each with its own name. Tap through them — from the Vesica Piscis (just two circles) all the way up to Metatron's Cube, the figure said to hold every shape in the universe.

19 circles

Flower of Life — the full web of overlapping circles, carved on temples around the world. Pure π, repeated into a perfectly balanced pattern.

φ lives in the dodecahedron · π lives in the spherethe dodecahedron — 12 pentagons, all built on φ — was Plato's symbol for the whole universe

The ancient Greek philosopher Plato imagined the cosmos itself as a dodecahedron: a ball made of 12 perfect pentagons. Every one of those pentagons is ruled by φ, and a ball is ruled by π. So the shape they chose to represent everything is literally φ and π built into one object. That's why these patterns felt sacred — they show up everywhere, from a flower to the night sky.