feat: fancy clouds, fps meter

This commit is contained in:
Dan Finch 2026-08-04 03:00:58 +02:00
parent b0878ad5e1
commit 2c31bd82bf
5 changed files with 120 additions and 26 deletions

View file

@ -16,10 +16,22 @@
display: block;
image-rendering: pixelated;
}
#fps {
position: fixed;
right: 6px;
bottom: 6px;
font: 16px monospace;
color: #fff;
background: #000;
opacity: 0.5;
padding: 1px 5px;
pointer-events: none;
}
</style>
</head>
<body>
<canvas id="screen"></canvas>
<div id="fps">-- fps</div>
<script type="module" src="/app/main.ts"></script>
</body>
</html>