SF/07 · Seed 6

Gyroid Lantern

A minimal surface cut into a sphere and lit from within.

Sphere tracing inside a bounding ball: a gyroid shell, clipped to a sphere, is lit by an emissive core and a cool key light. The seed sets cell size, wall thickness and metal.

Palette · Night blue / brass / ember
Interaction · Pointer orbits the camera · press to flare the core
Runtime · WebGL2 / fragment shader

Seed 6
Loading…
6.00 s
GLSL ES 3.00
Remix in playground
Export a loop

Keys outside the editor: F fullscreen · Space play or pause · R reseed

The source above is the complete fragment shader. Changes remain in this tab unless you take them to the playground. Download the original GLSL.