@hmans/trinity
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Trinity

Goals:

  • Provide wrapper components for the entire THREE namespace, with a similar API to react-three-fiber
  • Allow for stacked scene rendering
  • Allow for per-scene virtual resolution scaling
  • On-Demand Rendering first (ticker callbacks that warrant a re-render must declare this)
  • Provide a solid game-ready ticker (with late & fixed step stages) out of the box
  • React 18+, with full support for new concurrent features

TODO:

Big Features:

  • [x] Ticker
  • [x] Custom cameras
  • [ ] Pointer Event Handling
  • [ ] On-Demand Rendering everywhere?

Misc:

  • [x] Rename "Scene" to eg. "View"

Dependents (0)

Package Sidebar

Install

npm i @hmans/trinity

Weekly Downloads

11

Version

0.2.0

License

MIT

Unpacked Size

61.5 kB

Total Files

31

Last publish

Collaborators

  • hendrik.mans