Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Renders a real-time raymarched 3D hero of soft-shadowed morphing metaballs in a single WebGL index.html.
Use this skill ↓73% 68%−5 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 16 of 22 without it.
3 of 3 safety checks passed
Not used yet
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Produce a single self-contained index.html that renders a real-time 3D scene entirely in a fragment shader via sphere tracing, full-screen, with a clean typographic overlay on top.
OpenDesign detects getContext('webgl2') and renders this file in powered preview — a cross-origin-isolated iframe with allow-same-origin. The full GPU pipeline is available; you do not need to work around the opaque sandbox.
webgl-raymarched-hero/
├── SKILL.md ← you're reading this
└── example.html ← a working SDF metaball raymarcher (READ FIRST)
Read example.html end to end. Note the shape: one fullscreen triangle; a map(p) signed-distance function that smooth-unions (smin) several moving spheres; normals by finite differences; a softShadow march; and a camera built from ro/ta with a slow orbit. Shading = diffuse × soft shadow + fresnel rim + a tight specular.
Keep the marcher cheap so it holds 60fps:
smin — organic, always readable.index.htmld < 0.001) and on far distance; clamp DPR to ~1.5 — raymarching is per-pixel heavy.pow(1 - dot(n,-rd), 3)), and one specular lobe. Gentle gamma at the end.#63fe13 and rims it in teal).Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.