13 lines
392 B
HTML

<script type="module">
import {WebGLDevice} from '@luma.gl/webgl';
import {WebGPUDevice} from '@luma.gl/webgpu';
import {luma} from '@luma.gl/core';
import {makeAnimationLoop} from '@luma.gl/engine';
import AnimationLoopTemplate from './app.ts';
luma.registerDevices([WebGPUDevice]);
makeAnimationLoop(AnimationLoopTemplate).start({canvas: 'canvas'});
</script>
<body>
</body>