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