diff options
author | Anthony Wang | 2024-01-29 11:13:02 -0500 |
---|---|---|
committer | Anthony Wang | 2024-01-29 11:13:02 -0500 |
commit | 64e928da30ea9dec47e18da026938ba77bba2590 (patch) | |
tree | 4a36b43ea3f56fe6d2243156c60ac4dc6a153f65 /index.html | |
parent | d2ecf019b33e607e5f85d10bb2be0b1bcf3daa14 (diff) |
Move SVG names to HTML, fix sign error in collide, move objectsCollide to its own function
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,11 +1,19 @@ <!DOCTYPE html> <html> <head> - <title>dumb physics engine</title> - <meta name="description" content="Converts SVGs into a list of circles and use those circles for dumb collision checking"> + <title>Dumb physics engine</title> + <meta name="description" content="Converts SVGs into a set of circles and use those circles for dumb collision checking"> <link rel="stylesheet" href="style.css"> </head> <body> + <!-- + Draw 200x200 SVGs in Inkscape with the pencil tool and a stroke width of 20 + Make sure the scale is set to 1 and that the id is set to a unique value + Also, change the stroke to currentColor so we can style the color with CSS + --> + <svg id="hiragana-ni"></svg> + <svg id="hiragana-small-ya"></svg> + <svg id="hiragana-a"></svg> <script src="script.js"></script> </body> </html> |