radiance: pointer/touch-reactive particles

Stable-fluids solver (velocity + dye) stirred by mouse/touch drives a GPU
spring system over all ~65k particles: they swirl with the flow, heat up
and flare while disturbed, then spring home. The sky shader leans and
washes with the flow. WebGL2; falls back to the static orb without float
render targets, and to a CSS orb without WebGL2.
This commit is contained in:
dangrubbb
2026-10-22 20:23:09 -04:00
parent 20d848623f
commit 0cd5d4c27c
2 changed files with 667 additions and 175 deletions

View File

@ -27,6 +27,7 @@ img { display: block; }
/* ---------- hero ---------- */
.hero {
touch-action: none;
position: fixed; inset: 0;
background:
radial-gradient(115% 80% at 50% 40%, transparent 45%, rgb(251 188 166 / 0.65) 100%),