Sphere-Tracing Fractal Lab: Distance Estimators of the Menger Sponge, Mandelbulb and Mandelbox (2D)
A horizontal slice through the same fractal drawn as a distance field, with one ray sphere-traced step by step: each circle has radius equal to the distance estimate, so you can see why the steps shrink near the surface. Plots of step distances, steps versus precision and error versus step factor. Same shared estimators as the 3D page.
Raymarch real distance-estimated fractals on a marble gallery pedestal: the Menger sponge with an exact folding estimator, the Mandelbulb and the Mandelbox. Change iterations, power or scale, the step safety factor, the hit precision and the step budget, and switch to a step-count heat map to see where rays are expensive. The fractal is shader code (kept light for phones); the pedestal and room are Blender models. Numerical checks verify the estimators against explicit membership tests.
A horizontal slice through the same fractal drawn as a distance field, with one ray sphere-traced step by step: each circle has radius equal to the distance estimate, so you can see why the steps shrink near the surface. Plots of step distances, steps versus precision and error versus step factor. Same shared estimators as the 3D page.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install