Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
450 lines (408 loc) · 20.3 KB
/
Copy pathindex.html
File metadata and controls
450 lines (408 loc) · 20.3 KB
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Teachlets — Interaktive Lehrmodule</title>
<meta name="description" id="meta-description" content="Teachlets der Professur für Geoinformatik — 11 Lehrmodule für Algorithmen, Geometrie und GIS.">
<link rel="stylesheet" href="common/style.css">
<link rel="stylesheet" href="common/landing.css">
</head>
<body data-lang="de">
<!-- ===== SVG-Glyph-Sprite (inline, kein Cross-Doc-Shadow-Bug) =====
Wird als verstecktes <svg> eingebettet, damit alle <use href="#glyph-…"/>
same-document sind. Firefox würde sonst das <style> aus einer
extern referenzierten SVG-Datei nicht in den <use>-Shadow-Tree
anwenden, was zu "vollflächig schwarz" Glyphen führt. -->
<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0"
style="position:absolute;width:0;height:0;overflow:hidden"
aria-hidden="true" focusable="false">
<style>
.s { fill: none; stroke: currentColor; stroke-width: 1.75;
stroke-linecap: round; stroke-linejoin: round;
vector-effect: non-scaling-stroke; }
.f { fill: currentColor; stroke: none; }
.t { fill: none; stroke: currentColor; stroke-width: 0.9;
stroke-linecap: round; stroke-linejoin: round;
vector-effect: non-scaling-stroke; }
</style>
<defs>
<!-- ant -->
<symbol id="glyph-ant" viewBox="0 0 48 48">
<line class="s" x1="14" y1="8" x2="14" y2="42"/>
<line class="s" x1="26" y1="8" x2="26" y2="42"/>
<line class="s" x1="38" y1="8" x2="38" y2="42"/>
<line class="s" x1="8" y1="14" x2="42" y2="14"/>
<line class="s" x1="8" y1="26" x2="42" y2="26"/>
<line class="s" x1="8" y1="38" x2="42" y2="38"/>
<rect class="f" x="9" y="15" width="4" height="10"/>
<rect class="f" x="21" y="15" width="4" height="10"/>
<rect class="f" x="33" y="27" width="4" height="10"/>
<path class="s" d="M14 22 L26 22 L26 32 M22 28 L26 32 L30 28"/>
</symbol>
<!-- gol -->
<symbol id="glyph-gol" viewBox="0 0 48 48">
<rect class="s" x="9" y="9" width="10" height="10"/>
<rect class="s" x="19" y="9" width="10" height="10"/>
<rect class="s" x="29" y="9" width="10" height="10"/>
<rect class="s" x="9" y="19" width="10" height="10"/>
<rect class="f" x="19" y="19" width="10" height="10"/>
<rect class="s" x="29" y="19" width="10" height="10"/>
<rect class="s" x="9" y="29" width="10" height="10"/>
<rect class="s" x="19" y="29" width="10" height="10"/>
<rect class="s" x="29" y="29" width="10" height="10"/>
</symbol>
<!-- rlc -->
<symbol id="glyph-rlc" viewBox="0 0 48 48">
<rect class="f" x="6" y="16" width="20" height="8"/>
<line class="s" x1="6" y1="30" x2="26" y2="30"/>
<line class="s" x1="6" y1="28" x2="6" y2="32"/>
<line class="s" x1="26" y1="28" x2="26" y2="32"/>
<rect class="f" x="32" y="16" width="8" height="8"/>
<line class="s" x1="32" y1="30" x2="40" y2="30"/>
<line class="s" x1="32" y1="28" x2="32" y2="32"/>
<line class="s" x1="40" y1="28" x2="40" y2="32"/>
</symbol>
<!-- quadtree -->
<symbol id="glyph-quadtree" viewBox="0 0 48 48">
<rect class="s" x="6" y="6" width="36" height="36"/>
<line class="s" x1="24" y1="6" x2="24" y2="42"/>
<line class="s" x1="6" y1="24" x2="42" y2="24"/>
<rect class="s" x="6" y="6" width="18" height="18"/>
<line class="s" x1="15" y1="6" x2="15" y2="24"/>
<line class="s" x1="6" y1="15" x2="24" y2="15"/>
<rect class="s" x="6" y="6" width="9" height="9"/>
<line class="s" x1="10.5" y1="6" x2="10.5" y2="15"/>
<line class="s" x1="6" y1="10.5" x2="15" y2="10.5"/>
<rect class="f" x="24" y="24" width="18" height="18"/>
</symbol>
<!-- voronoi -->
<symbol id="glyph-voronoi" viewBox="0 0 48 48">
<polygon class="s" points="6,18 15,9 22,18 18,30 6,30"/>
<polygon class="s" points="15,9 30,8 32,18 22,18"/>
<polygon class="s" points="32,18 42,14 42,30 30,32 22,18"/>
<polygon class="s" points="6,30 18,30 24,42 6,42"/>
<polygon class="s" points="24,42 36,38 42,30 30,32"/>
<circle class="f" cx="13" cy="22" r="1.7"/>
<circle class="f" cx="22" cy="13" r="1.7"/>
<circle class="f" cx="32" cy="14" r="1.7"/>
<circle class="f" cx="32" cy="36" r="1.7"/>
</symbol>
<!-- curves -->
<symbol id="glyph-curves" viewBox="0 0 48 48">
<line class="s" x1="6" y1="42" x2="44" y2="42"/>
<line class="s" x1="6" y1="42" x2="6" y2="6"/>
<path class="s" d="M6 36 C 14 12, 28 36, 42 10"/>
<circle class="f" cx="6" cy="36" r="2"/>
<circle class="f" cx="24" cy="22" r="2"/>
<circle class="f" cx="42" cy="10" r="2"/>
</symbol>
<!-- idw -->
<symbol id="glyph-idw" viewBox="0 0 48 48">
<circle class="s" cx="24" cy="24" r="18"/>
<circle class="s" cx="24" cy="24" r="12"/>
<circle class="s" cx="24" cy="24" r="6"/>
<circle class="f" cx="24" cy="24" r="2.5"/>
<circle class="f" cx="24" cy="6" r="1.6"/>
<circle class="f" cx="42" cy="22" r="1.6"/>
<circle class="f" cx="8" cy="30" r="1.6"/>
</symbol>
<!-- location_planning -->
<symbol id="glyph-location_planning" viewBox="0 0 48 48">
<circle class="s" cx="24" cy="24" r="17"/>
<circle class="f" cx="14" cy="20" r="2.2"/>
<circle class="f" cx="32" cy="14" r="2.2"/>
<circle class="f" cx="30" cy="34" r="2.2"/>
</symbol>
<!-- shortest_path -->
<symbol id="glyph-shortest_path" viewBox="0 0 48 48">
<line class="s" x1="10" y1="12" x2="22" y2="22"/>
<line class="s" x1="22" y1="22" x2="38" y2="14"/>
<line class="s" x1="10" y1="12" x2="14" y2="36"/>
<line class="s" x1="14" y1="36" x2="30" y2="32"/>
<line class="s" x1="30" y1="32" x2="38" y2="14"/>
<line class="s" x1="22" y1="22" x2="30" y2="32"/>
<path class="s" d="M10 12 L22 22 L30 32 L38 14" stroke-width="2.6"/>
<circle class="f" cx="10" cy="12" r="2.4"/>
<circle class="f" cx="22" cy="22" r="2.4"/>
<circle class="f" cx="38" cy="14" r="2.4"/>
<circle class="f" cx="14" cy="36" r="2.4"/>
<circle class="f" cx="30" cy="32" r="2.4"/>
</symbol>
<!-- spatialsys -->
<symbol id="glyph-spatialsys" viewBox="0 0 48 48">
<line class="t" x1="6" y1="42" x2="44" y2="42"/>
<line class="t" x1="44" y1="42" x2="44" y2="6"/>
<line class="t" x1="6" y1="42" x2="44" y2="42"/>
<line class="s" x1="14" y1="32" x2="36" y2="14"/>
<polyline class="s" points="14,32 36,32 36,14" stroke-dasharray="2,2"/>
<circle class="f" cx="14" cy="32" r="2.4"/>
<circle class="f" cx="36" cy="14" r="2.4"/>
</symbol>
<!-- travelling_salesman -->
<symbol id="glyph-travelling_salesman" viewBox="0 0 48 48">
<polygon class="s" points="24,7 41,17 36,37 13,38 7,18"/>
<circle class="f" cx="24" cy="7" r="2.2"/>
<circle class="f" cx="41" cy="17" r="2.2"/>
<circle class="f" cx="36" cy="37" r="2.2"/>
<circle class="f" cx="13" cy="38" r="2.2"/>
<circle class="f" cx="7" cy="18" r="2.2"/>
</symbol>
</defs>
</svg>
<!-- ===== Sprachschalter (oben rechts, immer sichtbar) ===== -->
<div class="lang-toggle" role="group" aria-label="Sprache / Language">
<button class="lang-toggle__btn" type="button" data-target="de" aria-pressed="true" onclick="setLang('de')">DE</button>
<button class="lang-toggle__btn" type="button" data-target="en" aria-pressed="false" onclick="setLang('en')">ENG</button>
</div>
<header class="hero">
<div class="page">
<span class="hero__eyebrow"><span lang="de">Interaktive Lehrmodule</span><span lang="en">Interactive teaching modules</span></span>
<h1 class="hero__title">Teachlets</h1>
</div>
</header>
<!-- ===== Skip-Link (für Tastaturnutzer) ===== -->
<a class="skip-link" href="#nav"><span lang="de">Direkt zur Navigation</span><span lang="en">Skip to navigation</span></a>
<!-- ===== Sticky Category-Bar ===== -->
<nav class="category-bar" id="nav" aria-label="Kategorien">
<div class="page">
<ul class="category-bar__list">
<li><a class="category-bar__link" href="#cat-raster" data-cat="raster">
<span lang="de">Zellulär & Raster</span>
<span lang="en">Cellular & Raster</span>
</a></li>
<li><a class="category-bar__link" href="#cat-spatial" data-cat="spatial">
<span lang="de">Räumliche Algorithmen</span>
<span lang="en">Spatial Algorithms</span>
</a></li>
<li><a class="category-bar__link" href="#cat-numeric" data-cat="numeric">
<span lang="de">Numerik & Geometrie</span>
<span lang="en">Numerics & Geometry</span>
</a></li>
</ul>
</div>
</nav>
<main class="page">
<!-- ===== Sektion: Raster ===== -->
<section class="section" data-cat="raster" id="cat-raster" aria-labelledby="h-raster">
<div class="section__header">
<span class="section__bar" aria-hidden="true"></span>
<h2 class="section__title" id="h-raster">
<span lang="de">Zelluläre Automaten & Raster</span>
<span lang="en">Cellular Automata & Rasters</span>
</h2>
</div>
<div class="card-grid">
<a class="card" href="ant/index.html" data-cat="raster">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-ant"/></svg>
<h3 class="card__title">
<span lang="de">Zellulärer Automat „Ameise"</span>
<span lang="en">Turing Machine „Langton's Ant"</span>
</h3>
<p class="card__desc">
<span lang="de">Eine Ameise bewegt sich auf einem Gitter und färbt Zellen — emergente Pfade aus vier einfachen Regeln.</span>
<span lang="en">An ant walks a grid, flipping cells — emergent paths from just four simple rules.</span>
</p>
</a>
<a class="card" href="gol/index.html" data-cat="raster">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-gol"/></svg>
<h3 class="card__title">
<span lang="de">Zellulärer Automat „Game of Life"</span>
<span lang="en">Turing Machine „Game of Life"</span>
</h3>
<p class="card__desc">
<span lang="de">Conways zellulärer Automat — vier Regeln erzeugen stabile, oszillierende und wandernde Muster.</span>
<span lang="en">Conway's cellular automaton — four rules give rise to still lifes, oscillators and gliders.</span>
</p>
</a>
<a class="card" href="rlc/index.html" data-cat="raster">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-rlc"/></svg>
<h3 class="card__title">
<span lang="de">Lauflängenkodierung</span>
<span lang="en">Run-Length Encoding</span>
</h3>
<p class="card__desc">
<span lang="de">Verlustfreie Kompression durch Zusammenfassen gleicher Folgen — fest und variabel kodiert.</span>
<span lang="en">Lossless compression by grouping equal runs — encoded both fixed-length and variable-length.</span>
</p>
</a>
<a class="card" href="quadtree/index.html" data-cat="raster">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-quadtree"/></svg>
<h3 class="card__title">
<span lang="de">Quadtree-Algorithmus</span>
<span lang="en">Quadtree Algorithm</span>
</h3>
<p class="card__desc">
<span lang="de">Ein 2D-Raum wird rekursiv in vier Quadranten geteilt, bis jede Zelle isoliert ist.</span>
<span lang="en">A 2D plane is split recursively into four quadrants until every cell stands alone.</span>
</p>
</a>
<a class="card" href="voronoi/index.html" data-cat="raster">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-voronoi"/></svg>
<h3 class="card__title">
<span lang="de">Voronoi-Triangulierung</span>
<span lang="en">Voronoi Triangulation</span>
</h3>
<p class="card__desc">
<span lang="de">Aus Saatzellen entstehen Polygone, deren Punkte dem jeweils nächsten Samen zugeordnet sind.</span>
<span lang="en">Seed points generate polygons whose interior points are all closest to that seed.</span>
</p>
</a>
</div>
</section>
<!-- ===== Sektion: Spatial ===== -->
<section class="section" data-cat="spatial" id="cat-spatial" aria-labelledby="h-spatial">
<div class="section__header">
<span class="section__bar" aria-hidden="true"></span>
<h2 class="section__title" id="h-spatial">
<span lang="de">Räumliche Algorithmen</span>
<span lang="en">Spatial Algorithms</span>
</h2>
</div>
<div class="card-grid">
<a class="card" href="location_planning/index.html" data-cat="spatial">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-location_planning"/></svg>
<h3 class="card__title">
<span lang="de">Standortplanung</span>
<span lang="en">Location Planning</span>
</h3>
<p class="card__desc">
<span lang="de">Minimaler umschließender Kreis für eine Menge von Standorten — z. B. für Feuerwachen oder Schulen.</span>
<span lang="en">Minimum enclosing circle for a set of locations — useful for placing fire stations or schools.</span>
</p>
</a>
<a class="card" href="shortest_path/index.html" data-cat="spatial">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-shortest_path"/></svg>
<h3 class="card__title">
<span lang="de">Dijkstra-Algorithmus — kürzester Pfad</span>
<span lang="en">Dijkstra's Algorithm — Shortest Path</span>
</h3>
<p class="card__desc">
<span lang="de">Kürzeste Wege im Schienennetz zwischen den größten deutschen Städten (in 10-km-Schritten).</span>
<span lang="en">Shortest paths across the German rail network between its largest cities (10 km steps).</span>
</p>
</a>
<a class="card" href="spatialsys/index.html" data-cat="spatial">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-spatialsys"/></svg>
<h3 class="card__title">
<span lang="de">Räumliche Bezugssysteme</span>
<span lang="en">Spatial Reference Systems</span>
</h3>
<p class="card__desc">
<span lang="de">Euklidische, City-Block- und Ecken-Kanten-Metrik im Vergleich — drei Distanzbegriffe, ein Punktpaar.</span>
<span lang="en">Euclidean, city-block and edge-metric compared side by side — three notions of distance for one pair of points.</span>
</p>
</a>
<a class="card" href="travelling_salesman/index.html" data-cat="spatial">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-travelling_salesman"/></svg>
<h3 class="card__title">
<span lang="de">Problem des Handlungsreisenden</span>
<span lang="en">Travelling Salesman Algorithm</span>
</h3>
<p class="card__desc">
<span lang="de">Simulated Annealing als heuristische Lösung des TSP auf einer realen Karte.</span>
<span lang="en">Simulated annealing as a heuristic approach to the TSP on a real-world map.</span>
</p>
</a>
</div>
</section>
<!-- ===== Sektion: Numeric ===== -->
<section class="section" data-cat="numeric" id="cat-numeric" aria-labelledby="h-numeric">
<div class="section__header">
<span class="section__bar" aria-hidden="true"></span>
<h2 class="section__title" id="h-numeric">
<span lang="de">Numerik & Geometrie</span>
<span lang="en">Numerics & Geometry</span>
</h2>
</div>
<div class="card-grid">
<a class="card" href="curves/index.html" data-cat="numeric">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-curves"/></svg>
<h3 class="card__title">
<span lang="de">Interpolation & Approximation</span>
<span lang="en">Interpolation & Approximation</span>
</h3>
<p class="card__desc">
<span lang="de">Lineare, kubische und Spline-Kurven durch gegebene Punkte — exakt durch oder nur angenähert.</span>
<span lang="en">Linear, cubic and spline curves through given points — passing exactly or just approximating.</span>
</p>
</a>
<a class="card" href="idw/index.html" data-cat="numeric">
<svg class="card__glyph-svg" aria-hidden="true"><use href="#glyph-idw"/></svg>
<h3 class="card__title">
<span lang="de">Inverse Distanzwichtung</span>
<span lang="en">Inverse Distance Weighting</span>
</h3>
<p class="card__desc">
<span lang="de">Der Wert jeder Zelle wird als räumlich gewichtetes Mittel der nächsten Stichpunkte berechnet.</span>
<span lang="en">Each cell's value is the spatially weighted mean of its nearest sample points.</span>
</p>
</a>
</div>
</section>
</main>
<footer class="footer page">
<div class="footer__col footer__col--brand">
<h2 class="footer__heading">
<span lang="de">Professur für Geoinformatik</span>
<span lang="en">Chair of Geoinformatics</span>
</h2>
<p class="footer__text">
<span lang="de">Diese Web-Apps sind im Kontext der Lehre an der Professur für Geoinformatik entstanden — Algorithmik, räumliche Datenstrukturen und GIS zum Anfassen.</span>
<span lang="en">These web apps were created for teaching at the Chair of Geoinformatics — algorithms, spatial data structures and GIS, hands-on.</span>
</p>
</div>
<div class="footer__col footer__col--links">
<h3 class="footer__subheading">
<span lang="de">Rechtliches</span>
<span lang="en">Legal</span>
</h3>
<ul class="footer__legal">
<li><a href="impressum.html">
<span lang="de">Impressum</span>
<span lang="en">Imprint</span>
</a></li>
<li><a href="datenschutz.html">
<span lang="de">Datenschutz</span>
<span lang="en">Privacy</span>
</a></li>
</ul>
</div>
<p class="footer__copyright">
<span class="footer__copyright-copy">©</span>
<span aria-hidden="true"> · </span>
<a class="footer__copyright-link"
href="https://tu-dresden.de/bu/umwelt/geo/geoinformatik"
target="_blank" rel="noopener">
<span lang="de">TU Dresden · Fakultät Umweltwissenschaften · Professur für Geoinformatik</span>
<span lang="en">TU Dresden · Faculty of Environmental Sciences · Chair of Geoinformatics</span>
</a>
</p>
</footer>
<script>
function setLang(l) {
document.body.dataset.lang = l;
document.documentElement.lang = l;
document.title = l === 'en'
? 'Teachlets — Interactive Teaching Modules'
: 'Teachlets — Interaktive Lehrmodule';
document.getElementById('meta-description').setAttribute('content', l === 'en'
? 'Teachlets of the Chair of Geoinformatics — 11 teaching modules on algorithms, geometry and GIS.'
: 'Teachlets der Professur für Geoinformatik — 11 Lehrmodule für Algorithmen, Geometrie und GIS.');
try { localStorage.setItem('teachletsLang', l); } catch (e) {}
document.querySelectorAll('.lang-toggle__btn').forEach(function (b) {
b.setAttribute('aria-pressed', String(b.dataset.target === l));
});
}
(function () {
var s = null;
try { s = localStorage.getItem('teachletsLang'); } catch (e) {}
if (!s) {
var nav = (navigator.language || 'de').toLowerCase();
s = nav.indexOf('en') === 0 ? 'en' : 'de';
}
setLang(s);
})();
</script>
</body>
</html>