Compare commits

..

2 Commits

Author SHA1 Message Date
264b2045bf
fix markdown css 2024-11-23 22:53:24 +01:00
7a1336d0c1
no more flashbang 😔 2024-11-23 22:48:37 +01:00
3 changed files with 29 additions and 0 deletions

1
tools/3rs-orbit/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/pkg

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
<script type="module" src="index.js"></script>
<style>
html, body {
height: 100%;
}
</style>
</head>
<body>
<button id="open-computer">Open From Computer</button>
<canvas style="position: absolute;top:0;bottom: 0;left: 0;right: 0;margin:auto;"></canvas>
<canvas style="position: absolute;top:0;bottom: 0;left: 600;right: 0;margin:auto;"></canvas>
</body>
</html>

11
tools/3rs-orbit/index.js Normal file
View File

@ -0,0 +1,11 @@
import init from './pkg/web.js';
async function run() {
try {
await init();
} catch(e) {
console.error(e);
}
}
run();