You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
11 months ago | |
|---|---|---|
| .. | ||
| constants | 11 months ago | |
| images | 1 year ago | |
| .github:copilot-instructions.md | 1 year ago | |
| .gitignore | 12 months ago | |
| README.md | 1 year ago | |
| block-library-style.css | 1 year ago | |
| cropped-drawing.svg_-32x32.png | 1 year ago | |
| cropped-drawing.svg_-180x180.png | 1 year ago | |
| cropped-drawing.svg_-192x192.png | 1 year ago | |
| cropped-drawing.svg_-270x270.png | 1 year ago | |
| index.html | 1 year ago | |
| jquery-3.6.0.js | 1 year ago | |
| jquery-migrate-3.3.2.js | 1 year ago | |
| main.py | 11 months ago | |
| package-lock.json | 1 year ago | |
| package.json | 1 year ago | |
| pendel-script-5.9.10.js | 1 year ago | |
| pendel-style.css | 1 year ago | |
| pytest.ini | 1 year ago | |
| resonar-functions-20150302.js | 1 year ago | |
| resonar-pendel-child-style.css | 1 year ago | |
| resonar-skip-link-focus-fix-20150302.js | 1 year ago | |
| resonar-style.css | 1 year ago | |
| test_find_geo_extrema.py | 11 months ago | |
| test_make_pos_free.py | 11 months ago | |
| test_read_csv_to_dict.py | 11 months ago | |
| test_shifting.py | 11 months ago | |
| test_translate_pos.py | 1 year ago | |
README.md
Lokales Testen mit einem Webserver
npm install http-server
Installiert nach node_modules. Starten mit:
http-server ./
Struktur
Beispiel, wie Kachel an der gleichen Stelle platziert werden anhand einer einzelnen Spalte.Mit jeder Szene (S1 etc.) kommt eine neue Kachel hinzu (T1 etc.).
| S1 | S2 | S3 | S4 | |||
|---|---|---|---|---|---|---|
| y\x | 1 | 1 | 1 | 1 | ||
| ┌ | ─ | ─ | ─ | ─ | ┐ | |
| 1 | │ | T1 | T3 | │ | ||
| 2 | │ | T1 | T3 | T2 | │ | |
| 3 | │ | T1 | T2 | T2 | T4 | │ |
| 4 | │ | │ | ||||
| └ | ─ | ─ | ─ | ─ | ┘ |
- Verdrängte Kacheln werden nach oben geschoben
- Über den Rand geschobene Kacheln werden ausgeblendet
Originaler Eintrag:
<g id="pendeltileid79"
class="pendel-svg-tile"
transform="translate(2681.6,1081.6)
Koordinatensystem
(0.0)
┌───────────────────────> x, lon CANVAS
│←→ ↑ SPACE (x and y)
│ ↓
│ 0───────────────+ TILE
│ │ │
│ │ 0─────────+ │ IMAGE
│ │ │ │ │
│ │ │ 0 │ │ Middle
│ │ │ │ │
│ │ +─────────+ │
│ │ │
│ +───────────────+
│ . (xmax,ymax)
V
y, lat
Json
Das Json enthält die Konstellation der Kacheln-Positionen der einzelnen Szenen. Es werden nicht Pixel-Koordinaten sonderne die Position als Interger-Paar abgelegt. Die Pixel-Koordinate wird zur Laufzeit ermittelt (bessere Lesbarkeit des Jsons, Trenneung von Inhalt und Anzeige).