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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="assets/css/radial.css">
</head>
<body>
<!-- <svg viewBox="-150 -130 300 260" xmlns="http://www.w3.org/2000/svg"> -->
<!-- <svg viewBox="-300 -250 600 500" xmlns="http://www.w3.org/2000/svg"> -->
<svg viewBox="-900 -600 1800 1200" xmlns="http://www.w3.org/2000/svg">
<defs>
<polygon id="hex" points="0,10 8.66,5 8.66,-5 0,-10 -8.66,-5 -8.66,5" />
<line id="ast-line" stroke="#000000" stroke-width="0.3" x1="-1.2" y1="0" x2="1.2" y2="0" />
<pattern id="asterisk" viewBox="-15 -15 30 30" width="30" height="30" patternUnits="userSpaceOnUse">
<rect x="-15" y="-15" width="30" height="30" fill="wheat" />
<use y="-15" x="-15" href="#ast-line" />
<use y="-15" x="15" href="#ast-line" />
<use y="15" x="-15" href="#ast-line" />
<use y="15" x="15" href="#ast-line" />
<use y="-15" x="-15" transform="rotate(60, -15, -15)" href="#ast-line" />
<use y="15" x="15" transform="rotate(60, 15, 15)" href="#ast-line" />
<use y="-15" x="15" transform="rotate(-60, 15, -15)" href="#ast-line" />
<use y="15" x="-15" transform="rotate(-60, -15, 15)" href="#ast-line" />
</pattern>
<g id="building1" class="building">
<path id="building1-floor" class="floor" d="M -38.969999,-67.499999 H 38.969999 V 67.499999 h -77.939998 z" />
<path id="building1-outer-wall" class="outer-wall"
d="m 38.969998,-7.500001 h -12.99 v 12.5 m -21.6499995,32.5 H 38.969998 m -34.6399995,30 v -60 h -8.66 v -45 m -8.6600005,105 v -45 h -25.979997 m 0,-89.999998 H 38.969999 V 67.499999 h -77.939998 z" />
<path id="building1-inner-wall" class="inner-wall"
d="m 38.969998,-7.500001 h -12.99 v 12.5 m -21.6499995,32.5 H 38.969998 m -34.6399995,30 v -60 h -8.66 v -45 m -8.6600005,105 v -45 h -25.979997 m 0,-89.999998 H 38.969999 V 67.499999 h -77.939998 z" />
</g>
<g id="building2" class="building">
<path id="building2-floor" class="floor"
d="m 38.786985,67.5 17.32,-30 v -45 l -17.32,-30 v -30 h -77.94 v 30 l -17.32,30 v 45 l 17.32,30 z" />
<path id="building2-outer-wall" class="outer-wall"
d="m -21.833015,67.5 v -60 m 17.3200004,-75 v 30 M 17.136985,15 4.146985,7.5 m 51.96,30 -12.99,-7.5 m -38.97,-67.5 v 45 h -60.62 m 17.32,-45 h 77.94 m -69.28,105 h 69.28 l 17.32,-30 v -45 l -17.32,-30 v -30 h -77.94 v 30 l -17.32,30 v 45 l 17.32,30 z" />
<path id="building2-inner-wall" class="inner-wall"
d="m -21.833015,67.5 v -60 m 17.3200004,-75 v 30 M 17.136985,15 4.146985,7.5 m 51.96,30 -12.99,-7.5 m -38.97,-67.5 v 45 h -60.62 m 17.32,-45 h 77.94 m -69.28,105 h 69.28 l 17.32,-30 v -45 l -17.32,-30 v -30 h -77.94 v 30 l -17.32,30 v 45 l 17.32,30 z" />
<path id="building2-doors" class="doors"
d="m 3.698745,-67.5 h 9.55648 m 7.76351,30 h 9.55648 M -4.9612546,67.5 H 4.595225 m -18.71725,-60 h 9.5564804 m -35.0357204,0 h 9.55648 m 33.74353,-75 h 9.55648 m -35.53648,30 h 9.55648 m 7.7635204,105 H 4.595225 m -18.71725,-60 h 9.5564804 m -35.0357204,0 h 9.55648" />
</g>
<g id="building3" class="building">
<path id="building3-floor" class="floor" d="m -30.310003,52.5 v -89.999997 h 60.62001 V 52.5 Z" />
<path id="building3-outer-wall" class="outer-wall"
d="m -21.650003,3e-6 h -8.659995 m 34.640005,-37.5 v 45 m 0,30 v -15 m -8.66,30.000001 V 37.500003 m 34.64,0 h -60.620005 m 60.620005,15 v -90 h -60.620005 v 90 z" />
<path id="building3-inner-wall" class="inner-wall"
d="m -21.650003,3e-6 h -8.659995 m 34.640005,-37.5 v 45 m 0,30 v -15 m -8.66,30.000001 V 37.500003 m 34.64,0 h -60.620005 m 60.620005,15 v -90 h -60.620005 v 90 z" />
</g>
<g id="building4" class="building">
<rect id="building4-floor" class="floor" width="69.279999" height="120" x="-30.309992" y="-52.499996" />
<path id="building4-outer-wall" class="outer-wall"
d="m -30.31,52.5 h 17.32 m 34.64001,-45 0,-30 m 17.32,75 H 4.33 m 34.64001,-45 h -34.64 l 0,60 m 34.64,-90 H 4.33 m 0,-30 L 4.33,-7.4999998 H -30.31 M -30.31,-52.5 h 69.28 v 120 h -69.28 z" />
<path id="building4-inner-wall" class="inner-wall"
d="m -30.31,52.5 h 17.32 m 34.64001,-45 0,-30 m 17.32,75 H 4.33 m 34.64001,-45 h -34.64 l 0,60 m 34.64,-90 H 4.33 m 0,-30 L 4.33,-7.4999998 H -30.31 M -30.31,-52.5 h 69.28 v 120 h -69.28 z" />
</g>
<g id="building5" class="building">
<rect id="building5-floor" class="floor" width="147.22" height="60" x="-82.269997" y="-37.5" />
<path id="building5-outer-wall" class="outer-wall"
d="M -56.289999,-7.5 H -64.95 m 8.660001,-15 H -64.95 m -12.989999,15 h -4.329999 m 4.329999,-15 h -4.33 m 47.63,32.5 V 22.5 M 0,10 v 12.5 m 21.650001,-60 v 30 m -34.64,0 v -30 m -43.3,0 v 30 h 103.92 m 0,-30 v 60 m -129.899999,-60 H 64.950001 v 60 h -147.22 z" />
<path id="building5-inner-wall" class="inner-wall"
d="M -56.289999,-7.5 H -64.95 m 8.660001,-15 H -64.95 m -12.989999,15 h -4.329999 m 4.329999,-15 h -4.33 m 47.63,32.5 V 22.5 M 0,10 v 12.5 m 21.650001,-60 v 30 m -34.64,0 v -30 m -43.3,0 v 30 h 103.92 m 0,-30 v 60 m -129.899999,-60 H 64.950001 v 60 h -147.22 z" />
</g>
<g id="building6" class="building">
<rect id="building6-floor" class="floor" width="43.299999" height="120" x="-12.990005" y="-67.5" />
<path id="building6-outer-wall" class="outer-wall"
d="m 12.99,7.5 v 15 m 17.32,0 h -43.3 m 17.32,-90 v 45 h 25.98 m -43.30001,-45 H 30.31 v 120 h -43.30001 z" />
<path id="building6-inner-wall" class="inner-wall"
d="m 12.99,7.5 v 15 m 17.32,0 h -43.3 m 17.32,-90 v 45 h 25.98 m -43.30001,-45 H 30.31 v 120 h -43.30001 z" />
</g>
<g id="building7" class="building">
<path id="building7-floor" class="floor"
d="m -116.91,-52.5 v 105 h 25.98 l 8.66,-15 h 77.94 l 8.66038,15.00022 h 103.92 v -120 h -155.88 L -73.61,-52.5 Z" />
<path id="building7-outer-wall" class="outer-wall"
d="M -86.6,20 V 7.5 h 21.65 v 15 h 4.33 M -77.94,25 V 37.5 M 38.970381,52.50022 v -30 M -43.3,37.5 v -15 h -17.32 v 15 m 38.97,0 v -15 h 17.32 m 43.300001,-60 v -30 M 4.33038,-37.49978 v -30 m -43.30076,44.99956 H 4.33038 v -14.99956 h 69.280001 m 34.639999,60 H -4.33038 V 37.5 m 77.940761,15.00022 v -120 M -108.25,-7.5 h -8.66 m 77.93962,-59.99978 v 60 H -82.26962 M -116.91,-52.5 v 105 h 25.98 l 8.66,-15 h 77.94 l 8.66038,15.00022 h 103.92 v -120 h -155.88 L -73.61,-52.5 Z" />
<path id="building7-inner-wall" class="inner-wall"
d="M -86.6,20 V 7.5 h 21.65 v 15 h 4.33 M -77.94,25 V 37.5 M 38.970381,52.50022 v -30 M -43.3,37.5 v -15 h -17.32 v 15 m 38.97,0 v -15 h 17.32 m 43.300001,-60 v -30 M 4.33038,-37.49978 v -30 m -43.30076,44.99956 H 4.33038 v -14.99956 h 69.280001 m 34.639999,60 H -4.33038 V 37.5 m 77.940761,15.00022 v -120 M -108.25,-7.5 h -8.66 m 77.93962,-59.99978 v 60 H -82.26962 M -116.91,-52.5 v 105 h 25.98 l 8.66,-15 h 77.94 l 8.66038,15.00022 h 103.92 v -120 h -155.88 L -73.61,-52.5 Z" />
</g>
<g id="building8" class="building">
<path id="building8-floor" class="floor"
d="m -90.93,-112.5 h 51.96 l 8.66,15 h 95.26 l 8.66,-15 h 43.3 v 15 l -25.98,45 v 60 h 34.64 v 75 h -43.3 v -30 H 12.99 l -25.98,45 h -103.92 v -90 h 25.98 z" />
<path id="building8-outer-wall" class="outer-wall"
d="m -90.93,-112.5 h 51.96 l 8.66,15 h 95.26 l 8.66,-15 h 43.3 v 15 l -25.98,45 v 60 h 34.64 v 75 h -43.3 v -30 H 12.99 l -25.98,45 h -103.92 v -90 h 25.98 z m 77.94,30 v 15 h 69.28 v -15 m -86.6,37.5 v 7.5 m 0,-60 V -75 M 73.61,-112.5 V -75 M -90.93,-37.5 H 90.93 m 0,45 H -90.93 m 173.2,45 v -15 h 43.3 m -112.58,0 h -43.3 v 60 m 43.3,-45 v -45 m -69.28,30 h -60.62 m 60.62,30 h -60.62 m 60.62,-60 v 90" />
<path id="building8-inner-wall" class="inner-wall"
d="m -90.93,-112.5 h 51.96 l 8.66,15 h 95.26 l 8.66,-15 h 43.3 v 15 l -25.98,45 v 60 h 34.64 v 75 h -43.3 v -30 H 12.99 l -25.98,45 h -103.92 v -90 h 25.98 z m 77.94,30 v 15 h 69.28 v -15 m -86.6,37.5 v 7.5 m 0,-60 V -75 M 73.61,-112.5 V -75 M -90.93,-37.5 H 90.93 m 0,45 H -90.93 m 173.2,45 v -15 h 43.3 m -112.58,0 h -43.3 v 60 m 43.3,-45 v -45 m -69.28,30 h -60.62 m 60.62,30 h -60.62 m 60.62,-60 v 90" />
</g>
<g id="terrain" class="terrain">
<rect id="terrain-floor" class="floor" x="-52.75" y="-68" width="105.5" height="136" id="rect3415" />
<g id="terrain-trees">
<use href="#tree" transform="translate(-27,-45.25)" />
<use href="#tree" transform="translate(-40.25,-38)" />
<use href="#tree" transform="translate(-9.5,-45.5)" />
<use href="#tree" transform="translate(12,-53.25)" />
<use href="#tree" transform="translate(24.75,-45.5)" />
<use href="#tree" transform="translate(-0.75,-30.5)" />
<use href="#tree" transform="translate(20.5,-23)" />
<use href="#tree" transform="translate(42.25,-15.25)" />
<use href="#tree" transform="translate(-31.25,-8.25)" />
<use href="#tree" transform="translate(-5,-8)" />
<use href="#tree" transform="translate(-22.75,6.5)" />
<use href="#tree" transform="translate(11.75,7)" />
<use href="#tree" transform="translate(-40.25,21)" />
<use href="#tree" transform="translate(-5.5,21.5)" />
<use href="#tree" transform="translate(29,21.5)" />
<use href="#tree" transform="translate(-5.25,36.75)" />
<use href="#tree" transform="translate(20.5,36.25)" />
<use href="#tree" transform="translate(-39.5,52.25)" />
<use href="#tree" transform="translate(-13.75,51.75)" />
<use href="#tree" transform="translate(37.5,51.5)" />
</g>
<g id="terrain-bushes">
<use href="#bush" transform="rotate(28,94.297823,-93.802885)" />
<use href="#bush" transform="rotate(-145,-21.545946,-8.1860959)" />
<use href="#bush" transform="rotate(110,19.693337,-28.125)" />
<use href="#bush" transform="rotate(-140,5.1953223,-33.175546)" />
<use href="#bush" transform="rotate(110,36.642507,-10.295901)" />
<use href="#bush" transform="rotate(-150,17.875472,-25.287831)" />
<use href="#bush" transform="rotate(100,27.428408,1.0750314)" />
<use href="#bush" transform="rotate(-110,-18.174792,14.216417)" />
<use href="#bush" transform="rotate(165,-8.34839,-5.1684159)" />
<use href="#bush" transform="rotate(-175,16.86356,-3.867236)" />
<use href="#bush" transform="rotate(110,21.661955,19.079877)" />
<use href="#bush" transform="rotate(-130,-2.6600386,7.0232498)" />
<use href="#bush" transform="rotate(-70,2.1777775,2.589074)" />
<use href="#bush" transform="rotate(-80,17.633507,-16.174242)" />
<use href="#bush" transform="rotate(120,15.001016,20.494174)" />
<use href="#bush" transform="rotate(170,-23.574796,16.075249)" />
<use href="#bush" transform="rotate(145,-21.801544,10.304333)" />
<use href="#bush" transform="rotate(-170,-10.050204,19.017056)" />
<use href="#bush" transform="rotate(100,-19.214308,4.1133284)" />
<use href="#bush" transform="translate(7,45.75)" />
<use href="#bush" transform="translate(17.5,59.75)" />
<use href="#bush" transform="translate(25,50.75)" />
<use href="#bush" transform="rotate(-70,42.278146,-6.0464791)" />
</g>
</g>
<g id="tree">
<mask id="trunk-outline">
<circle r="6.5" fill="white" />
<circle r="2.5" fill="black" />
</mask>
<circle class="branches" r="6.5" mask="url(#trunk-outline)" />
<circle class="trunk" r="2" />
</g>
<path id="bush"
d="m -4.8419646,1.6815712 c -0.2224,-0.58797 0.0373,-1.22438 -0.11465,-1.82718 -0.13335,-0.57348 -0.0486,-1.19322 0.31662,-1.6677 0.37485,-0.58981 0.9292504,-1.02199 1.5203804,-1.37775 0.37791,-0.29058 0.8322,-0.69438 1.3447,-0.48093 0.52883,0.22124 1.11777002,0.36526 1.69168002,0.27538 0.45164,-0.13122 0.78493,-0.50193 1.10890998,-0.82213 0.23823,-0.4706 0.79876,-0.76529 1.26021,-0.37753 0.75174,0.33698 1.53457,0.94104 1.60186,1.82553 0.009,0.47845 0.33305,0.83858 0.6865,1.11902 0.3949,0.43049 0.5194497,1.08616 0.39622,1.64816 -0.12486,0.51765 -0.59592,0.79391 -1.00538,1.0662 -0.3993,0.35161 -0.92629,0.72761 -0.88679,1.32791 0.0351,0.43819 -0.044,0.93411 -0.4491,1.18369 -0.75886,0.59794 -1.65352998,1.04869 -2.62829997769,1.12983 C -0.59642418,4.8046512 -1.2461242,4.8453312 -1.7811342,4.5051412 c -0.38949,-0.19045 -0.66499,-0.546 -0.75306,-0.96928 -0.19955,-0.51044 -0.67924,-0.93234 -1.24126,-0.95844 -0.4601204,-0.10269 -0.8649404,-0.47575 -1.0665104,-0.89585 z" />
</defs>
<g class="gameboard" data-view-elevation="0"></g>
</svg>
<div class="select-elevation">
<button>🡅</button>
<input type="radio" id="select-elevation-3" name="select-elevation" value="3" />
<label for="select-elevation-3">3</label>
<input type="radio" id="select-elevation-2" name="select-elevation" value="2" />
<label for="select-elevation-2">2</label>
<input type="radio" id="select-elevation-1" name="select-elevation" value="1" />
<label for="select-elevation-1">1</label>
<input type="radio" id="select-elevation-0" name="select-elevation" value="0" checked />
<label for="select-elevation-0">0</label>
<input type="radio" id="select-elevation-basement" name="select-elevation" value="-1" />
<label for="select-elevation-basement">-1</label>
<button>🡇</button>
</div>
<script src="radial.js"></script>
</body>
</html>
|