feat: fancy clouds, fps meter
This commit is contained in:
parent
b0878ad5e1
commit
2c31bd82bf
5 changed files with 120 additions and 26 deletions
12
index.html
12
index.html
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue