mirror of
https://github.com/visgl/luma.gl.git
synced 2026-02-01 14:33:49 +00:00
21 lines
515 B
HTML
21 lines
515 B
HTML
<!doctype html>
|
|
<head>
|
|
<style>
|
|
body {
|
|
background: black;
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<script type="module">
|
|
import {luma} from '@luma.gl/core';
|
|
import {webgl2Adapter} from '@luma.gl/webgl';
|
|
import {webgpuAdapter} from '@luma.gl/webgpu';
|
|
import {makeAnimationLoop} from '@luma.gl/engine';
|
|
import AnimationLoopTemplate from './app.ts';
|
|
const animationLoop = makeAnimationLoop(AnimationLoopTemplate, {adapters: [webgl2Adapter]});
|
|
animationLoop.start();
|
|
</script>
|
|
<body>
|
|
</body>
|