Skip to content
Back to the surface

Mandelbrot Odyssey

A real-time explorer of the Mandelbrot set, down to a magnification of 10³⁰⁰.

10³⁰⁰
zoom depth
1,030
bits per orbit
89 G
iterations per second
Role
Solo
Stack
TypeScriptWebGL2GLSLWeb Workers
Mandelbrot Odyssey

The idea

A browser explorer of the Mandelbrot set that zooms smoothly to a magnification of 10³⁰⁰, far beyond what floating-point numbers can reach on their own.

It started in 2023 as a Python script that rendered a zoom film to 10¹⁸ in hours. In 2026 I rebuilt it as an interactive application.

The whole set
The whole set. The index of places and colours on the right, the depth gauge from 10⁰ to 10³⁰⁰ on the left, and the lens with the Julia set of the point under the pointer.

What's inside

  • GPU rendering in WebGL2 with perturbation theory: one reference orbit in arbitrary precision (BigInt fixed point, up to 1,030 bits), every pixel as a small offset in float32, plus bilinear approximation (BLA) to skip millions of iterations
  • Smooth motion: a frame budget that lowers the resolution while you move, then sharpens with up to 12 samples per pixel
  • The Odyssey: eight short chapters that fly to each place and check a small task live
  • A mathematical atlas: Julia set of the point under the pointer, components found by Newton's method, external rays and Lavaurs' diagram, π in seahorse valley
  • An endless dive from minibrot to minibrot, each about twice as deep as the last
  • The orbit as sound, and films recorded in Full HD MP4 directly in the browser
  • Other worlds: Burning Ship, Tricorn, Multibrots, and a Buddhabrot computed on every processor core
  • 107 tests, and one-command installers for Linux and Windows tested on every push by GitHub Actions

Inside the explorer

The endless dive, 10⁵¹ times closer
The endless dive, 10⁵¹ times closer. A copy of the whole set of period 487, 1.8 × 10⁵¹ times closer, drawn with 151,100 iterations per pixel.
The bottom of the map, 10²⁹⁰
The bottom of the map, 10²⁹⁰. The dendrite at c = i, 4.5 × 10²⁹⁰ times closer, computed with a reference orbit of 1,030 bits.
The atlas
The atlas. The bulb of period 3, its Julia set (Douady's rabbit), the external rays 1/7 and 2/7 that land at its root, and Lavaurs' diagram.
The Odyssey, chapter III
The Odyssey, chapter III. Each chapter flies to its place, turns on the layers that explain it and checks its task live: here, finding a bulb of period 5.
Other worlds
Other worlds. The Burning Ship, the Tricorn, the Multibrot of z³, and the Buddhabrot, counted orbit by orbit on every core.
Relief
Relief. Seahorse valley lit as a landscape, at any depth.
π in the Mandelbrot set
π in the Mandelbrot set. Near c = −3/4, the number of steps before escape, times the distance, tends to π, digit after digit.

Under the hood

TypeScript, WebGL2 and GLSL, Web Workers, Web Audio, WebCodecs, Vite, Vitest and GitHub Actions.