Skip to content

threlte/threlte-tutorial

This branch is 2262 commits behind threlte/threlte:main.

Folders and files

NameName
Last commit message
Last commit date
Dec 29, 2023
Dec 4, 2023
Dec 8, 2023
Jan 8, 2024
Jul 30, 2023
Dec 29, 2023
Jul 9, 2022
Jul 7, 2022
Jul 7, 2022
Feb 16, 2023
Jan 17, 2022
Feb 15, 2023
Jul 31, 2023
Nov 29, 2023
Nov 29, 2023
Jan 17, 2022
Oct 2, 2023
Sep 17, 2023
Dec 15, 2023
Jul 9, 2022
Jul 31, 2023
Nov 15, 2022

Repository files navigation

Rapidly Build Interactive 3D Apps for the Web

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.

Quickstart

Installation

For a quick interactive setup of a fresh Threlte project, run:

npm create threlte my-project

Alternatively you can check out the full installation instructions.

Tutorial

To get a hang of the basics, we recommend following our introductory tutorial.

Support

Have questions? Feel free to ask in our Discord support forum.

Features

  • Clean API transparently exposing all Three.js objects through declarative API.

  • Hooks providing easy access to low-level contexts like animation frames and the rendering engine.

  • Plugins making it easy to extend Threlte with custom code and logic.

  • Events enabling robust and Svelte-native access to state transformations in your scenes.

  • Interactivity makes it easy to react to user inputs on 3D objects.

Packages

Threlte is comprised of six distinct packages to allow you to import only what you need:

Contributing

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.

Sponsors

Powered by Vercel


License

The MIT License (MIT). Please see the License File for more information.

About

3D framework for Svelte

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 37.4%
  • MDX 24.9%
  • TypeScript 21.4%
  • JavaScript 9.1%
  • Astro 5.2%
  • CSS 1.8%
  • Other 0.2%