blob: 5c21abc7ac2bf2663112a138fafe15b1c1a28236 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html>
<head>
<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>
<img src="anime.png">
<!--
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>
|