-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (54 loc) · 1.91 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>JavaScript Drawings</title>
<script src="./bin/lib/lib.js"></script>
<script src="./bin/lib/vector.js"></script>
<script src="./bin/lib/square.js"></script>
<script src="./bin/lib/drawing.js"></script>
<script src="./bin/drawings/yinyang.js"></script>
<script src="./bin/drawings/ornament.js"></script>
<script src="./bin/drawings/mandelbrot.js"></script>
<script src="./bin/drawings/dragoncurve.js"></script>
<script src="./bin/drawings/gospercurve.js"></script>
<script src="./bin/drawings/hilbertcurve.js"></script>
<script src="./bin/drawings/osgoodcurve.js"></script>
<script src="./bin/drawings/sierpinskitriangle.js"></script>
<script src="./bin/drawings/sierpinskicarpet.js"></script>
<script src="./bin/drawings/hexaflake.js"></script>
<script src="./bin/drawings/rrt.js"></script>
<script src="./bin/drawings/pythagorastree.js"></script>
<style>
body {
margin: 0px;
background-color: #333;
color: #eee;
text-align: center;
}
</style>
<link rel="shortcut icon" href="./img/favicon/favicon.png" type="image/x-icon">
<link rel="shortcut icon" href="./img/favicon/favicon_16.png" type="image/x-icon">
<script>
/**
* Creates drawings.
*/
function init() {
const yy = new YinYang().init();
const om = new Ornament().init();
const mb = new Mandelbrot().init();
const dc = new DragonCurve().init();
const gc = new GosperCurve().init();
const hc = new HilbertCurve().init();
const oc = new OsgoodCurve().init();
const st = new SierpinskiTriangle().init();
const hf = new HexaFlake().init();
const sc = new SierpinskiCarpet().init();
const rrt = new RRT().init();
const pt = new PT().init();
}
</script>
</head>
<body onload="init()">
</body>
</html>