Not a Fractal

The Hopf fibration isn't a fractal. It has no self-similarity, no iteration, no escape-time algorithm. It's here because it's one of the most striking objects in mathematics to look at, and because a fractal visualizer that can render 3D geometry shouldn't pass it up.

What it actually is: a continuous map from the 3-sphere (S³) to the 2-sphere (S²). Every single point on the ordinary sphere corresponds to an entire circle on the 3-sphere. Pick any point. There's a circle. Pick another point. Another circle. And every pair of those circles is linked through each other exactly once, like two rings in a chain. The whole 3-sphere decomposes into these interlocking circles with no gaps and no overlaps.

Hopf Map: S³ → S² (z₁, z₂) ∈ C² → (z₁ : z₂) ∈ CP¹ ≅ S²

The map takes pairs of complex numbers on the unit 3-sphere and sends them to points on the 2-sphere via the ratio z₁/z₂. Points that differ only by a phase factor (multiplication by e^(iθ)) map to the same point on S². That phase freedom traces out the circles.

Seeing a 4D Object

The 3-sphere lives in four dimensions. You can't look at it directly. But you can use stereographic projection to push it into 3D space, the same way a map projection flattens the Earth onto paper. Under this projection, the Hopf fibers (the circles) become actual circles and lines in 3D, all linked together.

The fibers over any circle on S² form a torus. So the whole structure is nested tori, each one threaded through the others. In our visualizer, each fiber is drawn as a torus mesh rather than a bare circle, which makes the linking visible at a glance.

As you move around the base sphere (S²), you're selecting which fiber to highlight. Nearby points on S² correspond to nearby circles in S³, so smooth movement on the sphere produces smooth deformations in the fiber structure.

The Linking

The linking property is what first drew attention to this object. Take any two fibers. They pass through each other's interior exactly once. Not sometimes, not approximately. Exactly once, for every pair. This is a topological invariant, which means it survives any continuous deformation of the structure. You can stretch and bend the fibers however you want, and they stay linked.

This also means the fibers can morph smoothly into their neighbors while keeping their topology intact. That's what produces the flowing quality in the animations. Nothing tears or crosses.

Technical Implementation

Unlike the other visualizations on this site, which use ray marching on the GPU, the Hopf fibration is built from Three.js mesh geometry. Each fiber is a torus mesh with per-vertex lighting. This is a geometry problem, not a shader problem, so standard 3D rendering works better here than distance field methods.

Exploring It

3D Orbital View

Orbits the camera around the fiber bundle. Good for getting a sense of the overall structure and how the tori nest inside each other.

Twist Morphing

Varies the twist parameter so fibers deform continuously. Watch the linking: it never breaks.

Fiber Count Morphing

Adds and removes fibers over time. Start with a few to see the linking clearly, then let it fill in.

Interactive Navigation

Full manual control with WASD/QE or touch. Fly around the structure yourself.

History

Heinz Hopf described this fibration in 1931 while studying homotopy groups of spheres. The question he answered: is the map from S³ to S² always contractible (shrinkable to a point)? Before Hopf, most mathematicians assumed yes. Hopf showed it wasn't. His fibration was a counterexample, and it became the first known non-trivial fiber bundle.

That discovery opened up the field of fiber bundles in topology. The idea that you can decompose a complicated space into a "base" and "fibers" over each point became a central tool in 20th century mathematics and physics. Gauge theories in particle physics use fiber bundles. So do quaternion rotations in computer graphics. The Hopf fibration is the simplest non-trivial example of all of them.

Tips

Start with 8-12 fibers. The linking is hard to see when the structure is dense. Once the pattern clicks, increase the count.

Try the twist morphing animation and watch two specific fibers. They'll deform, but they'll stay linked. That persistence is the topology at work.

The colors map to positions on S². Fibers with similar colors are "nearby" on the base sphere. Opposite colors are far apart. This makes the torus structure visible: fibers of one color family group together on a single torus.

Further Reading