🌍 Public
Viewing a saved revision (read-only)
8d529d0b2ee14b0abdb69463ad63b55f
Menger Sponge
This interactive visualization renders a level 3 Menger Sponge fractal, a 3D shape formed by recursively removing the center cube from each face and the central cube of the remaining structure. The sponge is built with Three.js, using recursive grouping and `BoxGeometry` meshes with `MeshPhongMaterial` shading. The scene includes multiple lighting sources—ambient, directional, hemisphere, and point lights—to highlight the fractal’s deepening cavities. The model slowly rotates via an animation loop, while `OrbitControls` allow the user to rotate, pan, and zoom the view.
AI-generated description