FractalPark
ClassiqueMoyen

Mandelbox

Une application pli-et-échelle inspirée du Mandelbox de Tom Lowe (2010) : réflexions en boîte, pliage radial et mise à l'échelle transforment une itération en pièces et en murs.

Ouvrir dans l'Explorateur
Carte Mandelbox bidimensionnelle avec des chambres aux arêtes franches et des renfoncements imbriqués façon forteresse, dans des bleus froids
La carte inspirée du Mandelbox de FractalPark : murs droits, angles droits et renfoncements en couches comme l'intérieur d'une forteresse cristalline.

Vue d'ensemble

La plupart des formules fractales commencent par une mise au carré, comme z² + c. Le Mandelbox choisit une autre voie : un pli en boîte renvoie les coordonnées situées hors d'un cube fixe vers ses faces ; un pli radial, ou pli en boule, inverse ensuite ou met à l'échelle un point selon sa distance à l'origine ; une échelle uniforme étire ou compresse le résultat avant d'ajouter c. Répète la séquence et ce sont les plis — pas la mise au carré — qui construisent la structure.

Les réflexions et les inversions n'exigent pas un nombre particulier de dimensions, la construction fonctionne donc dans n'importe laquelle. FractalPark dessine une variante bidimensionnelle qui conserve le même cœur pli-et-échelle dans le plan complexe.

Cette carte de paramètres ne s'adoucit pas en courbes familières de polynômes. Elle découpe des chambres aux arêtes franches, des fortifications imbriquées et des passages qui semblent tirés d'un plan d'architecte. Sa frontière sépare les orbites bornées — celles qui restent à portée — des orbites en fuite. Zoome et le bord dentelé, auto-similaire, ramène le motif de la boîte à plus petite échelle.

Les mathématiques

Fold-and-scale iteration

z(n+1) = scale times ballFold(boxFold(z(n))) + c

Each round puts the orbit through four moves: box fold, radial fold, scale, then a shift by c.

The box fold handles one coordinate at a time. Take a component a of z. Above 1, it reflects as a → 2 − a; below −1, as a → −2 − a. Components in [−1, 1] stay put. The outer plane folds back into the central square.

Next comes the ball fold, checking the squared magnitude r² = |z|². If r² < 0.25 (|z| < 0.5), scale the point by 4 and push it away from the origin. If 0.25 ≤ r² < 1, invert it through the unit sphere: z → z/r², so a radius of m becomes 1/m. Points with r² ≥ 1 stay put. The near points move outward; the middle band turns across the unit sphere. These moves make the unsettled interface behind the Mandelbox's boxy layers.

Try z₀ = (1.5, 0) with scale s = 2. The box fold reflects x = 1.5 to x = 0.5. Since r² = 0.25 falls in the middle band, the ball fold inverts it: z = z/r² = (2, 0). Scaling by 2 gives (4, 0), and adding c completes the step. Start at the origin instead and you are in the innermost band: the ball fold multiplies it by 4—still the origin—so the first iterate lands exactly on c.

Histoire

The Mandelbox was first presented by Tom Lowe (known online as Tglad) in early 2010 on the FractalForums community. Lowe was experimenting with iterative folding operations in three dimensions — box reflections and spherical inversions — to see whether they could produce bounded, self‑similar structures analogous to the Mandelbrot set. The results were immediately recognised as a new class of fractal, and the name "Mandelbox" was adopted both as an homage to the Mandelbrot set and because of the boxlike shape of the set when visualised.

The discovery followed closely on the 2009 Mandelbulb by Daniel White and Paul Nylander, which had sparked renewed hobbyist interest in finding non‑trivial 3D fractals. Within months, contributors on FractalForums — including Knighty, Jesse, and others — extended the Mandelbox idea to different symmetry planes and polyhedral folds.

Despite its popularity in fractal art software (Mandelbulber, Mandelbulb3D, Fragmentarium, Ultra Fractal), the Mandelbox has received relatively little formal mathematical analysis. One of the few peer‑reviewed treatments is Gregg Helt's 2018 Bridges Conference paper, which generalises the spherical inversion step to arbitrary shape inversions.

Caractéristiques visuelles

Repeated folds produce hard-edged chambers, nested fortifications, and corridors with depth. The default parameter s = 2 gives the structure straight walls, right-angle corners, and layered recesses like the inside of a crystalline fortress.

At finer scales, the box theme returns: small copies of the overall shape appear in recesses and along boundaries, all with the same rectilinear geometry. The canonical image uses cool blues and cyans, which suit the mechanical geometry of the folds.

Paramètres

Échelle
Scale sets how strongly the folded orbit expands or reverses before c is added. A scale of 2 (the default) roughly doubles the folded value; negative values reverse direction and produce mirror-image variations.

Remix et exemples

Pars du Document canonique

Ouvre le même état de formule approuvé utilisé par ce guide, puis modifie la vue, la colorisation, les transformations ou l'animation dans l'Explorateur interactif.

Questions fréquentes

What are box and ball folds?

A box fold reflects coordinates outside a fixed interval toward the origin—like folding a sheet’s edges inward. A ball fold (or sphere fold) makes a conditional inversion: points too close to the origin are pushed outward, points at an intermediate distance invert through a sphere, and distant points remain unchanged. Together they redirect the orbit at every step and make the Mandelbox’s layered geometry.

Is this the three‑dimensional Mandelbox?

No. FractalPark renders a two-dimensional map inspired by the same fold-and-scale construction. The original Mandelbox is most often explored in 3D, where the box fold reflects across a cube’s faces; here the same logic works in the complex plane with a square boundary.

Références