<html>
  <head>
    <title>Babylon Viewer Demo</title>
    <meta charset="UTF-8" />
    <script
      type="module"
      src="https://cdn.jsdelivr.net/npm/@babylonjs/viewer@7.42.0-alpha/dist/babylon-viewer.esm.min.js"
    ></script>
    <style>
      html, body { width: 100%; height: 100%; padding: 0; margin: 0; overflow: hidden; }
    </style>
  </head>
  <body>
    <babylon-viewer
      source="https://raw.githubusercontent.com/BabylonJS/Assets/master/meshes/village.glb"
      camera-orbit="auto auto 15"
    >
    </babylon-viewer>
  </body>
</html>
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.