Threlte is a Svelte library that simplifies creating 3D apps for the web. It provides a declarative, type-safe, reactive and interactive API out-of-the-box.
Threlte's 3D rendering is powered by Three.js, and it also provides a physics engine through Rapier and an animation studio via Theatre.js; see packages for details.
Check out our documentation and our Discord community.
@threlte/rapier enables performant physics in your Threlte app through the Rapier engine.
This is a great way to implement key features of games or simulators, such as collisions, gravity and attraction fields.
For a quick interactive setup of a fresh Threlte project, run:
npm create threlte my-project
and select the @threlte/rapier
option.
Alternatively you can check out the full installation instructions.
Have questions? Feel free to ask in our Discord support forum.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Filing Issues - if you have feature requestions or you think you spotted a bug, submit an issue.
- Contributing Code - if you would like to drop us a PR, read the contribution guide first.
The MIT License (MIT). Please see the License File for more information.