@petitatelier/three-scene

Defines the ‹three-scene› element, that can be rendered and to which objects can be added

Usage no npm install needed!

<script type="module">
  import petitatelierThreeScene from 'https://cdn.skypack.dev/@petitatelier/three-scene';
</script>

README

‹three-scene› element

Creates a scene, to be rendered by a ‹three-app› container.

Features

  1. Registers itself with parent ‹three-app› upon creation.
  2. Deregisters itself with parent ‹three-app› when disposed.
  3. Propagate animation steps to child elements.