Shogo Oshima

Web Developer

Sketches
GitHub X

#275Sierpinski Variations

A raymarched fractal that cycles through three folded distance estimators — a Menger sponge (the carpet in 3D), a Sierpinski tetrahedron (the triangle), and an octahedral flake — each built by iterated reflect-and-scale folds in the fragment. The form slowly auto-rotates while the active fold count pulses on a loop, so the surface visibly coarsens to a few big cells and refines back to dense self-similar detail, lit high-contrast with a soft depth glow from the near misses of the sphere trace. The pointer steers the rotation, scrolling drives the iteration depth, and a press advances the variant.