Mathematical Foundations of Mandelbox Fractal
Discovered by Tom Lowe in 2010, the Mandelbox replaces the polynomial squaring of the Mandelbrot Set with two geometric folding operations: a cubic Box Fold that reflects coordinates across the ±1 cube faces, followed by a spherical Ball Fold (inversion across concentric spheres of radius r_min and 1) and linear scaling by s.
Self-similar fractals exhibit recurring geometric structure across scales, governed by Iterated Function Systems (IFS), Lindenmayer L-System rewriting rules, or recursive spatial subdivisions. Every geometry calculation, 2× HiDPI canvas pass, progressive animation frame, and lossless SVG vector export executes natively inside your browser at 60 FPS with zero server latency.
Box-Fold & Sphere-Inversion Dynamics
1. Box Fold across [-1, 1]³:
boxFold(u) = (u > 1 ? 2 - u : (u < -1 ? -2 - u : u))
2. Spherical Inversion across [r_min, 1]:
ballFold(v) = r² < r_min² ? v / r_min² : (r² < 1 ? v / r² : v)
3. Affine Update:
v_{n+1} = s · ballFold(boxFold(v_n)) + c
Unlike the organic bulbs of the Mandelbrot set, the Mandelbox looks like an alien mechanical megastructure. Negative scales (such as s = -1.5) contain local subsystems mimicking the Apollonian Gasket, Koch Snowflake, Menger Sponge, and Sierpinski Triangle all within a single formula!
Iteration Scaling & Complexity Table
| Iteration / Setting | Elements / Size | Geometric Property |
|---|---|---|
| Scale s = −1.50 | Continuous Mandelbox | Contains Apollonian circles & Koch arches |
| Scale s = −2.00 | Exact Borg Cube | Self-similar orthogonal industrial lattice |
| Scale s = −1.75 | Cathedral Filigree | Ornate arched colonnades & domes |
| Scale s = +2.20 | Positive Mandelbox | Cantor-like crystalline struts |
Applications in Science, Graphics & Engineering
Geometric Inversion & Folding Maps
Demonstrates how combining piecewise-linear reflection (boxFold) with conformal inversion (ballFold) generates infinite architectural complexity.
3D Tomographic Cross-Sections
Slide the 3D Cross-Section Z-Plane from -1.50 to +1.50 to perform a live CT scan through the interior chambers of the 3D Mandelbox.
Universal Fractal Zoo
Zooming into different regions of the s = -1.5 Mandelbox reveals local approximations of at least a dozen classic fractals.
Sci-Fi Concept Art & Texture Generation
Export high-contrast architectural cross-sections as 2× Retina PNG or SVG textures.
Interactive Controls, Pan/Zoom & Vector Export
Sweep the Scale Factor s from -2.80 to +2.80, slice through the 3D volume with the Cross-Section Z-Plane slider, and scroll to zoom into the internal Apollonian arches.
Export crisp 2× Retina PNG renders for presentations or scalable infinite-resolution SVG files directly into Illustrator, Figma, Inkscape, LaTeX, or laser-cutting workflows.