✳ Web Tattva Labs← Back to Labs

Camera Fly-Through.

Fly a perspective camera through a corridor while its lens and roll change.

View code

Run the JavaScript as a module. Keep the import map from the HTML panel.

<script type="importmap">{"imports":{"three":"https://cdn.jsdelivr.net/npm/three@0.180.0/build/three.module.js","three/addons/":"https://cdn.jsdelivr.net/npm/three@0.180.0/examples/jsm/"}}</script>
<canvas aria-label="Animation demo"></canvas>