40,400 hand-raised particles pretending to be the world's most relaxed rodent
Hydrochoerus hydrochaeris — the capybara — is the largest, calmest rodent on Earth. This page is a small shrine to it, built in the style of a point-cloud / gaussian-splat viewer, except every splat is grown from math instead of scanned.
The capybara is a set of superellipsoids (body, head, snout, ears, four submerged legs) sampled into 40,400 fur particles with analytic normals for fluff direction. A custom GLSL vertex shader gives it breathing, ear flicks, blinking, nose wiggles, a boop shockwave, and the nebula-to-rodent assembly you saw on load.
Water is a 140×140 grid displaced by four analytic waves plus ten interactive ripple slots — clicks, yuzu splashes and the capybara's idle bobbing all write into the same uniform array. Sky, stars, sun and moon are one fragment shader on an inverted sphere. Post-processing is written from scratch: bright-pass bloom, filmic tonemap, chromatic edges, vignette, animated grain.
All audio is synthesized live with WebAudio — filtered noise for the water bed, and a small stack of oscillators in a trenchcoat for the boop-meep and the yuzu plop. No audio files were harmed.
one html file · three.js r128 · everything else handmade