Skip to content

Instantly share code, notes, and snippets.

@carlosbaraza
Last active April 29, 2019 16:01
Show Gist options
  • Save carlosbaraza/43332cdff656f5aa9452cd536d77b21d to your computer and use it in GitHub Desktop.
Save carlosbaraza/43332cdff656f5aa9452cd536d77b21d to your computer and use it in GitHub Desktop.
Hopefully simple WebAssembly starting guide - index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
html,
body {
height: 100%;
margin: 0;
overflow: hidden;
}
canvas {
width: 100%;
height: 100%;
}
</style>
</head>
<body style="background: #fff">
<canvas id="canvas"></canvas>
<script src="./main.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment