View the various feature branches to see source code of the various examples, linked below: https://github.com/LiamOsler/three-react-cannon-examples/branches
- Setup:
- Loading models using .gtlf files
- Instancing objects in a scene
- Lighting effects and fogs
- Physics:
- Cubes
- Other primitives
- Convex Hull Shapes
- Trimesh
Git Repo: https://github.com/LiamOsler/three-react-cannon-examples/tree/GLTFLoader
Live Demo: https://liamosler.ca/demos/threejs/GLTFLoader/
Git Repo: https://github.com/LiamOsler/three-react-cannon-examples/tree/GLTFInstancing
Git Repo: https://github.com/LiamOsler/three-react-cannon-examples/tree/cubes
Live Demo: https://liamosler.ca/demos/threejs/boxes-cannon/
Git Repo: https://github.com/LiamOsler/three-react-cannon-examples/tree/trimesh
Live Demo: https://liamosler.ca/demos/threejs/trimesh-cannon/
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.