<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8" />
<title>Демо v2 — воксельный рендер</title>
<style>
html, body { margin: 0; height: 100%; background: #17171d; }
body { display: grid; place-items: center; }
/* низкое разрешение бэкинг-стора, CSS-масштаб целый ×2, пиксели резкие */
canvas {
width: 960px;
height: 540px;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
</style>
</head>
<body>
<canvas id="scene"></canvas>
<script type="module" src="/src/main.ts"></script>
</body>
</html>