diff options
Diffstat (limited to 'starfield/stars.html')
-rw-r--r-- | starfield/stars.html | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/starfield/stars.html b/starfield/stars.html deleted file mode 100644 index 9c7d0f2..0000000 --- a/starfield/stars.html +++ /dev/null @@ -1,58 +0,0 @@ -<!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; -} - -.canvas-container{ - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0; - margin: 0; - padding: 0; - overflow: hidden; -} - -#stars{ - position: absolute; - margin: 0; - padding: 0; - bottom: 0; -} - -</style> - <script> - window.addEventListener("load", function(){ - warpLaunch({ - 'max_particles': 1500, - 'speed': 70, - 'step': 10, - 'interactive': true, - 'color': true, - }); - }); - </script> - </head> - <body> - <div class="canvas-container"> - <canvas id="stars"></canvas> - </div> - </body> -</html> - |