The field guide to infinite patterns

The mathematics of infinity, made visible.

Fractal

Famous Fractals

3D Fractals: Mandelbulb, Mandelbox & Beyond

In 2009, two hobbyists on an internet forum did what professional mathematicians had sought for decades: they extended the Mandelbrot set into three dimensions. Here is the story of the Mandelbulb, the Mandelbox, and the strange geometry of 3D fractal space.

A rendered Mandelbulb 3D fractal showing its bulbous, self-similar surface detail in deep relief
Illustration: Fractal

For roughly thirty years after Benoit Mandelbrot introduced the world to the fractal geometry of nature, mathematicians and computer artists shared a nagging ambition: push the Mandelbrot set into three dimensions. The 2D set — generated by the deceptively simple iteration zn+1 = zn2 + c on the complex plane — yields infinite boundary detail, iconic bulging cardioids, and an inexhaustible supply of miniature self-similar copies. Surely, the reasoning went, a 3D equivalent would be even more extraordinary.

The problem is algebraic. Complex numbers live on a 2D plane, so the Mandelbrot iteration maps neatly onto pixels. Three-dimensional space lacks an equivalent algebra: quaternions work in four dimensions, not three, and the algebraic structures that do exist in three dimensions lack the properties needed for a well-behaved Mandelbrot-like iteration. Dimension three, as one researcher put it, is the gap in the sequence — present in physical reality but absent from the algebraic roster.

The solution, when it came, did not arrive from a tenured professor or a well-funded lab. It came from two amateur mathematicians — Daniel White and Paul Nylander — collaborating on an internet forum called Fractal Forums, working through evenings and weekends over two years. What they found in 2009 is now known as the Mandelbulb: the most celebrated object in 3D fractal geometry, and the starting point for a family of three-dimensional fractal forms that has since exploded in variety and richness.

Key Takeaway: The Mandelbulb is not a mathematically exact 3D Mandelbrot set — no such thing can exist in the strict algebraic sense. It is instead the most successful approximation: a 3D fractal built using a spherical-coordinates extension of the Mandelbrot iteration, generating extraordinary self-similar surface detail across every scale of magnification.

How Was the Mandelbulb Discovered?

Daniel White began experimenting with 3D Mandelbrot extensions in November 2007, posting his progress to Fractal Forums, the premier online community for fractal artists and enthusiasts. His core insight was geometric rather than algebraic: rather than looking for a 3D number system that mirrors complex multiplication, he asked what the geometric operations implicit in complex squaring would look like if performed in spherical rather than polar coordinates.

In two-dimensional polar coordinates, squaring a complex number doubles its angle and squares its radius. White extended this idea to three dimensions: in spherical coordinates, a point is described by a radius r, a polar angle θ, and an azimuthal angle φ. White defined the “nth power” of a 3D vector v as:

vn  :=  rn  ⟨  sin(nθ)cos(nφ), sin(nθ)sin(nφ), cos(nθ)  ⟩

The iteration v  ↦  vn + c is then run in the same way as the Mandelbrot set: points whose orbit stays bounded are inside the object; points whose orbit escapes to infinity are outside, colored by escape speed. Paul Nylander refined the formula and rendered the first compelling images of the power-8 version in late 2009. A New Scientist article entitled “The Mandelbulb: first ‘true’ 3D image of famous fractal” brought the discovery to a global audience.

The power-8 Mandelbulbf(p) = p8 + c — quickly became the canonical form. Its eight-lobed body, honeycombed with increasingly fine tentacles and filaments, strikes an almost organic balance between global structure and microscopic detail. As White himself noted to New Scientist, the form is still not a perfect 3D fractal: “There are still ‘whipped cream’ sections, where there isn’t detail.” The iteration does not preserve conformality the way complex-number multiplication does in 2D, so some surface regions remain smoother than others. But the overall structure — self-similar, inexhaustible, and visually arresting — captured the imagination of the mathematical world immediately.

Several contributors beyond White and Nylander were instrumental in the early development. Thomas Ludwig was the first to render the power-2 Mandelbulb in early 2008. David Makin contributed formula work alongside Nylander. Later, Jérémie Brunet, Krzysztof Marczak, and Johan Andersson extended the software ecosystem that made high-quality Mandelbulb rendering accessible to artists worldwide.

