-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (125 loc) · 5.02 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
<!DOCTYPE html>
<html lang=cmn>
<head>
<meta charset=UTF-8>
<title>简易钢琴模拟器</title>
<meta name=viewport content="width=device-width, initial-scale=1, user-scalable=no">
<meta name=apple-mobile-web-app-capable content=yes>
<link rel=apple-touch-icon sizes="152x152" href="/apple-touch-icon.png">
<link rel=stylesheet href="./style.css">
</head>
<body>
<main>
<svg id=svg role=application aria-describedby=desc>
<g id=octave0>
<rect data-note=-48 class="key key9" />
<rect data-note=-46 class="key key11" />
<rect data-note=-47 class="key key10" />
</g>
<g id=octave1>
<rect data-note=-45 class="key key0" />
<rect data-note=-43 class="key key2" />
<rect data-note=-41 class="key key4" />
<rect data-note=-40 class="key key5" />
<rect data-note=-38 class="key key7" />
<rect data-note=-36 class="key key9" />
<rect data-note=-34 class="key key11" />
<rect data-note=-44 class="key key1" />
<rect data-note=-42 class="key key3" />
<rect data-note=-39 class="key key6" />
<rect data-note=-37 class="key key8" />
<rect data-note=-35 class="key key10" />
</g>
<g id=octave2>
<rect data-note=-33 class="key key0" />
<rect data-note=-31 class="key key2" />
<rect data-note=-29 class="key key4" />
<rect data-note=-28 class="key key5" />
<rect data-note=-26 class="key key7" />
<rect data-note=-24 class="key key9" />
<rect data-note=-22 class="key key11" />
<rect data-note=-32 class="key key1" />
<rect data-note=-30 class="key key3" />
<rect data-note=-27 class="key key6" />
<rect data-note=-25 class="key key8" />
<rect data-note=-23 class="key key10" />
</g>
<g id=octave3>
<rect data-note=-21 class="key key0" />
<rect data-note=-19 class="key key2" />
<rect data-note=-17 class="key key4" />
<rect data-note=-16 class="key key5" />
<rect data-note=-14 class="key key7" />
<rect data-note=-12 class="key key9" />
<rect data-note=-10 class="key key11" />
<rect data-note=-20 class="key key1" />
<rect data-note=-18 class="key key3" />
<rect data-note=-15 class="key key6" />
<rect data-note=-13 class="key key8" />
<rect data-note=-11 class="key key10" />
</g>
<g id=octave4>
<rect data-note=-9 class="key key0" style="fill: #ddd" />
<rect data-note=-7 class="key key2" />
<rect data-note=-5 class="key key4" />
<rect data-note=-4 class="key key5" />
<rect data-note=-2 class="key key7" />
<rect data-note=0 class="key key9" />
<rect data-note=2 class="key key11" />
<rect data-note=-8 class="key key1" />
<rect data-note=-6 class="key key3" />
<rect data-note=-3 class="key key6" />
<rect data-note=-1 class="key key8" />
<rect data-note=1 class="key key10" />
</g>
<g id=octave5>
<rect data-note=3 class="key key0" />
<rect data-note=5 class="key key2" />
<rect data-note=7 class="key key4" />
<rect data-note=8 class="key key5" />
<rect data-note=10 class="key key7" />
<rect data-note=12 class="key key9" />
<rect data-note=14 class="key key11" />
<rect data-note=4 class="key key1" />
<rect data-note=6 class="key key3" />
<rect data-note=9 class="key key6" />
<rect data-note=11 class="key key8" />
<rect data-note=13 class="key key10" />
</g>
<g id=octave6>
<rect data-note=15 class="key key0" />
<rect data-note=17 class="key key2" />
<rect data-note=19 class="key key4" />
<rect data-note=20 class="key key5" />
<rect data-note=22 class="key key7" />
<rect data-note=24 class="key key9" />
<rect data-note=26 class="key key11" />
<rect data-note=16 class="key key1" />
<rect data-note=18 class="key key3" />
<rect data-note=21 class="key key6" />
<rect data-note=23 class="key key8" />
<rect data-note=25 class="key key10" />
</g>
<g id=octave7>
<rect data-note=27 class="key key0" />
<rect data-note=29 class="key key2" />
<rect data-note=31 class="key key4" />
<rect data-note=32 class="key key5" />
<rect data-note=34 class="key key7" />
<rect data-note=36 class="key key9" />
<rect data-note=38 class="key key11" />
<rect data-note=28 class="key key1" />
<rect data-note=30 class="key key3" />
<rect data-note=33 class="key key6" />
<rect data-note=35 class="key key8" />
<rect data-note=37 class="key key10" />
</g>
<g id=octave8>
<rect data-note=39 class="key key0" />
</g>
</svg>
<p id=desc>使用触摸屏设备演奏模拟钢琴。<span lang=en>Use a touchscreen device to play the simulated piano.</span></p>
</main>
<script src="script.js"></script>
</body>
</html>