Element Lab
A growing set of WebGL scenes, each wrapped in a drop-in HTML tag.
Write <lab-scene name="driftfield"> and it runs.
So far there are five: a quarter-million particles simulated entirely
on the GPU, a raymarched surface with no geometry in it at all, a
noise-displaced mesh that rebuilds its own normals, an instanced field
built to sit behind a headline, and an orrery that puts the planets
where they actually are today using NASA/JPL orbital data.
- Three.js
- GLSL
- Web Components