GLSL · Vertex shader · Points
Particle morph
12,000 GPU particles morphing between my name, a car and a sphere. Move the cursor to scatter them. How it works
- Each particle stores three target positions as vertex attributes; the shader blends them.
- Text targets are sampled from a 2D canvas rasterisation, so any word works.
- The CPU only animates three blend weights and the pointer all 12k positions move on the GPU.