32 lines
646 B
HTML
32 lines
646 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Mapgen demo</title>
|
|
<style>
|
|
body {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
#fps {
|
|
white-space: pre;
|
|
font-family: monospace;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Map generator demo</h1>
|
|
<button id="play-pause"></button>
|
|
<div id="fps"></div>
|
|
<canvas id="demo-canvas"></canvas>
|
|
<script src='./index.js'></script>
|
|
</body>
|
|
</html>
|