-
Notifications
You must be signed in to change notification settings - Fork 0
/
44.html
93 lines (90 loc) · 5.73 KB
/
44.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], "44", [".#22.##.##.....#31.#","..#.#.....##.#..0##.","#....#####........10","#3.......#.#..#....#",".##......2.#.###....","##.#....#..####...#.",".##..#.....##..##...","##1#....2..#..1.#...",".0#..#.#.#.##.#..##.","#.#......04....4..#.","..0...#.#.######.2..","#...34...#.4#3..2.#.",".#..##.###.0.....#.4","...##.#..#0........#","#..1.####.#..##.##0.","##0...#..#..#####.##","#...#.##....#.#04#.#","##.....####...0.4..#","....#.###3.###......","133...#..#2..#0..###"], [".#...##.##1....#...#",".3#.#.....##.#...##.","#....#####..........","#.......4#.#..#....#",".##2.2.....#.###..3.","##.#.2.0#..####.1.#.",".##..#.0...##..##...","##1#...2.0.#....#...","..#..#.#.#.##.#.1##.","#.#...........3...#.","....04#3#.######....","#........#4.#2....#.","3#..##.###..2...0#..","..0##.#..#....0....#","#....####.#..##.##..","##...0#..#..#####.##","#.11#.##.4..#0#..#0#","##.....####4....0..#","....#.###.3###.04.4.","....3.#..#..2#...###"], [[11, 5, 3],[9, 5, 0],[9, 3, 1],[9, 9, 0],[12, 3, 3],[9, 3, 2],[10, 3, 2],[19, 2, 3],[19, 1, 2],[16, 2, 1],[14, 3, 1],[19, 5, 0],[19, 3, 3],[14, 3, 0],[14, 1, 3],[13, 1, 2],[13, 2, 1],[15, 2, 2],[14, 2, 1],[15, 5, 0],[18, 2, 3],[19, 10, 2],[11, 16, 1],[13, 16, 0],[11, 13, 1],[13, 11, 2],[13, 13, 3],[13, 12, 3],[11, 13, 1],[13, 10, 2],[13, 13, 3],[13, 12, 1],[14, 12, 0],[14, 11, 1],[17, 11, 2],[17, 13, 3],[17, 14, 2],[17, 16, 1],[17, 15, 2],[19, 16, 3],[17, 18, 3],[18, 9, 2],[17, 16, 2],[17, 18, 1],[16, 15, 1],[19, 15, 2],[19, 16, 3],[0, 3, 1],[1, 16, 0],[0, 16, 1],[1, 14, 2],[5, 16, 2],[5, 17, 1],[7, 17, 2],[7, 19, 3],[4, 19, 0],[12, 19, 3],[4, 16, 2],[4, 19, 1],[7, 14, 2],[7, 15, 1],[8, 15, 2],[16, 16, 0],[16, 15, 1],[19, 15, 2],[19, 16, 3],[19, 2, 2],[19, 3, 3],[14, 3, 0],[14, 1, 3],[13, 1, 0],[13, 0, 3],[19, 14, 3],[17, 14, 2],[17, 16, 3],[17, 15, 2],[16, 16, 1],[17, 18, 0],[17, 17, 1],[18, 16, 1],[18, 17, 0],[19, 16, 3],[18, 14, 2],[15, 2, 2],[0, 17, 0],[1, 16, 0],[0, 16, 1],[1, 14, 2],[2, 18, 1],[3, 18, 0],[3, 15, 3],[1, 15, 0],[1, 14, 3],[0, 14, 0],[10, 2, 2],[3, 1, 3],[8, 1, 1],[11, 1, 2],[11, 3, 1],[12, 3, 0],[15, 5, 0],[12, 2, 1],[15, 2, 2],[14, 2, 0],[14, 1, 3],[13, 1, 2],[9, 9, 1],[9, 10, 0],[10, 9, 3],[9, 3, 3],[8, 3, 2],[8, 4, 3],[2, 4, 0],[2, 1, 1],[3, 1, 2],[7, 8, 3],[6, 8, 0],[6, 6, 3],[3, 6, 2],[3, 7, 1],[5, 16, 3],[2, 19, 0],[2, 16, 1],[2, 17, 0],[2, 10, 1],[9, 9, 1],[9, 10, 0],[10, 9, 3],[9, 3, 2],[9, 8, 3],[6, 8, 0],[6, 6, 3],[3, 6, 2],[3, 7, 1],[10, 4, 0],[11, 4, 3],[10, 0, 2],[2, 4, 1],[9, 4, 2],[9, 9, 1],[9, 8, 2],[10, 9, 3],[9, 9, 0],[9, 3, 3],[8, 3, 2],[8, 4, 3],[2, 4, 0],[2, 1, 1],[6, 7, 3],[3, 1, 2],[3, 7, 1],[3, 6, 2],[3, 7, 1],[12, 12, 1],[12, 11, 2],[14, 12, 3],[12, 19, 0],[12, 18, 1],[13, 18, 0],[13, 10, 3],[1, 16, 1],[4, 16, 2],[4, 18, 3],[4, 17, 2],[2, 18, 1],[4, 19, 1],[12, 19, 0],[12, 18, 1],[13, 18, 0],[13, 10, 3],[12, 10, 2],[12, 12, 1],[12, 11, 2],[14, 12, 3],[12, 15, 3],[11, 15, 0],[11, 14, 1],[11, 11, 1],[14, 18, 3],[12, 18, 2],[12, 19, 3],[4, 18, 3],[4, 19, 0],[2, 18, 1],[4, 16, 2],[4, 17, 3],[2, 17, 0],[2, 10, 1],[9, 10, 0],[9, 3, 3],[8, 3, 2],[8, 4, 3],[2, 4, 0],[2, 1, 1],[5, 7, 3],[3, 1, 2],[3, 7, 1],[3, 6, 2],[3, 7, 1],[5, 7, 0],[4, 7, 1],[4, 9, 0],[19, 0, 2],[19, 3, 3],[14, 3, 2],[14, 4, 1],[15, 4, 0],[15, 2, 3],[13, 2, 0],[14, 2, 3],[13, 0, 2],[10, 2, 2],[10, 3, 3],[8, 3, 2],[8, 4, 1],[9, 4, 2],[9, 13, 3],[6, 13, 2],[6, 14, 1],[7, 14, 2],[7, 15, 1],[8, 16, 1],[8, 15, 2],[12, 16, 0],[11, 16, 1],[12, 13, 2],[13, 16, 2],[13, 18, 3],[12, 18, 2],[12, 19, 3],[4, 18, 3],[4, 19, 0],[2, 18, 1],[4, 16, 2],[4, 17, 3],[2, 17, 0],[4, 4, 2],[2, 10, 1],[4, 10, 0],[3, 10, 1],[4, 4, 2],[9, 10, 3],[4, 10, 0],[5, 10, 0],[5, 9, 3],[4, 9, 0],[4, 5, 3],[5, 7, 3],[3, 5, 2],[3, 7, 1],[5, 4, 2],[3, 6, 1],[5, 6, 0],[4, 4, 2],[10, 17, 2],[10, 19, 3],[4, 18, 3],[4, 19, 0],[2, 18, 1],[4, 16, 2],[4, 17, 3],[2, 17, 0],[4, 6, 2],[2, 10, 1],[4, 10, 0],[3, 10, 1],[4, 6, 2],[9, 10, 3],[4, 10, 0],[5, 10, 0],[5, 9, 3],[4, 9, 0],[4, 7, 3],[3, 7, 0],[5, 7, 3],[3, 1, 2],[3, 7, 1],[4, 6, 2],[3, 6, 1],[4, 10, 0],[5, 4, 2],[9, 6, 3],[5, 6, 0],[6, 6, 3],[5, 6, 0],[5, 4, 3],[2, 4, 0],[2, 1, 1],[5, 7, 3],[3, 1, 2],[3, 7, 1],[3, 6, 2],[3, 7, 1],[4, 7, 2],[4, 10, 1],[4, 6, 2],[9, 10, 3],[4, 10, 0],[5, 10, 0],[5, 9, 1],[11, 13, 1],[11, 10, 1],[13, 13, 0],[13, 10, 3],[13, 11, 1],[16, 11, 0],[9, 15, 2],[9, 17, 1],[11, 17, 0],[11, 13, 1],[11, 10, 1],[13, 13, 0],[13, 10, 3],[13, 11, 1],[16, 11, 0],[4, 6, 1],[9, 6, 2],[9, 13, 3],[6, 13, 2],[6, 14, 1],[7, 14, 2],[7, 15, 1],[9, 15, 2],[9, 17, 1],[13, 14, 3],[11, 17, 0],[11, 14, 1],[11, 15, 0]]);
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>