<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Exhaust</title>
    </head>
    <body>
        <canvas id="canvas"></canvas>
        <script type="module">

import init, { Exhaust } from './wasm/examples.js';
import createScreen from './screen.js';

let screen;
let app;
let time;
let thrust = false;

async function main() {
    const wasm = await init();
    screen = createScreen(wasm.memory, document.querySelector('#canvas'));
    app = Exhaust.new();
    time = Date.now();
