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