diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-10-31 02:27:17 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-10-31 02:27:17 +0000 |
commit | bcb38594492aec4f1116b3fdf0e9821d4016903a (patch) | |
tree | 300afa3870ef80e37586f03ed35b2bd0ff1e83b6 /src/index.html | |
download | throw_simulation-bcb38594492aec4f1116b3fdf0e9821d4016903a.tar throw_simulation-bcb38594492aec4f1116b3fdf0e9821d4016903a.tar.gz throw_simulation-bcb38594492aec4f1116b3fdf0e9821d4016903a.zip |
Implement the physics
Diffstat (limited to 'src/index.html')
-rw-r--r-- | src/index.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..aa49141 --- /dev/null +++ b/src/index.html @@ -0,0 +1,25 @@ +<!doctype html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Document</title> + <script type="module" src="index.js"></script> + <style> + html, + body { + margin: 0; + } + + div#throwable { + position: fixed; + transform: translate(-50%, -50%); + background-color: red; + border-radius: 50%; + } + </style> + </head> + <body> + <div id="throwable"></div> + </body> +</html> |