-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
130 lines (117 loc) · 8 KB
/
index.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html>
<head>
<title>Android Pattern Visualizer</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.jsdelivr.net/npm/vivus@latest/dist/vivus.min.js"></script>
<link rel="icon" type="image/png" href="resources/favicon.png" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans" />
<link rel="stylesheet" href="resources/style.css" />
<script src="resources/script.js"></script>
</head>
<body>
<div id="phone_container">
<img id="phone_frame" src="resources/phone_frame.png" onload="onPhoneFrameLoaded()" />
<div id="pattern_count_indicator">
<b>Loading Patterns...</b>
</div>
<div id="point_grid">
<span class="point" id="point0"></span>
<span class="point" id="point1"></span>
<span class="point" id="point2"></span>
<span class="point" id="point3"></span>
<span class="point" id="point4"></span>
<span class="point" id="point5"></span>
<span class="point" id="point6"></span>
<span class="point" id="point7"></span>
<span class="point" id="point8"></span>
<svg id="pattern">
<path class="pattern_path" id="line_0to1" startpoint="0" endpoint="1" />
<path class="pattern_path" id="line_0to2" startpoint="0" endpoint="2" />
<path class="pattern_path" id="line_0to3" startpoint="0" endpoint="3" />
<path class="pattern_path" id="line_0to4" startpoint="0" endpoint="4" />
<path class="pattern_path" id="line_0to5" startpoint="0" endpoint="5" />
<path class="pattern_path" id="line_0to6" startpoint="0" endpoint="6" />
<path class="pattern_path" id="line_0to7" startpoint="0" endpoint="7" />
<path class="pattern_path" id="line_0to8" startpoint="0" endpoint="8" />
<path class="pattern_path" id="line_1to0" startpoint="1" endpoint="0" />
<path class="pattern_path" id="line_1to2" startpoint="1" endpoint="2" />
<path class="pattern_path" id="line_1to3" startpoint="1" endpoint="3" />
<path class="pattern_path" id="line_1to4" startpoint="1" endpoint="4" />
<path class="pattern_path" id="line_1to5" startpoint="1" endpoint="5" />
<path class="pattern_path" id="line_1to6" startpoint="1" endpoint="6" />
<path class="pattern_path" id="line_1to7" startpoint="1" endpoint="7" />
<path class="pattern_path" id="line_1to8" startpoint="1" endpoint="8" />
<path class="pattern_path" id="line_2to0" startpoint="2" endpoint="0" />
<path class="pattern_path" id="line_2to1" startpoint="2" endpoint="1" />
<path class="pattern_path" id="line_2to3" startpoint="2" endpoint="3" />
<path class="pattern_path" id="line_2to4" startpoint="2" endpoint="4" />
<path class="pattern_path" id="line_2to5" startpoint="2" endpoint="5" />
<path class="pattern_path" id="line_2to6" startpoint="2" endpoint="6" />
<path class="pattern_path" id="line_2to7" startpoint="2" endpoint="7" />
<path class="pattern_path" id="line_2to8" startpoint="2" endpoint="8" />
<path class="pattern_path" id="line_3to0" startpoint="3" endpoint="0" />
<path class="pattern_path" id="line_3to1" startpoint="3" endpoint="1" />
<path class="pattern_path" id="line_3to2" startpoint="3" endpoint="2" />
<path class="pattern_path" id="line_3to4" startpoint="3" endpoint="4" />
<path class="pattern_path" id="line_3to5" startpoint="3" endpoint="5" />
<path class="pattern_path" id="line_3to6" startpoint="3" endpoint="6" />
<path class="pattern_path" id="line_3to7" startpoint="3" endpoint="7" />
<path class="pattern_path" id="line_3to8" startpoint="3" endpoint="8" />
<path class="pattern_path" id="line_4to0" startpoint="4" endpoint="0" />
<path class="pattern_path" id="line_4to1" startpoint="4" endpoint="1" />
<path class="pattern_path" id="line_4to2" startpoint="4" endpoint="2" />
<path class="pattern_path" id="line_4to3" startpoint="4" endpoint="3" />
<path class="pattern_path" id="line_4to5" startpoint="4" endpoint="5" />
<path class="pattern_path" id="line_4to6" startpoint="4" endpoint="6" />
<path class="pattern_path" id="line_4to7" startpoint="4" endpoint="7" />
<path class="pattern_path" id="line_4to8" startpoint="4" endpoint="8" />
<path class="pattern_path" id="line_5to0" startpoint="5" endpoint="0" />
<path class="pattern_path" id="line_5to1" startpoint="5" endpoint="1" />
<path class="pattern_path" id="line_5to2" startpoint="5" endpoint="2" />
<path class="pattern_path" id="line_5to3" startpoint="5" endpoint="3" />
<path class="pattern_path" id="line_5to4" startpoint="5" endpoint="4" />
<path class="pattern_path" id="line_5to6" startpoint="5" endpoint="6" />
<path class="pattern_path" id="line_5to7" startpoint="5" endpoint="7" />
<path class="pattern_path" id="line_5to8" startpoint="5" endpoint="8" />
<path class="pattern_path" id="line_6to0" startpoint="6" endpoint="0" />
<path class="pattern_path" id="line_6to1" startpoint="6" endpoint="1" />
<path class="pattern_path" id="line_6to2" startpoint="6" endpoint="2" />
<path class="pattern_path" id="line_6to3" startpoint="6" endpoint="3" />
<path class="pattern_path" id="line_6to4" startpoint="6" endpoint="4" />
<path class="pattern_path" id="line_6to5" startpoint="6" endpoint="5" />
<path class="pattern_path" id="line_6to7" startpoint="6" endpoint="7" />
<path class="pattern_path" id="line_6to8" startpoint="6" endpoint="8" />
<path class="pattern_path" id="line_7to0" startpoint="7" endpoint="0" />
<path class="pattern_path" id="line_7to1" startpoint="7" endpoint="1" />
<path class="pattern_path" id="line_7to2" startpoint="7" endpoint="2" />
<path class="pattern_path" id="line_7to3" startpoint="7" endpoint="3" />
<path class="pattern_path" id="line_7to4" startpoint="7" endpoint="4" />
<path class="pattern_path" id="line_7to5" startpoint="7" endpoint="5" />
<path class="pattern_path" id="line_7to6" startpoint="7" endpoint="6" />
<path class="pattern_path" id="line_7to8" startpoint="7" endpoint="8" />
<path class="pattern_path" id="line_8to0" startpoint="8" endpoint="0" />
<path class="pattern_path" id="line_8to1" startpoint="8" endpoint="1" />
<path class="pattern_path" id="line_8to2" startpoint="8" endpoint="2" />
<path class="pattern_path" id="line_8to3" startpoint="8" endpoint="3" />
<path class="pattern_path" id="line_8to4" startpoint="8" endpoint="4" />
<path class="pattern_path" id="line_8to5" startpoint="8" endpoint="5" />
<path class="pattern_path" id="line_8to6" startpoint="8" endpoint="6" />
<path class="pattern_path" id="line_8to7" startpoint="8" endpoint="7" />
</svg>
</div>
</div>
<div id="text_container_top">
<h1>Android Pattern Visualizer</h1>
<div class="mode-selector">
<input type="radio" id="mode-random" name="selector" onchange="beginRandomMode()" checked><label for="mode-random">Random</label><input type="radio" id="mode-sequential" name="selector" onchange="beginSequentialMode()"><label for="mode-sequential">Sequential</label>
</div>
</div>
<div id="text_container_bottom">
<h5>
This project would not have been possible without <a href="https://github.com/maxwellito/vivus" target="_blank">Vivus</a>, <a href="https://play.google.com/store/apps/details?id=de.toastcode.screener&hl=en_IN" target="_blank">Screener</a>, <a href="https://earthview.withgoogle.com/illizi-algeria-1102" target="_blank">Google EarthView</a> and the <a href="https://codepen.io/skeddles/pen/PbROLK" target="_blank">pretty radio button by skeddles</a>
</h5>
<img src="resources/GitHub-Mark-Light-32px.png" width="16px" height="auto" /> <b><a href="https://github.com/psyclone20/Android-Pattern-Visualizer" target="_blank">Visualizer</a> | <a href="https://github.com/psyclone20/Android-Pattern-Generator" target="_blank">Generator</a></b>
</div>
</body>
</html>