Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
senior-sigan committed Mar 10, 2024
0 parents commit 52a40c8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions LUDA.js

Large diffs are not rendered by default.

Binary file added LUDA.wasm
Binary file not shown.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctypehtml><html lang=en-us><head><meta charset=utf-8><title>LUDA</title><style>html{width:100%;height:100%}body{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;width:100%;height:auto;font-family:sans-serif;margin:0;padding:0;overflow:hidden}#canvas{border:0 none;-webkit-flex:1;flex:1;width:800px;height:600px}#status{background-color:#eaeae0;text-align:center;height:0}#output{background-color:hsla(240,10%,10%,0);color:#000;border:none;padding:0 1em;position:absolute;right:0;width:50%;bottom:0}</style></head><body><div id=status>Downloading...</div><canvas id=canvas oncontextmenu=event.preventDefault()></canvas><textarea id=output rows=8></textarea><script>var Module={print:function(t){var e=document.getElementById("output");return e&&(e.value=""),function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments).join(" ")),console.log(t),e&&(e.value+=t+"\n",e.scrollTop=e.scrollHeight)}}(),printErr:function(t){console.error(t)},setStatus:function(t){var e=document.getElementById("status");return e&&(e.textContent=""),function(t){e.textContent=t}}(),canvas:function(){const t=document.getElementById("canvas");return t.addEventListener("webglcontextlost",(function(t){alert("WebGL context lost. You will need to reload the page."),t.preventDefault()}),!1),t}()}</script><script async src=LUDA.js></script></body></html>

0 comments on commit 52a40c8

Please sign in to comment.