DECAY

reaction-diffusion meets signed distance fields

Decay — what if corruption was organic? Not noise injected into a signal but something that grows. Gray-Scott reaction-diffusion — the same math that patterns animal skins and coral reefs — runs on a WebGPU compute shader. But instead of generating patterns on a flat plane, the reaction colonizes the signed distance field itself.

Chemical B is the mold. Where it concentrates, the distance function erodes — geometry develops holes, edges blur into organic tendrils, surfaces invert. Click and drag to seed new colonies. Watch the field get consumed. The math is still running perfectly. It just serves a different master now.

COMPUTE / REACTION-DIFFUSION + SDF
backend: detecting... | click + drag to seed decay | geometry grows mold