Loading three.js. If this note stays, the browser could not load or start it (WebGL may be switched off: Settings > System > "Use graphics acceleration when available").
The Mandelbrot set is the set of points c of the plane whose orbit z → z2 + c stays bounded. The plane has a natural multiplication, so the formula makes sense there; space does not, and for thirty years there was no 3D Mandelbrot set. Fractint, from the early 1990s, could not draw one: its quaternion and hypercomplex types are four-dimensional, and it drew them as flat slices. Here each fractal is a solid: space is cut into a grid of small cubes (voxels), the orbit of each cube's center is followed, and the cubes that stay bounded are drawn, as a surface you can turn.
The Mandelbulb (Daniel White and Paul Nylander, 2009) writes a point in spherical coordinates and raises it to a power p the way a complex number is: the distance to the pth power and both angles multiplied by p. Power 8 is the classic cauliflower with its eight-fold lobes; the power sets how many lobes. The Mandelbox (Tom Lowe, 2010) does not square anything: it reflects each coordinate back into a box, inverts what is inside a sphere, then scales and adds c. The quaternion sets use Hamilton's quaternions, four numbers with a non-commutative product, iterated as q → q2 + c. In the Julia set c is fixed and q starts at the point; in the Mandelbrot set q starts at 0 and c is the point. Either is a set in four dimensions, and a 3D picture of it is a slice: the solid is the part of it in a hyperplane, which the slice slider moves along the fourth axis. With the slice at 0 the Mandelbrot set is the ordinary Mandelbrot set spun round the real axis into a solid of revolution (it depends only on the real part of c and the length of the rest), standing upright here, and the same for a Julia set whose c is on the real-imaginary plane. The three tilt sliders turn the hyperplane itself in the 1-k, i-k and j-k planes, around the middle of the box, so the solid is a different cross-section of the same four-dimensional set: tilt the Mandelbrot hyperplane toward the real axis and it is no longer a solid of revolution.
The grid is tested at the center of each voxel, so the surface is stepped, and the iterations decide how much of the fine fringe is kept (more iterations shrink the solid toward the true set). A big grid takes time: a coarse 48 × 48 × 48 picture appears at once and is replaced by the chosen resolution as it is computed. Cut removes the part of the solid from the right, to look inside, and color by paints the height or the distance from the middle through any of the palettes. The page is built on the same voxel helper as the Julibrot.
This page was created with Claude Code.