Mandelbulb Power Variants at a Glance
Power (n) Lobes Visual Character Notes
2 2 Rounded, sphere-like First rendered by Thomas Ludwig (2008); least surface fractal detail
3 3 Tricorn-adjacent Smooth polar caps; transitional form between sphere and classic bulb
8 8 Classic Mandelbulb Canonical form; best balance of global structure and surface detail
9 9 Spiky, elongated Rational polynomial simplification possible; highly detailed equator band
12+ 12+ Increasingly spindly Rich surface lacework; slow to render at depth; exotic lobal geometry

What Is the Mandelbox, and How Does It Differ from the Mandelbulb?

A year after the Mandelbulb made headlines, a different kind of 3D fractal appeared — one with a radically different construction and aesthetic. In 2010, Tom Lowe discovered the Mandelbox and published it at his own website. Where the Mandelbulb is organic and bulbous, the Mandelbox is angular and architectural: box-like, riddled with recursive corridors and chambers that evoke a ruined cathedral, a coral reef, or an alien city depending on the scale parameter chosen.

The Mandelbox is an escape-time fractal generated by iterating a two-stage geometric transformation:

  1. Box fold: Each coordinate is reflected back toward the origin if it exceeds a defined limit (±1 by default). Think of folding a strip of paper at a crease — the portion that overshoots folds back in.
  2. Sphere fold: Points inside a minimum radius are pushed outward (inverted through the inner sphere); points between the minimum and maximum radius are inverted through the outer sphere. Points beyond the maximum radius are unaffected.

After both folds, the vector is scaled by a parameter s and the initial point c is added: zn+1 = s · fold(zn) + c. The standard Mandelbox uses s = 2. Changing this single scale parameter transforms the object dramatically — from a compact box at s = 2 to a wispy, foam-like structure at s = −1.5, a value notable for containing approximations of many other well-known fractals nested inside it.

One crucial distinction sets the Mandelbox apart from both the Mandelbulb and the 2D Mandelbrot set: it is technically a map of continuous Julia sets. Each location within the object corresponds to a different Julia set with its own unique character, meaning the fractal varies qualitatively — not just in scale — as you explore it. This also means the Mandelbox can be defined in any number of dimensions: a 2D Mandelbox, a 4D Mandelbox, and higher-dimensional variants all follow from the same folding logic, making it perhaps the most generalizable member of the Mandelbrot family.

How Are 3D Fractals Actually Rendered on a Computer?

Rendering a 2D fractal like the Mandelbrot set is conceptually straightforward: color each pixel based on the escape behavior of its corresponding complex number. A 3D fractal cannot be rendered this way — it occupies volumetric space, and traditional polygon-based rendering pipelines have nothing to work with because the surface is defined only implicitly, by a mathematical iteration condition, not by a mesh of triangles.

The technique that makes 3D fractal rendering possible is called distance-estimated ray marching, developed and popularized in the fractal community largely through the influential blog series Distance Estimated 3D Fractals by Mikael Hvidtfeldt Christensen (Syntopia). The algorithm works as follows:

  1. For each pixel, fire a ray from the camera into the scene.
  2. At the current ray position, evaluate a distance estimator — a formula that approximates the minimum distance to the fractal surface from the current point.
  3. Step the ray forward by (approximately) that distance. Because you stepped at most as far as the nearest surface, you cannot overshoot into the object.
  4. Repeat until the estimated distance falls below a threshold (you have reached the surface) or exceeds a maximum (the ray missed everything and exits the scene).

The elegance of distance estimation is that it renders the true mathematical surface at any scale, not a polygon approximation. Zoom into a Mandelbulb render by a factor of a trillion and the surface remains crisp, because the computation simply runs more iterations to resolve the finer detail. The trade-off is compute time: a single high-resolution Mandelbulb render with deep ambient occlusion and volumetric lighting can take hours on a CPU or minutes on a modern GPU.

Two free software packages dominate the 3D fractal rendering community:

  • Mandelbulb 3D (MB3D) — Created by Jesse and contributors at Fractal Forums, based on White and Nylander’s work. Offers a large formula library, professional lighting presets including screen-space ambient occlusion, depth-of-field, and volumetric fog. Supports formula hybridization (stacking and blending multiple formulas per render). The most widely used 3D fractal creation tool by community output volume.
  • Mandelbulber — Open-source, created by Krzysztof Marczak. Available on Windows, Linux, and Mac. Supports OpenCL GPU preview. Covers Mandelbulb, Mandelbox, Menger Sponge, Quaternion fractals, IFS, and more. Strong choice for scripting and batch-render automation.

Why Do 3D Fractals Capture the Mathematical Imagination?

