mirror of
https://github.com/storytold/spark.git
synced 2026-10-13 23:52:44 +00:00
36 lines
690 B
HTML
36 lines
690 B
HTML
<!DOCTYPE html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Forge • VFX Particle Simulation</title>
|
|
<style>
|
|
html, body {
|
|
margin: 0;
|
|
height: 100%;
|
|
background-color: black;
|
|
}
|
|
|
|
#canvas {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
touch-action: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<canvas id="canvas"></canvas>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"three": "/examples/js/vendor/three/build/three.module.js",
|
|
"@forge-gfx/forge": "/dist/forge.module.js"
|
|
}
|
|
}
|
|
</script>
|
|
<script type="module" src="main.js"></script>
|
|
</body>
|
|
|
|
</html>
|