Three
Build browser-based Three.js and WebGL scenes, animations, and interactive 3D visualizations with a small vanilla JavaScript starting point.From its SKILL.md
npx -y skills add magnus919/agent-skills --skill threeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.0 KB, 190 tokens by cl100k_base, as published. Nobody here has run it
Three.js
Quick Start
Open templates/basic-scene.html in a modern browser or serve the repository over HTTP.
Use this skill for browser 3D scenes, WebGL visualization, camera and lighting setup, asset loading, or animation loops. Start with the smallest scene in templates/basic-scene.html, then add geometry, materials, lights, and controls only as required.
Core choices
- Use
PerspectiveCamerafor natural 3D views andOrthographicCamerafor technical or isometric views. - Keep animation time-based with
Clockor elapsed timestamps. - Dispose geometries, materials, and textures when scenes are replaced.
- Use GLTF/GLB for external models and keep assets local when reproducibility matters.
- Prefer instancing and level of detail when object count becomes the bottleneck.
The template uses a CDN for a quick standalone demo. Pin a Three.js version for production.
What ships with it: 3 files
9.5 KB alongside SKILL.md
evals/
- evals.json7.4 KB
templates/
- basic-scene.html1.0 KB
- README.md1.1 KB