-
Notifications
You must be signed in to change notification settings - Fork 0
/
35.html
93 lines (90 loc) · 7.17 KB
/
35.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], "35", ["1........1.....#0..0","....#.....#.....0...",".....#........1.....","##...1#...#..##...#.",".0#.......0........0","...#...#..#...#.##.0","...#......##....1.#.","....1.####11##..1.1#","##..1.#...1..##.0##.","#...#...............",".##...#...#........#","..##..#..#..#.#1..#1","00.....1.......1.0.#","1..#...00.........#.","..#1.#.0.0....#..#.#","...1....#.#.#...#1..",".#0........1..#....#","...0#.#....1#.#....1",".0..#...0#.#.0.#....","#1#....##..#.#.0#..."], ["...............#....","....#....1#..0......",".....#..............","##1...#11.#..##..0#.","..#.0.......0....0..","...#...#.1#.1.#.##..","...#.0....##......#0",".0....####..##.....#","##.0..#...1..##11##.","#...#.....1.........",".##...#...#1...1...#","..##1.#..#0.#.#...#1","1...0.001.......1..#","...#.....0.1....0.#.",".0#.1#......0.#..#.#",".0.0....#.#.#0..#...",".#............#....#",".0..#.#.....#.#1....","....#1...#.#...#..11","#1#....##..#.#..#..."], [[0, 19, 0],[0, 17, 1],[0, 9, 2],[0, 14, 1],[1, 14, 2],[1, 15, 1],[12, 17, 1],[13, 17, 0],[15, 17, 1],[17, 19, 1],[19, 17, 2],[19, 19, 3],[19, 18, 2],[19, 19, 3],[12, 1, 1],[14, 3, 2],[18, 1, 3],[8, 16, 1],[14, 16, 0],[14, 15, 3],[13, 15, 0],[13, 10, 3],[0, 16, 2],[1, 16, 3],[4, 17, 3],[0, 19, 0],[0, 17, 1],[0, 18, 0],[0, 17, 1],[11, 15, 2],[13, 9, 2],[11, 17, 1],[13, 17, 0],[12, 17, 0],[7, 11, 1],[7, 10, 2],[15, 11, 3],[8, 11, 2],[8, 12, 1],[10, 12, 0],[12, 7, 2],[12, 14, 1],[13, 14, 2],[13, 17, 3],[9, 17, 2],[9, 19, 0],[7, 11, 1],[9, 5, 2],[9, 11, 3],[13, 7, 0],[14, 7, 3],[13, 4, 2],[8, 7, 1],[12, 15, 0],[17, 19, 0],[7, 18, 0],[7, 16, 1],[7, 17, 0],[11, 16, 3],[7, 14, 2],[7, 15, 1],[18, 13, 3],[9, 15, 0],[9, 13, 1],[9, 14, 0],[9, 11, 3],[8, 10, 3],[8, 11, 0],[7, 10, 1],[8, 7, 1],[11, 7, 2],[12, 8, 2],[11, 8, 1],[12, 15, 3],[11, 15, 2],[17, 15, 3],[11, 17, 0],[11, 15, 1],[11, 16, 3],[6, 16, 2],[6, 17, 1],[7, 16, 3],[7, 17, 0],[6, 16, 1],[7, 14, 2],[7, 15, 1],[7, 11, 1],[9, 15, 0],[9, 11, 3],[9, 12, 0],[9, 11, 3],[8, 10, 3],[8, 11, 0],[7, 10, 1],[8, 7, 1],[11, 7, 2],[12, 8, 2],[11, 8, 1],[12, 15, 3],[11, 15, 2],[17, 15, 3],[11, 17, 0],[11, 15, 1],[11, 16, 3],[8, 16, 0],[9, 16, 3],[7, 11, 1],[9, 11, 2],[18, 13, 3],[9, 19, 0],[9, 13, 1],[9, 14, 1],[10, 14, 0],[10, 12, 3],[8, 12, 0],[8, 10, 3],[8, 11, 0],[7, 10, 1],[8, 7, 1],[11, 7, 2],[12, 8, 2],[11, 8, 1],[12, 15, 1],[17, 15, 2],[16, 15, 1],[17, 19, 0],[17, 16, 1],[18, 16, 2],[3, 5, 0],[5, 19, 1],[4, 1, 1],[12, 0, 2],[13, 0, 2],[13, 2, 3],[12, 2, 0],[7, 4, 2],[12, 0, 2],[7, 5, 1],[12, 5, 0],[11, 5, 0],[13, 7, 0],[13, 4, 3],[14, 9, 0],[14, 6, 3],[12, 6, 0],[13, 6, 3],[12, 4, 1],[12, 5, 0],[13, 4, 3],[12, 1, 1],[17, 11, 0],[17, 7, 1],[18, 7, 0],[16, 11, 2],[16, 13, 3],[16, 2, 2],[9, 13, 1],[16, 13, 0],[15, 13, 2],[12, 8, 2],[15, 15, 3],[12, 15, 0],[13, 15, 2],[8, 4, 2],[3, 2, 2],[8, 5, 3],[3, 5, 0],[4, 5, 2],[4, 9, 3],[0, 16, 1],[4, 16, 0],[4, 11, 3],[0, 11, 0],[0, 9, 1],[0, 10, 0],[6, 9, 3],[0, 1, 1],[2, 1, 2],[2, 4, 1],[8, 4, 2],[8, 5, 1],[13, 5, 2],[13, 8, 1],[13, 7, 2],[11, 10, 1],[14, 8, 2],[14, 10, 3],[13, 9, 2],[14, 9, 3],[13, 16, 0],[12, 9, 2],[12, 15, 1],[12, 8, 2],[16, 15, 3],[12, 15, 0],[13, 15, 2],[13, 8, 1],[14, 8, 2],[16, 2, 2],[14, 13, 1],[16, 13, 0],[0, 0, 2],[0, 8, 1],[6, 8, 2],[6, 9, 3],[3, 2, 3],[0, 9, 0],[0, 2, 1],[0, 3, 1],[4, 3, 2],[7, 16, 3],[6, 16, 0],[6, 12, 3],[3, 2, 3],[0, 12, 0],[0, 2, 1],[0, 3, 1],[4, 3, 2],[4, 8, 1],[6, 8, 2],[6, 9, 3],[4, 9, 3],[2, 14, 0],[2, 9, 1],[2, 10, 0],[2, 6, 3],[3, 2, 3],[0, 6, 0],[0, 2, 1],[4, 9, 0],[0, 3, 1],[4, 3, 2],[3, 3, 1],[4, 3, 2],[4, 9, 3],[4, 8, 2],[2, 9, 1],[3, 9, 0],[15, 3, 0],[16, 2, 2],[15, 2, 1],[16, 13, 0],[18, 2, 0],[18, 0, 3],[13, 0, 2],[13, 2, 3],[12, 2, 2],[12, 4, 1],[12, 3, 2],[13, 4, 3],[12, 5, 1],[3, 2, 2],[13, 5, 3],[3, 5, 0],[4, 5, 2],[4, 9, 3],[4, 8, 2],[2, 9, 1],[3, 9, 0],[4, 9, 3],[2, 9, 2],[2, 19, 3],[0, 19, 0],[0, 16, 1],[4, 16, 0],[4, 11, 1],[5, 11, 2],[5, 13, 3],[4, 10, 2],[4, 13, 1],[6, 13, 0],[6, 12, 3],[16, 2, 3],[15, 2, 2],[15, 7, 3],[13, 7, 0],[14, 4, 0],[13, 4, 1],[14, 3, 2],[16, 4, 3],[17, 3, 0],[17, 2, 3],[15, 2, 2],[13, 16, 1],[13, 17, 0],[14, 16, 3],[13, 10, 1],[14, 10, 0],[14, 6, 1],[16, 6, 0],[16, 2, 1],[18, 2, 0],[18, 0, 3],[13, 0, 2],[13, 2, 3],[12, 2, 2],[12, 4, 1],[12, 3, 2],[13, 4, 3],[12, 5, 1],[3, 2, 2],[13, 5, 3],[3, 5, 0],[4, 5, 2],[4, 11, 3],[0, 11, 2],[4, 12, 3],[0, 14, 0],[0, 12, 1],[0, 13, 0],[0, 0, 1],[2, 0, 2],[2, 4, 1],[8, 4, 0],[8, 2, 1],[9, 2, 2],[9, 3, 3],[4, 19, 3],[0, 19, 0],[0, 16, 1],[4, 16, 0],[4, 12, 3],[4, 13, 0],[0, 12, 1],[4, 3, 3],[0, 3, 0],[0, 0, 1],[2, 0, 2],[2, 4, 1],[8, 4, 0],[8, 2, 1],[9, 2, 2],[9, 3, 3],[18, 13, 3],[15, 13, 2],[16, 13, 3],[15, 15, 0],[9, 13, 1],[11, 10, 1],[14, 13, 0],[14, 10, 3],[7, 3, 2],[3, 2, 2],[7, 5, 3],[3, 5, 0],[14, 11, 0],[14, 6, 3],[12, 6, 0],[13, 6, 3],[12, 5, 3],[5, 5, 2],[5, 6, 3],[4, 6, 2],[4, 11, 3],[3, 2, 3],[0, 11, 0],[0, 2, 1],[0, 3, 1],[4, 3, 2],[14, 4, 0],[15, 4, 3],[14, 3, 2],[13, 4, 2],[13, 8, 1],[14, 8, 0],[14, 6, 3],[12, 6, 0],[13, 6, 3],[12, 5, 3],[5, 5, 2],[5, 6, 1],[6, 6, 0],[4, 5, 2],[4, 11, 3],[0, 11, 2],[4, 12, 3],[0, 14, 0],[0, 12, 1],[0, 13, 1],[18, 8, 3],[16, 8, 2],[15, 13, 2],[16, 13, 3],[15, 15, 0],[9, 13, 1],[11, 10, 1],[14, 13, 0],[14, 10, 3],[14, 11, 0],[14, 6, 3],[12, 6, 0],[13, 6, 3],[3, 2, 2],[12, 5, 3],[3, 5, 0],[4, 5, 2],[4, 11, 3],[0, 11, 2],[4, 12, 3],[0, 14, 0],[0, 12, 1],[0, 13, 1],[6, 4, 1],[8, 4, 2],[8, 5, 1],[13, 5, 2],[13, 8, 1],[11, 10, 1],[14, 8, 2],[14, 10, 3],[14, 9, 1],[17, 9, 2],[17, 11, 3],[11, 10, 1],[11, 11, 0],[14, 10, 3],[12, 10, 2],[15, 13, 2],[12, 15, 1],[15, 15, 0],[12, 8, 2],[14, 15, 3],[12, 15, 0],[13, 15, 0],[2, 13, 2],[2, 19, 3],[3, 17, 3],[0, 19, 0],[0, 17, 1],[0, 18, 0],[0, 16, 1],[4, 16, 0],[4, 12, 3],[4, 13, 0],[0, 12, 1],[4, 5, 1],[13, 5, 2],[13, 8, 1],[14, 8, 2],[14, 13, 3],[9, 13, 0],[9, 11, 2],[12, 16, 3],[9, 19, 0],[9, 16, 1],[9, 17, 1],[13, 16, 1],[13, 17, 0],[14, 16, 3],[13, 10, 3],[12, 10, 2],[12, 16, 3],[12, 15, 2],[9, 16, 1],[12, 18, 0],[12, 17, 1],[13, 16, 1],[13, 17, 0],[14, 16, 3],[13, 12, 1]]);
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>