| name | three-sjs |
| description | Use when the user asks for ThreeScalaJS basic usage, quick start setup, minimal scene examples, or beginner Three.js-in-Scala.js code snippets. |
| argument-hint | [focus: setup|minimal-scene|animation-loop] |
ThreeScalaJS Basic Usage
Provide concise, beginner-friendly guidance for using ThreeScalaJS (Scala.js facade for Three.js).
When to Use
- User asks for "basic usage" of this library
- User needs a minimal setup snippet
- User wants a first scene/camera/renderer example
- User wants a simple animation loop example
Procedure
- Identify the requested focus (
setup, minimal-scene, or animation-loop).
- Use quickstart reference for dependency and starter snippet.
- Adapt the snippet to the user's context (new app vs existing Scala.js app).
- Keep the response short, practical, and copy/paste-ready.
Output Checklist
- Include dependency line when setup is requested.
- Include a complete minimal scene snippet when coding is requested.
- Mention one next step (for example: adding controls, lights, or loading a model).