web/index.html 460 B · 18 lines · raw · history
| 1 | |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>Simulator</title> |
| 6 | <style> |
| 7 | html, body { margin: 0; height: 100%; background: #141419; overflow: hidden; } |
| 8 | canvas { display: block; width: 100%; height: 100%; outline: none; } |
| 9 | </style> |
| 10 | </head> |
| 11 | <body> |
| 12 | <canvas id="bevy" tabindex="0" oncontextmenu="return false"></canvas> |
| 13 | <script type="module"> |
| 14 | import init from './simulator.js'; |
| 15 | init(); |
| 16 | </script> |
| 17 | </body> |
| 18 | </html> |