-
Notifications
You must be signed in to change notification settings - Fork 0
/
43.html
93 lines (90 loc) · 4.89 KB
/
43.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="js/postscript.js"></script>
<script src="js/visualizer.js"></script>
<script type="text/javascript">
(function ($) {
$(function () {
var updater = function () {
var visualizer = new Visualizer($('#canvas')[0], "43", ["...7............#.#.",".#..#.#.##......#...",".#..8#...9#.#.#....#","..#.0#.#..##.....0##",".#5#................",".....#......##..#...","...#.#..#...#7.#...9","7.......7###..24....","#............#...#.#","6..........#.#4.....","..........#...##.#6.","#..#.............##.","..#8.............8.1",".#..2.........##3...","....3....#..#..#....",".#..#..........6....","...4##........#.....","#.#..#..##...#9.#.##","#..##....#...#.##..#","..##..#.3.....#3.#.."], ["........7.......#.#.",".#..#.#.##......#...",".#...#....#.#.#....#","..#7.#.#.9##......##",".#.#...........0....",".....#......##.4#...",".5.#.#..#...#..#....","....8....###7.......","#............#...#.#",".........6.#2#.4....","..........#...##.#.6","#..#....3....9...##.","..#.............1...",".#............##....","...4.....#..#..#..0.",".#.8#..7...........3","....##........#...6.","#.#..#..##3..#.9#8##","#..##....#...#.##..#","..##..#2......#.3#.."], [[19, 8, 2],[4, 2, 1],[11, 2, 0],[7, 8, 0],[11, 1, 3],[7, 1, 2],[8, 1, 3],[7, 8, 0],[5, 1, 1],[7, 1, 2],[12, 19, 0],[12, 17, 1],[12, 18, 0],[18, 17, 3],[12, 4, 2],[19, 15, 2],[9, 14, 2],[7, 15, 1],[9, 19, 0],[9, 16, 1],[11, 16, 0],[11, 4, 3],[10, 18, 3],[4, 4, 2],[4, 18, 1],[3, 17, 0],[4, 17, 3],[3, 12, 2],[0, 17, 1],[2, 17, 0],[2, 15, 1],[0, 3, 1],[10, 18, 2],[17, 14, 2],[6, 19, 3],[4, 19, 0],[4, 4, 1],[12, 4, 2],[3, 4, 1],[12, 15, 0],[12, 4, 3],[12, 5, 1],[15, 5, 2],[15, 14, 3],[14, 14, 0],[14, 13, 1],[16, 13, 0],[2, 9, 0],[16, 6, 3],[2, 6, 2],[3, 6, 3],[2, 6, 2],[2, 9, 1],[2, 8, 2],[6, 9, 3],[3, 4, 1],[12, 4, 2],[12, 15, 3],[11, 15, 2],[11, 16, 3],[6, 16, 2],[12, 16, 3],[6, 19, 0],[6, 16, 1],[6, 17, 3],[3, 17, 0],[4, 17, 3],[3, 12, 2],[0, 17, 1],[2, 17, 0],[2, 15, 1],[14, 4, 2],[14, 8, 1],[16, 8, 2],[7, 8, 1],[16, 13, 0],[16, 8, 3],[16, 9, 3],[15, 9, 2],[15, 15, 1],[15, 14, 2],[16, 15, 3],[15, 15, 2],[15, 18, 1],[6, 13, 1],[7, 13, 0],[12, 3, 1],[15, 3, 0],[16, 3, 3],[15, 2, 2],[12, 3, 1],[13, 4, 0],[7, 12, 1],[13, 2, 2],[13, 12, 3],[13, 11, 1],[19, 11, 0],[13, 16, 1],[16, 16, 0],[16, 15, 3],[15, 15, 2],[17, 15, 3],[15, 18, 0],[15, 15, 1],[15, 16, 0],[15, 5, 3],[2, 4, 1],[14, 3, 3],[14, 4, 0],[12, 3, 1],[14, 0, 3],[12, 0, 2],[12, 1, 3],[7, 1, 2],[9, 0, 2],[9, 10, 3],[8, 10, 2],[3, 17, 1],[9, 15, 3],[7, 17, 0],[7, 15, 1],[7, 16, 1],[12, 16, 0],[11, 16, 1],[12, 3, 2],[16, 16, 2],[12, 17, 1],[16, 17, 0],[15, 17, 1],[16, 15, 2],[18, 17, 3],[16, 17, 0],[16, 15, 3],[15, 15, 2],[7, 8, 1],[16, 8, 2],[16, 13, 3],[7, 14, 1],[9, 15, 3],[9, 14, 2],[7, 15, 1],[9, 19, 0],[9, 16, 1],[11, 16, 0],[11, 4, 1],[14, 3, 3],[14, 4, 0],[12, 3, 1],[14, 0, 2],[14, 2, 3],[8, 12, 1],[13, 2, 2],[13, 12, 3],[13, 11, 3],[10, 11, 2],[10, 12, 3],[3, 9, 0],[2, 9, 1],[3, 8, 2],[6, 9, 3],[4, 9, 0],[4, 4, 1],[7, 4, 0],[6, 4, 1],[7, 1, 2],[14, 4, 2],[14, 8, 1],[16, 8, 2],[16, 13, 3],[10, 13, 0],[10, 11, 1],[19, 11, 2],[19, 12, 3],[7, 5, 1],[15, 12, 0],[15, 5, 3],[7, 0, 2],[7, 3, 1],[10, 3, 2],[10, 9, 1],[9, 12, 1],[13, 9, 2],[13, 12, 3],[13, 11, 1],[19, 11, 2],[19, 12, 3],[15, 12, 0],[8, 12, 0],[8, 1, 3],[7, 1, 2],[7, 3, 1],[10, 3, 0],[10, 0, 3],[9, 0, 2],[15, 18, 3],[15, 7, 2],[12, 18, 1],[15, 18, 0],[9, 10, 0],[9, 0, 1],[10, 0, 2],[10, 9, 3],[15, 6, 1],[18, 6, 2],[18, 8, 1],[19, 8, 2],[19, 12, 3],[19, 7, 2],[15, 12, 1],[19, 12, 0],[18, 12, 0],[7, 5, 2],[15, 19, 0],[7, 8, 1],[15, 8, 2],[14, 8, 0],[14, 3, 3],[14, 4, 0],[12, 3, 1],[14, 0, 2],[14, 2, 3],[13, 2, 2],[8, 9, 1],[13, 13, 0],[13, 9, 3],[13, 10, 1],[8, 9, 0],[8, 1, 3],[7, 1, 2],[7, 3, 1],[10, 3, 2],[17, 10, 2],[18, 10, 3],[17, 12, 0],[11, 10, 0],[11, 4, 3],[8, 4, 0],[8, 1, 3],[7, 1, 2],[7, 3, 1],[10, 3, 2],[10, 8, 0],[10, 0, 3],[9, 0, 2],[10, 9, 0],[10, 0, 3],[9, 0, 2]]);
visualizer.doit();
};
updater();
});
})(jQuery);
</script>
<style type="text/css">
body {
font-family: Arial, Sans-Serif;
}
h3 {
font-size: 12pt;
padding-left: 0.5em;
}
#canvas {
border: 1px solid black;
}
/* td.properties {
padding-left: 1em;
} */
#coord {
position: fixed;
top: 2px;
left: 2px;
font-familiy: Helvetica;
font-size: 10pt;
background: #fef3a1;
border-style: solid;
border-width: 1px;
border-color: #bba824;
padding: 2px 2px 2px 2px;
z-index: 1;
opacity: 0.9;
}
#steps {
align: left;
}
</style>
</head>
<body>
<table>
<tr>
<td colspan="3">
<canvas id="canvas" width="960" height="960" sytle="align: center">
</canvas>
</td>
</tr>
<tr>
<td>
<h3>seed:</h3>
</td>
<td id="seed">
</td>
<td>
</td>
</tr>
<tr>
<td class="properties">
<h3>steps:</h3>
</td>
<td id="steps">
</td>
<td>
</td>
</tr>
<tr>
<td>
<h3>Score:</h3>
</td>
<td id="score">
</td>
<td>
</td>
</tr>
</table>
<div>
<strong id="coord"></strong>
</div>
</body>
</html>