| Age | Commit message (Collapse) | Author |
|
- guide dots: dark outline ring + bright core, readable on any photo
- hover over a dot shows 'NAME · height m' in the sidebar (same info
the desktop hover status line gives)
- pointermove doubles as hover report when not dragging
|
|
- fetch gipfel.dat.gz at startup, gunzip (flate2, pure Rust) and load
into a Panorama held in app state
- image loads now also parse the gipfel JPEG comment / EXIF and set the
viewpoint via apply_image_metadata (same path as desktop)
- markers: click a visible-peak guide dot to mark it, drag to adjust,
right-click to remove; refit (comp_params_with, distortion locked by
default) after every change once >= 4 markers
- sidebar: fit-distortion toggle, marker/zoom readout, fitted
az/pitch/roll/scale line
- canvas: guide dots for visible peaks, red crosses + shadowed labels
- serve-here.sh: dev helper (cargo build --target wasm32 + wasm-bindgen
+ gzip the DB into the static dist dir)
Verified: cargo check clean for wasm32; runtime to be confirmed in
browser against a gipfel-saved photo (W2 acceptance: fit must match
the desktop result on the same image).
|
|
First milestone of wasm-plan.md:
- new crate gipfel-web: Yew 0.21 (csr), canvas 2D viewport
- file input + drag-and-drop; browser-native decode via createImageBitmap
(faster than image-crate decode in wasm, GPU-backed blitting)
- pan (pointer drag with capture, touch-ready) and cursor-anchored
wheel zoom, DPR-aware canvas sizing, fit-to-window
- dark sidebar shell: open/fit buttons, status line
- Trunk.toml + www/ (index.html, style.css); README with dev setup
Verified: cargo check clean (native and wasm32-unknown-unknown),
release wasm builds (5.3 MB pre-wasm-opt), all 38 native tests pass.
Runtime behavior to be confirmed with trunk serve on a desktop browser.
|