Tech stack
npm install three
npm install --save-dev vite
Three
Scene
- First scene is created.
Camera
- Field of view.
- Set the aspect ratio.
- What are the arguments that Three.PerpectiveCamera takes?
Renderer
Geometry
- What are the supported shapes?
- What are the supported materials?
Sample code
- requestAnimationFrame() was used to recursively call animation.