@petitatelier/three-camera

Defines the ‹three-camera› element, to be used by a ‹three-app› container to render a scene

Usage no npm install needed!

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

README

‹three-camera› element

Creates a camera, to be used by a ‹three-app› container to render a scene. Can be either an orthographic or a perspective camera.

Features

  1. Orthographic or perspective camera;
  2. Optional camera orbiter controls;
  3. Optional helper, to display camera viewpoint.