diff options
author | Yaroslav <contact@yaroslavps.com> | 2018-12-15 03:06:01 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2018-12-15 03:06:01 +0300 |
commit | 91ebe149046fae3b075f7ea5bfa7b1532c9bc7c5 (patch) | |
tree | 5b36274ade03b3d325c5c9172f55af4c8421f7d5 /starfield/stars.html | |
parent | 9427fbd726746a840cf412174c813810742920d4 (diff) | |
download | canvas-antics-91ebe149046fae3b075f7ea5bfa7b1532c9bc7c5.tar.gz canvas-antics-91ebe149046fae3b075f7ea5bfa7b1532c9bc7c5.zip |
starfield, need to figure out algorithm
Diffstat (limited to 'starfield/stars.html')
-rw-r--r-- | starfield/stars.html | 36 |
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> + |