Instanced shadersA custom fragment shaderStart small: a typed Rust instance, a rounded shape and a fragment shader.Open demo ↗WebGPUWebGL2
Instanced shadersGlowing badgesOne hundred individual badges, sharing a shader program and one animated glow.Open demo ↗WebGPUWebGL2
Instanced shadersParticle fieldExplore 100 to 10,000 particles. Adjust opacity and pause the motion.Open demo ↗WebGPUWebGL2
Instanced shadersOrder, clipping & opacitySee how shader shapes interleave with native quads and respect a shared clip.Open demo ↗WebGPUWebGL2
Instanced shadersGradient shadowsCompare native shadows with colored falloff. Adjust spread, offset and softness.Open demo ↗WebGPUWebGL2
Instanced shadersSoft animated bordersOrbiting highlights on an interactive pill, with a soft blue and peach glow.Open demo ↗WebGPUWebGL2