From 7af6dfc46f9a94e3966cdfa4e0d353e989eb9070 Mon Sep 17 00:00:00 2001
From: julian laplace <julescarbon@gmail.com>
Date: Wed, 10 May 2023 15:13:47 +0200
Subject: add stars and velocity

---
 src/index.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/index.jsx')

diff --git a/src/index.jsx b/src/index.jsx
index 6c58df3..0428bcf 100644
--- a/src/index.jsx
+++ b/src/index.jsx
@@ -3,8 +3,8 @@ import { createRoot } from "react-dom/client";
 import { requestAudioContext, randrange } from "./lib/util";
 
 import App from "./ui/App.jsx";
+import Stars from "./lib/stars";
 
-document.body.style.backgroundColor = "#111";
 document.body.style.color = "#fff";
 document.body.style.margin = 0;
 document.body.style.padding = 0;
@@ -15,6 +15,7 @@ document.body.parentNode.style.margin = 0;
 document.body.parentNode.style.padding = 0;
 document.body.parentNode.style.height = "100%";
 document.body.parentNode.style.width = "100%";
+document.body.parentNode.style.backgroundColor = "#111";
 
 requestAudioContext(() => {
   const container = document.createElement("div");
@@ -24,4 +25,5 @@ requestAudioContext(() => {
   document.body.appendChild(container);
   const root = createRoot(container);
   root.render(<App />);
+  Stars();
 });
-- 
cgit v1.2.3-70-g09d2