Part of the answer is purely aesthetic. The Mandelbulb occupies a peculiar visual register: it looks simultaneously natural and impossible. Its surface resembles coral, or Romanesco broccoli, or an eroded desert formation — textures that human perception is calibrated to recognize as organic and real. Yet it is generated by a handful of arithmetic operations, contains no material, grows from no evolutionary process, and repeats its structure at every scale without limit. The brain processes it as something familiar while simultaneously failing to place it in any known category.

This perceptual puzzle is related to what physicist Richard Taylor at the University of Oregon has documented for 2D fractals: human visual systems appear attuned to fractal patterns found in nature, and mid-complexity fractals consistently reduce physiological stress markers in experimental subjects. Taylor’s research was conducted on 2D images, but the same attunement may extend to three-dimensional forms — and the Mandelbulb, with its natural-seeming surface complexity, may activate precisely that response.

There is also a deeper mathematical fascination. The Mandelbulb and Mandelbox opened a territory that researchers are still actively mapping. Hybrid fractals — built by alternating iterations between two or more formulas within a single render — produce objects with characters alien to either parent. A BulbBox hybrid (alternating Mandelbulb and Mandelbox iterations) generates sea-floor-like formations neither formula produces alone. Generalized quaternion Mandelbrot sets in four dimensions can be sliced through 3D hyperplanes to reveal cross-sections with their own intrinsic fractal character.

Beyond art, recent academic work has begun treating the Mandelbulb as a serious mathematical object. A 2022 paper by Javier Barrallo and Daniel White, published in the journal Fractals and available as a preprint on arXiv, analyzes the algebraic foundation of the Mandelbulb construction, situating it within the theory of commutative unital magmas and clarifying its relationship to the 2D Mandelbrot set. The object that began on a hobbyist forum is acquiring rigorous mathematical scaffolding.

For the mathematical foundation that underlies all of this — how the Mandelbrot set generates its boundary complexity through escape-time iteration on the complex plane — or how fractal dimension quantifies surface roughness across scales, those articles provide the grounding context on which 3D fractal geometry builds.

What Other Notable 3D Fractals Exist Beyond Mandelbulb and Mandelbox?

The Mandelbulb and Mandelbox are landmarks, but the landscape of 3D fractals is considerably broader. Each of the following objects represents a different mathematical principle applied to three-dimensional space:

  • Quaternion Julia Sets: Computed in four dimensions and sliced into 3D hyperplanes, these produce smooth, cloud-like or tentacled forms. Because quaternion algebra is well-defined, these are mathematically closer to the “true 3D Mandelbrot” idea than the Mandelbulb — but they lack the intricate surface lacework of White and Nylander’s construction.
  • Menger Sponge: A classical construction that iteratively removes cubic sub-volumes from a cube. Unlike the Mandelbulb, it is exactly self-similar and has a precisely calculated fractal dimension of log(20) ÷ log(3) ≈ 2.727. See our full article on the Menger Sponge for the mathematical details of its paradoxical zero-volume, infinite-surface-area properties.
  • IFS 3D Fractals: Michael Barnsley’s iterated function system framework extends to three dimensions to produce fractal ferns, trees, and tetrahedra in volumetric space, all generated from sets of affine transformations.
  • Strange Attractors in 3D: The Lorenz attractor — the original “butterfly” of chaos theory, tracing the path of a chaotic dynamical system through phase space — is a fractal object with a Hausdorff dimension of approximately 2.06, slightly above a 2D surface. It lives in 3D space but never fills it, endlessly weaving a fractal thread around two unstable equilibria.
  • Fractal Terrains: Midpoint displacement and diamond-square algorithms use fractal Brownian motion noise to generate the convincing mountain landscapes ubiquitous in film and game environments since the 1980s. The terrain is a 3D fractal surface, but one designed for visual plausibility rather than mathematical purity.

The common thread across all of these objects is the fractal principle itself: a simple rule, iterated, generating complexity that cannot be compressed into a shorter description. Whether the rule is a complex-number quadratic, a geometric fold, a system of affine transformations, or a set of differential equations, the outcome is structure at every scale — the signature fractals leave on three-dimensional space, as reliably as they leave it on the plane.

Frequently asked

What is the Mandelbulb 3D fractal?

The Mandelbulb is a three-dimensional fractal created in 2009 by Daniel White and Paul Nylander. It extends the 2D Mandelbrot set into 3D space using a spherical-coordinates version of the Mandelbrot iteration: for each point, radius is raised to power n and angles are multiplied by n, then a constant is added. The most widely rendered version uses n = 8, producing an eight-lobed body covered in intricate, infinitely fine surface detail resembling coral or eroded stone. Unlike the Mandelbrot set, the Mandelbulb is not a canonical algebraic 3D Mandelbrot — no exact analogue exists in three-dimensional space — but it is the most visually compelling approximation yet found. It was introduced to a global audience via a New Scientist article in November 2009.

