Arbeitsverzeichnis für Pendel-Redaktion. Beinhaltet Skripte sowie alle Pendel-Inhalte.
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.
 
 
 
 
 
Chris 462ce7eb99 separated positions 11 months ago
..
constants separated positions 11 months ago
images init site_bilder project 1 year ago
.github:copilot-instructions.md init site_bilder project 1 year ago
.gitignore single x and y 12 months ago
README.md init site_bilder project 1 year ago
block-library-style.css init site_bilder project 1 year ago
cropped-drawing.svg_-32x32.png init site_bilder project 1 year ago
cropped-drawing.svg_-180x180.png init site_bilder project 1 year ago
cropped-drawing.svg_-192x192.png init site_bilder project 1 year ago
cropped-drawing.svg_-270x270.png init site_bilder project 1 year ago
index.html init site_bilder project 1 year ago
jquery-3.6.0.js init site_bilder project 1 year ago
jquery-migrate-3.3.2.js init site_bilder project 1 year ago
main.py separated positions 11 months ago
package-lock.json init site_bilder project 1 year ago
package.json init site_bilder project 1 year ago
pendel-script-5.9.10.js init site_bilder project 1 year ago
pendel-style.css init site_bilder project 1 year ago
pytest.ini init site_bilder project 1 year ago
resonar-functions-20150302.js init site_bilder project 1 year ago
resonar-pendel-child-style.css init site_bilder project 1 year ago
resonar-skip-link-focus-fix-20150302.js init site_bilder project 1 year ago
resonar-style.css init site_bilder project 1 year ago
test_find_geo_extrema.py separated positions 11 months ago
test_make_pos_free.py separated positions 11 months ago
test_read_csv_to_dict.py separated positions 11 months ago
test_shifting.py separated positions 11 months ago
test_translate_pos.py init site_bilder project 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).