Compare commits
2 Commits
2d0ec47679
...
264b2045bf
Author | SHA1 | Date | |
---|---|---|---|
264b2045bf | |||
7a1336d0c1 |
1
tools/3rs-orbit/.gitignore
vendored
Normal file
1
tools/3rs-orbit/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/pkg
|
17
tools/3rs-orbit/index.html
Normal file
17
tools/3rs-orbit/index.html
Normal 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
11
tools/3rs-orbit/index.js
Normal file
@ -0,0 +1,11 @@
|
||||
import init from './pkg/web.js';
|
||||
|
||||
async function run() {
|
||||
try {
|
||||
await init();
|
||||
} catch(e) {
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
run();
|
Loading…
x
Reference in New Issue
Block a user