You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
831 B

<!DOCTYPE html>
<title>Voxel AI</title>
<body style="background: #ddd">
<button id="toggle">start/stop</button>
<button id="next">next</button>
<button id="clear">clear</button>
<input id="fps_in" style="width: 4em" placeholder="max fps" type="text" pattern="^\d*$"/>
<input id="scale" size="4" placeholder="scale" value="4" type="text" pattern="^\d*$"/>
<!-- <div id="out" style="height: 5em; width: 300px; overflow: auto; border: solid 1px grey; margin: 10px 0"></div> -->
<div id="fps_out" style="text-align: right; width: 4em; user-select: none; -webkit-user-select: none; font-weight: bold; font-family: sans-serif; font-size: 10px; color: red">&nbsp;</div>
<canvas id="c" style="cursor: default; background: white"></canvas>
<script type="text/javascript" src="Main.dist.js"></script>