-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastar.html
47 lines (41 loc) · 961 Bytes
/
astar.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
<!DOCTYPE html>
<html>
<head>
<title>AStar</title>
<link rel="stylesheet" href="assets/style/motion.css" />
<style>
table#aStarTable {}
table#aStarTable tr {}
table#aStarTable td {
font-size:8px; font-weight: bold;
background-color:#303030;
height:10px; width:10px;
text-align:center;
border:1px solid #303030;
}
td.impassableCell {
background-color:#000000 !important;
border-color:#000000 !important;
}
td.fromCell {
background-color:blue !important;
}
td.goalCell {
background-color:green !important;
}
td.routeCell {
border-color:purple !important;
}
</style>
<body>
<script src="vendor/underscore/underscore.min.js"></script>
<script src="vendor/modernizr/modernizr.js"></script>
<script src="lib/init.js"></script>
<script>
var require = motion('/Private/JS/MotionJS/', function() {
require(['astar']);
});
</script>
<script src="vendor/requirejs/require.js"></script>
</body>
</html>