https://github.com/enable3d/threejs-ammojs-webpack-example
https://github.com/enable3d/threejs-ammojs-webpack-example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/enable3d/threejs-ammojs-webpack-example
- Owner: enable3d
- License: mit
- Created: 2021-01-14T13:28:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-08T12:19:38.000Z (3 months ago)
- Last Synced: 2025-03-08T13:24:15.906Z (3 months ago)
- Language: TypeScript
- Size: 1.34 MB
- Stars: 30
- Watchers: 2
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Three.js & ammo.js (enable3d)
---
## Example of Three.js with ammo.js
- Contains a **CSG Example with BufferGeometries**.
- Contains the **Flat Package for 2D Elements**.## Projects
The `index.ts` file contains to different project:
- `three.ts` file contains a three.js project with Enable3d's **Physics Extension**.
- `standalone.ts` file contains a **Standalone Enable3d** project.## Install & Run
```console
# download this repo
npx gitget enable3d/threejs-ammojs-webpack-example enable3d-webpack# navigate into the directory
cd enable3d-webpack# install
npm install# start
npm start
```## Dependencies
The only dependency is `enable3d`. All other dependencies (three.js etc.), are installed with `enable3d`.