Journal // Diskont

Folding space into a box: how a Mandelbox is made

The Mandelbrot set is flat. For decades people looked for a true 3D version, and in 2010 Tom Lowe found one that works in a different way: the Mandelbox. It doesn't use complex numbers at all. It takes a point in space and folds it, again and again, until the space itself turns into architecture.

The Diskont collection is 13 close-ups of one Mandelbox. Here is how it is made.

Diskont: the near corner of a Mandelbox up close, blue halls and stairs with amber light inside
DiskontSee the print →

01Fold into a box

Take any point in space. If it sits outside a cube of size 2, reflect it back inside, like folding paper over the edge of the cube. Points already inside stay where they are.

z = 2 * clamp(z, -1, 1) - z

02Turn it inside out in a sphere

Now look at how far the point is from the centre. If it is inside the unit sphere, push it outward by inverting it: a point at half the radius goes to twice the radius. Points very close to the centre get a fixed push instead, so nothing blows up.

This is what makes the round arches and the lace. The box fold gives the straight walls, the sphere gives the curves.

Plaza: the top face of a Mandelbox, a square plaza in a ring of violet arches
PlazaSee the print →

03Scale and repeat

Multiply the result by a scale factor and add the starting point back. Diskont uses a scale of -2.5 or -3. The minus sign mirrors the space on every step, which is why the structure looks symmetric from every side.

Do all of that 12 times. Each round folds the previous folds, so every arch has smaller arches inside it, down to the size of a pixel.

Coral: a very close view of the Mandelbox corner, violet branches and pink light
CoralSee the print →

04Find the surface

After 12 folds, some points have stayed close to the centre and some have flown away. The Mandelbox is the set of points that stay. The surface you see is the edge between the two.

To draw it, every pixel sends out a ray. The fold tells you roughly how far the ray is from the nearest surface, so the ray jumps forward by exactly that much, safely, and repeats until it is closer than one pixel. This is called ray marching, and it is how the whole image is drawn without a single polygon.

05Light and colour

The camera is isometric: no perspective, parallel rays, turned 45 degrees and tilted 35.26 degrees, the same angle as an architect's drawing. That's why the pieces read like plans of an impossible building. Three of them (Furnace, Hallway, Chapel) use a 24 mm lens instead and step inside the corridors.

The light is a studio setup: a key light, a soft fill and a rim light, plus a warm light hidden inside the box that shines out through the holes.

The colour comes from the maths too. While a point is being folded, the code remembers how close it ever came to the centre. Points that came very close get the warm amber, the others stay in the deep base colour. So the glow follows the structure, not a brush.

Furnace: inside a Mandelbox corridor through a 24 mm lens, three arcs of light over a glowing core
FurnaceSee the print →

06Why close-ups

Seen whole, a Mandelbox looks like a small cube floating in space. Up close it never ends: corridors, plazas, altars, rooftops. Every piece in Diskont is a crop that runs past every edge of the frame, like a window into one part of the same building.

07Made with code

Diskont is one shader of about 250 lines. The renders are made in tiles and stitched together, because the parallel camera lets tiles join without a seam.

All 13 Diskont posters: Mandelbox close-ups in blue and amber, violet and pink, and red
The Diskont collection, 13 pieces

Diskont is in the shop now: see all 13 Mandelbox prints →

SERIES L // MANDELBOX

Mandelbox fractal posters

All Diskont (13) →
Diskont - Diskont Diskont Diskont from €39 · ≈ $45 Diskont - Plaza Plaza Diskont from €39 · ≈ $45 Diskont - Furnace Furnace Diskont from €39 · ≈ $45 Diskont - Portal Portal Diskont from €39 · ≈ $45 Diskont - Orchid Orchid Diskont from €39 · ≈ $45 Diskont - Altar Altar Diskont from €39 · ≈ $45 Diskont - Hallway Hallway Diskont from €39 · ≈ $45 Diskont - Coral Coral Diskont from €39 · ≈ $45

✓ Added to cart

Subtotal
Shipping