aboutsummaryrefslogtreecommitdiffhomepage
path: root/starfield/stars.html
diff options
context:
space:
mode:
Diffstat (limited to 'starfield/stars.html')
-rw-r--r--starfield/stars.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/starfield/stars.html b/starfield/stars.html
new file mode 100644
index 0000000..e763898
--- /dev/null
+++ b/starfield/stars.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf8">
+ <title>Starfield demo</title>
+ <script src="stars.js"></script>
+<style>
+body,
+html{
+ margin: 0;
+ padding: 0;
+ background-color: #000;
+ min-height: 100vh;
+ min-width: 100%;
+}
+
+*{
+ box-sizing: border-box;
+}
+
+#stars{
+ width: 100%;
+ height: 100%;
+}
+</style>
+ <script>
+ window.addEventListener("load", function(){
+ warpLaunch();
+ });
+ </script>
+ </head>
+ <body>
+ <canvas id="stars"></canvas>
+ </body>
+</html>
+