Files
spark/examples/vfx-particle-simulation/index.html
T
2025-05-28 16:12:15 -07:00

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>