@petitatelier/three-app
@petitatelier/three-app
npm i @petitatelier/three-app
@petitatelier/three-app

@petitatelier/three-app

A collection of Web Components to compose Three.js apps

by petitatelier

0.2.1 (see all)License:BSD-3-ClauseTypeScript:Not Found
npm i @petitatelier/three-app
Readme

‹three-app› element

Three.js app container, that provides animation timing and a registry of cameras and scenes — and synchronizes animation and rendering of the scenes.

Features

  1. Animates the scenes and cameras — synchronized in the same animation step, running at a desired FPS (if possible);
  2. Renders the current scene, at the same desired or actual FPS;
  3. Handles resizing of its bounding box — propagating the change to the aspect ratio to the cameras and renderers.

Incidentally, also imports THREE.js (that was just to say it is used, but all of the elements import it as needed).

Downloads/wk

30

GitHub Stars

36

LAST COMMIT

2yrs ago

MAINTAINERS

2

CONTRIBUTORS

2

OPEN ISSUES

10

OPEN PRs

16
VersionTagPublished
0.2.1
latest
4yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate