Hands-on experiments, concepts and best practices dev notes on ThreeJS r134 from the DISCOVER three.js site.
- NodeJS 12.16.3
- ThreeJS r134
-
Clone this repository.
git clone https://github.com/weaponsforge/threexperiments.git -
Install dependencies.
npm install
-
Run the app.
npm run dev -
Checkout the following branches for reference:
- dev - basic ThreeJS setup
git checkout dev

- group-organize - manage multiple meshes using the Group object
git checkout group

- toy-train - use ThreeJS primitives to create a Mesh
git checkout toy-train

- load-models - load pre-built
gltf3D models
git checkout load-models - animation - animate and add events on the loaded
gltf3D models
git checkout animation

- dev - basic ThreeJS setup
-
Read the wiki for more notes and information on ThreeJS.
[1] - discoverthreejs
[2] - ThreeJS Fundamentals
@weaponsforge
20220131
