threlte
Purpose: Threlte is a Svelte library designed to simplify the creation of interactive 3D applications for the web. It offers a declarative, type-safe, reactive, and interactive API.
Target Audience: Developers looking to build 3D web applications using Svelte, with support for physics, animations, and interactivity.
Key Features:
- Clean API: Transparently exposes all Three.js objects through a declarative interface.
- Hooks: Provides low-level access to contexts like animation frames and rendering.
- Plugins: Allows extending Threlte with custom logic.
- Events: Svelte-native state transformation handling.
- Interactivity: Easy reaction to user inputs on 3D objects.
Core Packages:
- @threlte/core: Declarative Svelte bindings for Three.js.
- @threlte/extras: Productivity-boosting enhancements.
- @threlte/gltf: CLI for converting GLTF assets into reusable components.
- @threlte/rapier: Physics engine integration via Rapier.
- @threlte/theatre: Animation studio via Theatre.js.
- @threlte/xr: VR/AR components and hooks.
- @threlte/flex: Flexbox-like layout engine integration.
Documentation & Community:
- Documentation fa-solid fa-up-right-from-square
- Discord Community fa-solid fa-up-right-from-square
Underlying Technologies:
- Powered by Three.js for 3D rendering.
- Optional integrations with Rapier (physics) and Theatre.js (animations).
sveltethreejs3drapiertheatrejshacktoberfest
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button