Troika 3D - Overview
troika-3d package provides the ability to create interactive 3D scenes with Troika's declarative framework. It uses Three.js as its underlying WebGL renderer, giving you access to Three's full set of tools and its excellent community.
It does very little to abstract away from Three's API, and you will need to know the Three.js object model well to use it. But through its primary facade class,
Object3DFacade, it gives you a straightforward way to:
- componentize your 3D objects
- manage them all together declaratively
- apply automatic transitions and animations
- make them interactive with pointer events
- optimize for the best frame rate
npm install troika-3d
npm install three
If you haven't already, you should familiarize yourself with the Troika framework's Core Concepts. Troika 3D builds on those.