-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (32 loc) · 1.56 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
<!DOCTYPE html>
<html>
<head>
<link rel = "stylesheet" type = "text/css" href = "style/jquery-ui.min.css">
<link rel = "stylesheet" type = "text/css" href = "style/style.css">
<script type = "text/javascript" src = "js/jquery-3.1.1.min.js"></script>
<script type = "text/javascript" src = "js/jquery-ui.min.js"></script>
<!-- Modularizing code -->
<script type = "text/javascript" src = "js/Color.js"></script>
<script type = "text/javascript" src = "js/Point.js"></script>
<script type = "text/javascript" src = "js/Vector.js"></script>
<script type = "text/javascript" src = "js/Drawable.js"></script>
<script type = "text/javascript" src = "js/DrawableTriangle.js"></script>
<script type = "text/javascript" src = "js/Graph.js"></script>
<script type = "text/javascript" src = "js/ConnectedComponents.js"></script>
<script type = "text/javascript" src = "js/Boid.js"></script>
<script type = "text/javascript" src = "js/BoidPool.js"></script>
<script type = "text/javascript" src = "js/Demo.js"></script>
<script type = "text/javascript" src = "js/script.js"></script>
<title>Boids</title>
</head>
<body onload = "init()">
<div id = "canvasContainter">
<canvas id = "demo"></canvas> <!-- Main canvas -->
</div>
</body>
<script type="text/javascript">
canvas = document.getElementById("demo");
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
</script>
</html>