Impact flash
three.js and WebGL · MIT
- What it does
Pulse a material's emissiveIntensity to a peak and tween it back in 0.22 s; for big events add a one-frame white overlay div fading over about 100 ms. Code is in the reference page, written for the starter but free of dependencies.
- Get it
flashHit(material, 2.4, 0.22);
- Needs (the whole pack)
Nothing to read the skills. To run what they build: Node and npm, Python 3 for the helper scripts, and Chromium through Playwright for the inspector and tests. Optional and paid: Tripo, Gemini and ElevenLabs keys for the three generator skills.
- License
MIT
- From