From 7a1336d0c1503dccd9eac6d9659a845dd1ad2c61 Mon Sep 17 00:00:00 2001
From: javalsai <jvssxxi@gmail.com>
Date: Sat, 23 Nov 2024 22:48:37 +0100
Subject: [PATCH] =?UTF-8?q?no=20more=20flashbang=20=F0=9F=98=94?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 notes/index.html           |  1 -
 tools/3rs-orbit/.gitignore |  1 +
 tools/3rs-orbit/index.html | 17 +++++++++++++++++
 tools/3rs-orbit/index.js   | 11 +++++++++++
 4 files changed, 29 insertions(+), 1 deletion(-)
 create mode 100644 tools/3rs-orbit/.gitignore
 create mode 100644 tools/3rs-orbit/index.html
 create mode 100644 tools/3rs-orbit/index.js

diff --git a/notes/index.html b/notes/index.html
index 2e34d7e..e923ae1 100644
--- a/notes/index.html
+++ b/notes/index.html
@@ -14,7 +14,6 @@
         <h1><a class="reference" id="notes" href="#notes">Notes</a></h1>
         <p>This will just contain markdown notes about academic stuff. Will try to use nice web stuff as much as
             possible, like idk, integrate qalc graphs and that into formulas or smth.</p>
-        <p>FLASHBANG ALERT!</p>
         <ul class="row-ul">
             <li><a href="math">math</a></li>
             <li><a href="physics">physics</a></li>
diff --git a/tools/3rs-orbit/.gitignore b/tools/3rs-orbit/.gitignore
new file mode 100644
index 0000000..fc5bd90
--- /dev/null
+++ b/tools/3rs-orbit/.gitignore
@@ -0,0 +1 @@
+/pkg
diff --git a/tools/3rs-orbit/index.html b/tools/3rs-orbit/index.html
new file mode 100644
index 0000000..c03e88c
--- /dev/null
+++ b/tools/3rs-orbit/index.html
@@ -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>
diff --git a/tools/3rs-orbit/index.js b/tools/3rs-orbit/index.js
new file mode 100644
index 0000000..0f1b5c1
--- /dev/null
+++ b/tools/3rs-orbit/index.js
@@ -0,0 +1,11 @@
+import init from './pkg/web.js';
+
+async function run() {
+    try {
+        await init();
+    } catch(e) {
+        console.error(e);
+    }
+}
+
+run();