Camera kick and FOV punch
three.js and WebGL · A camera move · MIT
- What it does
Add 4 to 8 degrees of field of view on a boost or a hit and let it decay with a 0.2 s time constant; remember updateProjectionMatrix(). Code is in the reference page, written for the starter but free of dependencies.
- Get it
punchFov(6); each frame: updateFov(dt);
- 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