What is the difference between the Mandelbulb and the Mandelbox?

Both are 3D escape-time fractals, but they are built from entirely different mathematical operations. The Mandelbulb uses a spherical-coordinates power operation — raising a 3D vector to the nth power by scaling its radius and multiplying its angles — applied as a Mandelbrot-style iteration. The Mandelbox, discovered by Tom Lowe in 2010, uses alternating box folds (reflecting coordinates that exceed ±1 back toward the origin) and sphere folds (inverting points based on their distance from the origin), scaled by a parameter s. Visually the Mandelbulb is organic and bulbous; the Mandelbox is angular and architectural. Mathematically, the Mandelbox is a map of continuous Julia sets and can be defined in any number of dimensions, making it the more algebraically general object.

Why does a true 3D Mandelbrot set not exist?

The Mandelbrot set is defined by iteration on the complex numbers, a 2D algebraic system where multiplication corresponds to rotation and scaling in the plane. A true 3D equivalent would require an analogous 3D algebra — but no such algebra with the necessary properties exists. The next algebraic structure in the sequence after complex numbers is quaternions, which live in four dimensions, not three. Three-dimensional algebras do exist mathematically, but they lack the conformality and consistency that make the 2D Mandelbrot iteration so well-behaved. The Mandelbulb bypasses this constraint using a spherical-coordinate geometric approach rather than a true algebraic one, producing extraordinary visual results at the cost of some mathematical purity. Research published in the journal Fractals (2023) formally analyzed this algebraic gap.

How are 3D fractals like the Mandelbulb rendered on a computer?

3D fractals cannot be rendered as polygon meshes because they have no finite surface description — they are defined purely by a mathematical iteration condition. The standard technique is distance-estimated ray marching: for each pixel, a ray is cast into the scene, and at each step a distance estimator computes the approximate minimum distance to the fractal surface. The ray steps forward by that distance (so it cannot overshoot), and the process repeats until the ray either hits the surface or misses entirely. This renders the true mathematical surface at any zoom level with crisp detail. Free software tools like Mandelbulb 3D and Mandelbulber implement this algorithm with full lighting, shadows, ambient occlusion, and fog controls.

Who invented the Mandelbulb and when?

Daniel White began the Mandelbulb project in November 2007, posting his experiments to the Fractal Forums community online and publishing his spherical-coordinates formula on his personal website. Paul Nylander (forum handle “Bugman”) refined the formula and rendered the first high-quality images of the power-8 form in 2009. Other early contributors include Thomas Ludwig, who first rendered the power-2 version in early 2008, and David Makin, who contributed formula work alongside Nylander. The Mandelbulb reached a mainstream audience in November 2009 when New Scientist published an article calling it the first ‘true’ 3D image of a famous fractal, spreading the discovery worldwide.

Can I create my own 3D fractal renders at home?

Yes — and the tools are free. Mandelbulb 3D (MB3D), developed by Jesse and contributors from Fractal Forums, is the most widely used 3D fractal creation application. It supports dozens of formulas including the Mandelbulb, Mandelbox, Menger Sponge, and hybrid combinations, with a lighting and color system capable of producing gallery-quality renders. Mandelbulber, created by Krzysztof Marczak, is an open-source alternative supporting GPU acceleration via OpenCL and available on Windows, Linux, and Mac. Both use distance-estimated ray marching. A mid-range gaming PC can produce a good-quality Mandelbulb image in a few minutes; high-detail renders with deep ambient occlusion may take hours.

What is the fractal dimension of the Mandelbulb?

The precise Hausdorff fractal dimension of the Mandelbulb surface has not been definitively established in the mathematical literature, because the non-conformal nature of the spherical-coordinates construction makes rigorous analysis difficult. In smooth surface regions the Mandelbulb behaves as a 2D manifold embedded in 3D space; in the detailed, lacework-filled regions the surface exhibits fractal roughness. For comparison, the boundary of the 2D Mandelbrot set has a Hausdorff dimension of exactly 2 (proven by Mitsuhiro Shishikura in 1998), while the classically constructed Menger Sponge has a precisely computed dimension of log(20) ÷ log(3) ≈ 2.727. The Mandelbulb surface is believed to approach maximal complexity for a surface in 3D space, but rigorous proof remains an open mathematical problem.