changes
@@ -0,0 +1,87 @@
|
||||
# Architecture
|
||||
|
||||
Goal: develop and tune almost everything in a desktop browser without redeploying to the phone.
|
||||
|
||||
```
|
||||
┌────────────── UI (web stack, same in browser and in the app's webview) ──────────────┐
|
||||
│ Sites · Setup · Capture · Review · Export │
|
||||
└───────────────▲───────────────────────────────────────────────▲──────────────────────┘
|
||||
│ frames + orientation samples │ results, previews, files
|
||||
┌───────────────┴──────────────┐ ┌───────────────┴──────────────────────┐
|
||||
│ Platform adapter (thin) │ │ WebAssembly core (pure, no I/O) │
|
||||
│ web: getUserMedia, │ ───────────▶ │ orientation + north, targeting, │
|
||||
│ DeviceOrientation │ │ sky mask, edge/profile, stitching, │
|
||||
│ native (later, optional): │ │ exporters (.hrz, landscape.ini, │
|
||||
│ AVFoundation/CoreMotion│ │ horizon.txt, PNG, zip) │
|
||||
│ CameraX/rotation vector│ │ │
|
||||
│ replay: recorded session │ │ │
|
||||
└──────────────────────────────┘ └──────────────────────────────────────┘
|
||||
```
|
||||
|
||||
## Why this split
|
||||
|
||||
- Wasm cannot reach hardware by itself. The host always supplies camera frames and sensor data. Keep that layer as thin as possible.
|
||||
- **Replay adapter**: a recorded session (see below) is fed into the same core API. Record one or two sweeps on the phone, then iterate on detection, stitching and export entirely in a desktop browser and in unit tests.
|
||||
- Start with the **web adapter only** (PWA or webview). Add native camera adapters only if needed.
|
||||
|
||||
### Known web limitations
|
||||
|
||||
- **No reliable exposure or white-balance lock** across frames, so seams in the Stellarium panorama are possible. Mitigate with per-frame gain compensation in the stitcher. The NINA horizon is barely affected.
|
||||
- **No camera intrinsics or FOV** from the browser. Use a per-model FOV table, a one-time calibration, or let the stitcher refine FOV from frame overlaps. Store the source in `device.camera.fovSource`.
|
||||
- **Heading on iOS web**: `webkitCompassHeading` (magnetic, with `webkitCompassAccuracy`) after `DeviceOrientationEvent.requestPermission()`. **Chromium/Android**: `deviceorientationabsolute`, or `AbsoluteOrientationSensor` where available. Accuracy of a few degrees is acceptable because of the safety margin.
|
||||
- Wasm threads need cross-origin isolation (COOP/COEP headers). Keep a single-threaded path that works without them.
|
||||
|
||||
## Core API (language-neutral sketch; e.g. Rust + wasm-bindgen, exposed to JS)
|
||||
|
||||
```ts
|
||||
type Quat = [w: number, x: number, y: number, z: number]; // device→world, world = ENU (x East, y North, z Up)
|
||||
|
||||
interface SessionMeta { site: {name; latDeg; lonDeg; elevM}; camera: {widthPx; heightPx; hfovDeg?; vfovDeg?};
|
||||
plannedFrames: number; targetTiltDeg: number; dateIso: string }
|
||||
|
||||
createSession(meta: SessionMeta): Session
|
||||
session.declinationDeg(): number // WMM at site + date
|
||||
session.pushSensor(t: number, q: Quat, magHeadingDeg?: number, accDeg?: number): void
|
||||
session.target(now: {t; q}): { dAzDeg; dTiltDeg; steady: boolean; ready: boolean; frameIndex: number }
|
||||
session.addFrame(t: number, rgba: Uint8Array, w: number, h: number): FrameResult
|
||||
// FrameResult { index; coverage: {azFrom; azTo; altBottom; altTop};
|
||||
// edgePreview: Float32Array /* alt per screen column for the live line */;
|
||||
// touchesTop: {azDeg} | null }
|
||||
session.removeLastFrame(): void
|
||||
session.coverage(): { coveredDeg: number; cells: boolean[] }
|
||||
|
||||
session.applyMaskEdits(edits: MaskEdit[]): void // brush strokes in (az, alt) space, sky|ground, radiusDeg
|
||||
session.horizon(opts?: { stepDeg?: 1; smooth?: 'off'|'light'|'strong' }): Float32Array // alt per az
|
||||
session.setNorthOffset(deg: number): void
|
||||
|
||||
exportHrz(profile, { marginDeg: 2, stepDeg: 1 }): string
|
||||
exportStellariumSpherical(session, { widthPx: 8192, heightPx: 2048, topDeg, bottomDeg }): Map<string, Uint8Array> // landscape.ini, panorama.png, horizon.txt
|
||||
exportStellariumPolygonal(profile, meta): Map<string, Uint8Array>
|
||||
zip(files): Uint8Array
|
||||
```
|
||||
|
||||
Rules: deterministic, no clocks, no randomness, no I/O. All times are passed in. Large buffers cross the boundary as typed arrays.
|
||||
|
||||
## Algorithms (first versions; keep them simple)
|
||||
|
||||
**North.** heading_true = heading_magnetic + declination + userOffset. If the platform gives a full rotation quaternion, use it for pitch and roll. Optionally (setting) lock heading to the gyro after the first second (game rotation vector) to avoid drift from nearby steel, with a loop-closure check when the sweep returns to the first frame. Spread the residual linearly over the frames.
|
||||
|
||||
**Auto-shutter.** Target azimuths every 360/N (N = 24, i.e. 15° steps; large overlap because stitching relies on sensor orientation, not feature matching). Capture when |dAz| < 2°, |tilt − target| < 5°, roll < 5° and angular speed < 5°/s for 300 ms. Target tilt +10° in portrait. With a vertical FOV of about 64°, that covers about −22…+42°.
|
||||
|
||||
**Sky mask (per frame).** Classic first: a per-pixel sky score from brightness, blueness (b − r) and low local gradient. Seed from the top rows, flood-fill or connected component from the top, then morphological cleanup. Treat sky seen through branches conservatively (the edge is the **highest** non-sky pixel per column). An ML segmenter (e.g. ONNX Runtime Web) only if this proves insufficient.
|
||||
|
||||
**Edge → profile.** For each output azimuth column, take the highest altitude of non-sky across all frames covering it (after projection). Resample to 1° steps, then apply optional smoothing (median over ±1–2°). The margin is added only at NINA export.
|
||||
|
||||
**Top-touch detection.** If non-sky reaches a frame's top row over more than ~1° of azimuth, report `touchesTop` with that azimuth and propose the extra higher frame.
|
||||
|
||||
**Stitching (Stellarium only).** Output an equirectangular band, 8192 px over 360° horizontally, `heightPx` over [bottomDeg, topDeg]. For each output pixel: compute the world direction, choose the frame(s) whose centre is closest, project with the frame quaternion and pinhole intrinsics, sample bilinearly, and feather-blend in overlaps. Compensate per-frame gain from overlap means. Alpha = 0 where the final mask says sky. Column 0 = azimuth 90° (East); see FORMATS.md.
|
||||
|
||||
## Recorded session bundle (`examples/session/`)
|
||||
|
||||
A folder (or zip) the phone can export and the desktop can replay:
|
||||
|
||||
- `session.json`: meta, device and camera (with `fovSource`), site, north settings, capture plan, frame list (`id`, `file`, `t`, `q`, heading accuracy), mask edits, optional result.
|
||||
- `frames/fNNN.jpg`: the captured frames.
|
||||
- `sensors.jsonl`: the continuous orientation stream (`t`, `q`, `magHeadingDeg`, `headingAccuracyDeg`), around 60 Hz.
|
||||
|
||||
Use the same bundle as unit-test fixtures (expected profile within ±0.5°, exported files byte-stable).
|
||||
@@ -0,0 +1,79 @@
|
||||
# Output formats
|
||||
|
||||
Azimuth everywhere in the app: degrees, 0 = true north, 90 = east, clockwise. Altitude: degrees above the mathematical horizon.
|
||||
|
||||
## NINA custom horizon (`.hrz`)
|
||||
|
||||
Source: N.I.N.A. docs, Options › General, "Custom Horizon" (https://nighttime-imaging.eu/docs/master/site/tabs/options/general/), plus community guides.
|
||||
|
||||
- Plain text. One `azimuth altitude` pair per line, separated by a space.
|
||||
- Optional comment header line, as in the official example: `# Az Alt`.
|
||||
- At least 2 pairs. Gaps between azimuths are interpolated by NINA.
|
||||
- Azimuths ascending, unique, starting at 0. For a vertical edge use two consecutive azimuths (e.g. `45 47` then `46 33`).
|
||||
- Loaded in NINA under Options › General › Astrometry Settings › Custom Horizon. It affects altitude charts (Sky Atlas, Framing) and the advanced sequencer's horizon conditions.
|
||||
|
||||
Export rules for this app:
|
||||
- 1° steps from 0 to 360 inclusive (`360` repeats the `0` value, closing the loop; harmless and avoids relying on wrap-around interpolation).
|
||||
- Altitude = detected edge + safety margin, one decimal, **`.` decimal separator** (invariant culture), clamped to [0, 90].
|
||||
- `\n` line endings are fine; `\r\n` is acceptable too.
|
||||
- Example: `examples/nina/backyard-pier.hrz`.
|
||||
- Not verified: whether NINA accepts more comment lines than the header, or comma decimals on non-English Windows locales. Test once in NINA before release.
|
||||
|
||||
## Stellarium landscapes
|
||||
|
||||
Verified against `src/core/modules/Landscape.cpp` (Stellarium master, GitHub) and the `LandscapeSpherical` class docs (https://stellarium.org/doc/head/classLandscapeSpherical.html).
|
||||
|
||||
A landscape is a folder (installed from a .zip via Sky and viewing options › Landscape › Add/remove landscapes) containing `landscape.ini` plus its files.
|
||||
|
||||
### Spherical (photo panorama), the main Stellarium output
|
||||
|
||||
```ini
|
||||
[landscape]
|
||||
name = Backyard pier
|
||||
author = ...
|
||||
description = ...
|
||||
type = spherical
|
||||
maptex = panorama.png
|
||||
maptex_top = 42 ; altitude (deg) of the image's top row, default 90
|
||||
maptex_bottom = -22 ; altitude (deg) of the image's bottom row, default -90
|
||||
angle_rotatez = 0 ; deg; keep 0 and bake north into the image instead (see below)
|
||||
bottom_cap_color = .05,.05,.05 ; fills below maptex_bottom; without it that area is not drawn
|
||||
polygonal_horizon_list = horizon.txt ; optional but recommended (exact horizon for Stellarium's logic)
|
||||
polygonal_angle_rotatez = 0
|
||||
|
||||
[location]
|
||||
planet = Earth
|
||||
latitude = +47d29'52"
|
||||
longitude = +19d2'25"
|
||||
altitude = 112
|
||||
```
|
||||
|
||||
Texture mapping, derived from the spherical fragment shader:
|
||||
- Horizontal: `s = atan2(x, y) / 2π` in Stellarium's alt-az frame. **Left edge (s = 0) = azimuth 90° (East)**; azimuth increases to the right: South at 25 %, West at 50 %, North at 75 % of the width.
|
||||
- Vertical: top row = `maptex_top`, bottom row = `maptex_bottom`, linear in altitude, so a cropped band is fine and the sky above it does not need to be photographed.
|
||||
- Pixels outside [bottom, top] are discarded. Transparent pixels (alpha = 0) show the sky.
|
||||
- Texture sizes should be powers of two; stretching is allowed because the top and bottom keys define the geometry. Use **8192 × 2048 RGBA PNG**.
|
||||
- Bake the north offset into the image by shifting columns (offset × 8192/360 px) instead of using `angle_rotatez`. That avoids sign-convention ambiguity. If `angle_rotatez` is used later, verify its sign empirically.
|
||||
|
||||
### Polygonal (outline only)
|
||||
|
||||
```ini
|
||||
[landscape]
|
||||
name = Backyard pier (outline)
|
||||
type = polygonal
|
||||
polygonal_horizon_list = horizon.txt
|
||||
polygonal_horizon_list_mode = azDeg_altDeg ; default
|
||||
polygonal_angle_rotatez = 0
|
||||
ground_color = .12,.12,.14
|
||||
```
|
||||
|
||||
`horizon.txt`:
|
||||
- One `azimuth altitude` pair per line, whitespace-separated. Lines starting with `#` are comments; empty lines are ignored.
|
||||
- In `azDeg_altDeg` mode the azimuth is **compass azimuth** (N = 0, E = 90). Stellarium converts it internally (`180 − rotate − az`).
|
||||
- Write the plain detected edge here (no NINA safety margin).
|
||||
|
||||
Other modes exist (`azDeg_zdDeg`, `azRad_altRad`, `azRad_zdRad`, `azGrad_zdGrad`) but are not needed.
|
||||
|
||||
### Location section
|
||||
|
||||
Optional. `latitude` and `longitude` accept Stellarium's DMS strings (`+47d29'52"`) or decimal degrees. `altitude` is in metres. If present, Stellarium can switch the observer location when the landscape is selected.
|
||||
@@ -0,0 +1,44 @@
|
||||
# Horizon survey app — design handoff
|
||||
|
||||
A cross-platform phone app that makes **artificial horizon files** for astrophotography software:
|
||||
|
||||
- **NINA custom horizon (`.hrz`)**: the primary output. Most users (and the author) image with NINA.
|
||||
- **Stellarium landscape**: a 360° panorama with transparent sky (spherical), or a horizon outline only (polygonal), for other users.
|
||||
|
||||
The user stands where the telescope stands and turns once around with the phone. The app shoots a band of photos around the horizon automatically, detects sky vs. obstruction, lets the user fix the mask, then exports.
|
||||
|
||||
Design canvas (interactive, same account): https://claude.ai/code/artifact/b39ed0ec-bcdd-4582-9cf6-2d98f4ec0d56
|
||||
|
||||
## Read in this order
|
||||
|
||||
1. `SPEC.md`: screens, behaviour, states and copy, screen by screen (with PNGs).
|
||||
2. `ARCHITECTURE.md`: WebAssembly core, platform adapters, core API, recorded session format, algorithms.
|
||||
3. `FORMATS.md`: exact output formats, checked against the Stellarium source and NINA docs.
|
||||
4. `design/tokens.json`: colors, type, radii, spacing.
|
||||
5. `examples/`: generated sample outputs and a sample recorded session.
|
||||
|
||||
## Contents
|
||||
|
||||
```
|
||||
README.md
|
||||
SPEC.md
|
||||
ARCHITECTURE.md
|
||||
FORMATS.md
|
||||
design/
|
||||
tokens.json
|
||||
screens/*.png rendered screens, 390x844 @2x
|
||||
source/*.dc.html design source per screen (see design/source/README.md)
|
||||
source/README.md
|
||||
examples/
|
||||
nina/backyard-pier.hrz
|
||||
stellarium-spherical/ landscape.ini, horizon.txt, panorama placeholder note
|
||||
stellarium-polygonal/ landscape.ini, horizon.txt
|
||||
session/ session.json + sensors.jsonl (recorded capture bundle format)
|
||||
```
|
||||
|
||||
## Notes for the implementing agent
|
||||
|
||||
- The design files are **reference, not production code**. Rebuild the UI in the project's own UI stack and match the PNGs and tokens.
|
||||
- All sample data is illustrative: coordinates, the horizon profile and frame counts. `[APP NAME]`, `[AUTHOR]`, `[LAT]`, `[LON]` and `[ELEV]` are placeholders.
|
||||
- Accuracy goal: about ±2–3° in azimuth, absorbed by a user-set safety margin (default +2°). Star or landmark alignment was explored and **dropped as unnecessary**. North comes from compass + declination, plus a manual north offset in Review.
|
||||
- Keep the core free of I/O so it runs identically in a desktop browser (development, replaying recorded sessions) and on the phone.
|
||||
@@ -0,0 +1,92 @@
|
||||
# Product and screen spec
|
||||
|
||||
UI language: English (prepare for localisation; Hungarian likely next). Dark UI everywhere: capture happens in daylight but the app is also used next to the telescope at dusk. Phone portrait only. No fake status bar: respect safe areas.
|
||||
|
||||
## Flow
|
||||
|
||||
```
|
||||
Sites ──New survey──▶ Setup ──Start capture──▶ Capture ──Finish──▶ Review ──Export──▶ Export
|
||||
▲ └─tap finished site──────────────────────────────────────────▶ Review
|
||||
│ └─tap in-progress site──────────────▶ Capture (resume)
|
||||
└──────────────── close (X) from Capture / back from Setup
|
||||
```
|
||||
|
||||
Data model (per site): name, location (lat, lon, elevation, GPS accuracy), north settings (declination, user offset), recorded session (frames + sensor stream), sky mask edits, derived horizon profile (alt per 1° az), export settings (margin, chosen formats).
|
||||
|
||||
---
|
||||
|
||||
## 1 · Sites (`design/screens/01-sites.png`)
|
||||
|
||||
Home screen listing surveyed sites.
|
||||
|
||||
- Header: title "Horizons", subtitle "Artificial horizons for NINA & Stellarium", settings icon button (44 px).
|
||||
- Overline "SITES · n".
|
||||
- **Site card** (tap opens Review for complete sites, Capture to resume in-progress ones):
|
||||
- Name (19/600), coordinates in mono (12), chevron.
|
||||
- Horizon sparkline: area + line of the profile, 0–40° altitude, x = azimuth 0–360 with N E S W N labels under it.
|
||||
- Footer: "24 frames · full 360°" and chips for formats already exported (NINA, Stellarium) with a check icon.
|
||||
- In-progress variant: "In progress" amber badge, sparkline only up to the covered azimuth with the remainder dashed, progress bar, "210° of 360° covered", "Continue survey" link.
|
||||
- Bottom, fixed: primary "New horizon survey" (56 px, amber) and secondary "Import existing .hrz" (48 px, outline). Import parses a NINA file into a profile-only site (no panorama).
|
||||
|
||||
## 2 · Setup (`02-setup.png`)
|
||||
|
||||
- Back, title "New survey".
|
||||
- Site name text input (prefilled with a suggestion).
|
||||
- Location row: pin icon, lat/lon in mono, "112 m · GPS ±4 m", Refresh button. Allow manual edit on long-press (not drawn).
|
||||
- North row: compass icon, "North from compass", "Declination +5.6° applied automatically". Declination comes from a magnetic model (WMM) evaluated at the GPS position and date, inside the core.
|
||||
- "How to capture" illustration (ring around the phone, highlighted band, "sky not needed") and three numbered steps:
|
||||
1. Stand where the telescope stands.
|
||||
2. Hold the phone upright, tilted slightly above the horizon.
|
||||
3. Turn once around slowly. Frames are taken automatically.
|
||||
- Bottom primary: "Start capture". Request camera, motion/orientation and location permissions here (iOS web requires a user gesture for `DeviceOrientationEvent.requestPermission()`).
|
||||
|
||||
## 3 · Capture (`03-capture.png`)
|
||||
|
||||
Full-bleed camera preview (top 610 px), control panel below.
|
||||
|
||||
- Top bar over the camera: close (X → back to Sites, keeps progress), title chip "Backyard pier / frame 10 of 24", undo button (retake last frame).
|
||||
- **Panorama progress strip** under the top bar: 24 cells over 0–360° with N E S W N labels. Captured part shows a mini preview of the detected silhouette; the next cell is outlined in the accent colour.
|
||||
- Hint chip: "Turn right until the dot is in the circle" (auto mode) or "Line up the dot, then tap the shutter" (manual mode).
|
||||
- **Live sky edge**: the detected sky/obstruction boundary is drawn as an accent line on the preview, so the user sees what will become transparent.
|
||||
- **Targeting**: fixed white circle in the centre. The accent dot shows where the next frame's target is, relative to the current orientation, with a dashed leader. When the dot is inside the circle, the tilt is within tolerance and the phone is steady, the frame is taken automatically (see ARCHITECTURE: auto-shutter).
|
||||
- 0° horizon reference line with label (dashed).
|
||||
- **"Tree reaches the frame top at 125°"** warning bar with "Add higher shot": shown when obstruction touches the top edge of a frame. It asks for one extra frame at that azimuth tilted higher (about +35°). Coverage then extends upward locally.
|
||||
- Readouts: HEADING (true, degrees), TILT (target +10°, blue when within tolerance), COVERS (vertical coverage of the current frame, e.g. "−22…+42°").
|
||||
- Controls: "Auto on/off" toggle (left), shutter (80 px ring, always usable manually), "Finish" (right, goes to Review; allowed with partial coverage, which is then shown as in-progress).
|
||||
- Haptic tick on each auto capture. Keep the screen awake.
|
||||
|
||||
## 4 · Review (`04a-review-nina-horizon.png`, `04b-review-panorama-mask.png`)
|
||||
|
||||
Two tabs. "NINA horizon" is the default.
|
||||
|
||||
**NINA horizon tab**
|
||||
- Profile chart: x = azimuth 0–360 (N E S W N), y = altitude 0–40°. Filled area + solid accent line = detected sky edge. Dashed blue line = what is written to `.hrz` (edge + margin).
|
||||
- Legend under the chart.
|
||||
- **Safety margin** slider 0–5° in 0.5° steps (default +2.0°). Caption: "Keeps NINA targets clear of tree tips and compass error". Updates the dashed line live.
|
||||
|
||||
**Panorama tab**
|
||||
- Zoomed panorama (pan and pinch): checkered = transparent sky, photo = obstruction, accent line = edge.
|
||||
- Overview strip of the whole 360° with the viewport outlined (drag it to navigate).
|
||||
- Legend: "Transparent sky in Stellarium".
|
||||
- Mask tools: "Auto edge" (default; tap re-runs detection locally), "Paint sky", "Paint ground". Brush shows as a dashed circle; brush size by pinch or a later setting. Strokes are stored as edits, not baked pixels, so detection can be re-run.
|
||||
|
||||
**Both tabs**
|
||||
- **North offset** row: −/+ in 0.5° steps, "Applies to .hrz and panorama". Rotates the whole result if a known object sits off.
|
||||
- Primary "Export".
|
||||
|
||||
## 5 · Export (`05a-export-hrz.png`, `05b-export-landscape-ini.png`)
|
||||
|
||||
- Subtitle summarises settings: "Backyard pier · margin +2.0° · north offset 0.0°".
|
||||
- Format cards (checkbox + title + extension badge + description), selected card has an accent border:
|
||||
1. **NINA custom horizon** `.hrz`, on by default.
|
||||
2. **Stellarium panorama** `.zip`, on by default if the panorama is complete: spherical landscape, 8192 × 2048 PNG with transparent sky.
|
||||
3. **Stellarium outline only** `.zip`, off by default: polygonal landscape.
|
||||
- Preview with tabs `.hrz` / `landscape.ini` (mono, scrollable).
|
||||
- Help text: "NINA: Options › General › Astrometry › Custom Horizon. Stellarium: install the .zip under Sky and viewing options › Landscape › Add/remove landscapes."
|
||||
- Buttons: "Save" (to device files) and primary "Share n files" (system share sheet).
|
||||
|
||||
## Copy and units
|
||||
|
||||
- Degrees with one decimal in readouts and files (`137.4°`), azimuth 0–360 clockwise from true north.
|
||||
- Use the minus sign `−` in UI, ASCII `-` in files.
|
||||
- Numbers in IBM Plex Mono, everything else in Barlow.
|
||||
@@ -0,0 +1,85 @@
|
||||
# SkyContour (sfzenith) — projektállapot és döntések
|
||||
|
||||
*Frissítve: 2026-10-23. Ez a fájl a v1.0-s (2026-07-16) specifikációt váltja.*
|
||||
|
||||
## Irányadó dokumentumok
|
||||
|
||||
A 2026-10-23-as designer-átadás az irányadó. Ha ez a fájl és az alábbiak ellentmondanak, az alábbiak nyernek:
|
||||
|
||||
| Fájl | Tartalom |
|
||||
|---|---|
|
||||
| [README.md](README.md) | Az átadás áttekintése, olvasási sorrend |
|
||||
| [SPEC.md](SPEC.md) | Képernyők (Sites → Setup → Capture → Review → Export), viselkedés, szövegek |
|
||||
| [ARCHITECTURE.md](ARCHITECTURE.md) | WASM mag + vékony platform-adapterek, core API, algoritmusok, felvett session formátuma |
|
||||
| [FORMATS.md](FORMATS.md) | `.hrz`, Stellarium spherical/polygonal pontos formátuma |
|
||||
| [design/](design/) | Tokenek, képernyő-PNG-k (390×844 @2x), HTML forrás |
|
||||
| [examples/](examples/) | Minta kimenetek és minta session; a core golden tesztjei ezekhez mérnek |
|
||||
|
||||
Ez a fájl csak a projekt-szintű döntéseket, az aktuális állapotot és a nyitott kérdéseket tartja nyilván.
|
||||
|
||||
## Döntések (változások a v1.0 spechez képest)
|
||||
|
||||
1. **Felvétel módja.** A célkeresztes kézi pontfelvétel helyett automatikus exponálás: 24 kép, 15°-onként, +10°-os dőlésnél, stabil tartásnál. Képenként ég/akadály-felismerés, a horizont az oszloponkénti legmagasabb nem-ég pixel. A kézi exponálás tartalékként megmarad.
|
||||
2. **Észak.** Iránytű + deklináció (WMM, a magban) + a felhasználó kézi észak-eltolása a Review képernyőn. A Nap- vagy csillag-alapú igazítás **elvetve**; a pontatlanságot a biztonsági ráhagyás nyeli el (alapból +2°, 0–5°).
|
||||
3. **Stellarium export.** `type = spherical`, 8192×2048-as sáv `maptex_top`/`maptex_bottom` értékekkel (nem teljes gömb). A kép bal széle Kelet (90°). Az észak-eltolás a képbe van beégetve, `angle_rotatez = 0`. Mellé jön a csak körvonalas `polygonal` változat is.
|
||||
4. **Orientáció.** Hosszabb távon kvaternió (ENU). A jelenlegi kód alpha/beta/gamma forgatásmátrixa (`core/src/projection.rs`) már teljes 3D-s, a régi `beta − 90` képlet nincs használatban.
|
||||
5. **Platform.** A webes UI fut böngészőben és az app WebView-jában is. A Flutter csak vékony natív héj (Android kész). Natív kamera-adapter csak akkor lesz, ha a webes korlátok (pl. expozíció-zár) miatt muszáj. A v1.0 flutter_rust_bridge-terve ezzel **kikerült**.
|
||||
6. **Fejlesztési mód.** A telefonon felvett session (`session.json` + `sensors.jsonl` + képkockák) asztali böngészőben és unit tesztekben visszajátszható. A felismerés és a varrás finomhangolása így telepítés nélkül megy.
|
||||
7. **Név és azonosító** (2026-10-24): az app neve **SkyContour** (a „Horizon(s)” név mindkét áruházban túlzsúfolt, és két közvetlen iOS-versenytárs is használja). App-azonosító iOS-en és Androidon: `com.sagifer.skycontour`. A kódnév (sfzenith) belül marad: Dart-csomag, Rust crate, tárolókulcsok.
|
||||
|
||||
## A v1.0-ból érvényben marad
|
||||
|
||||
- **FOV-források sorrendje**: mért (élő kalibráció két átfedő képből, már működik) → eszköztábla → kézi → alapérték. A forrás a sessionben `device.camera.fovSource` néven tárolódik.
|
||||
- **Secure origin**: kamera és szenzor csak HTTPS vagy `localhost` alól érhető el. Fejlesztéshez marad a `wasm/serve.py` / Vite basic-ssl; az Android-héj `http://localhost:8080`-at szolgál ki.
|
||||
- **iOS 13+**: a `DeviceOrientationEvent.requestPermission()` csak felhasználói gesztusból hívható (a Setup „Start capture” gombján).
|
||||
- **Offline működés**: a WMM-együtthatók és a betűtípusok (Barlow, IBM Plex Mono) a buildbe ágyazva, CDN nélkül.
|
||||
- **Csak álló tájolás**, a képernyő ébren tartása felvétel közben.
|
||||
|
||||
## Jelenlegi állapot
|
||||
|
||||
**Kész**
|
||||
- `core/` (`sfzenith-core`): tiszta Rust, web-sys nélkül, `cargo test`-tel natívan tesztelve.
|
||||
- `profile`: 360 értékes horizontprofil, pontokból interpolálás (0/360 átfordulással), észak-eltolás, medián simítás.
|
||||
- `hrz`: NINA export (ráhagyással) és import.
|
||||
- `stellarium`: `landscape.ini` (spherical/polygonal), `horizon.txt`, panoráma-renderelés Stellarium-elrendezésbe (Kelet balra, ég átlátszó), PNG.
|
||||
- `zip`: determinisztikus zip-író.
|
||||
- `session`: a felvett session-csomag formátuma.
|
||||
- `skymask`: ég/akadály-maszk a varrt sávon (ég-növesztés a fotók tetejéről, illesztési varratok és lebegő „felhők” kiszűrése), ecsetes javítások, ebből a horizontprofil, a lefedettség és a top-touch jelzés.
|
||||
- `projection`, `fov`: a korábbi wasm crate-ből átköltöztetve.
|
||||
- Golden tesztek: a kimenet bájtra egyezik a `docs/examples/` fájljaival.
|
||||
- `wasm/`: vékony wasm-bindgen adapter (kamera, canvas, szenzorok) és a core exportjainak JS-felülete (`export_hrz`, `parse_hrz`, `export_stellarium_spherical`, `export_stellarium_polygonal`, `landscape_ini`, `profile_from_points`, …).
|
||||
- `wasm/frontend/`: az új UI mind az 5 képernyővel a design tokenekkel, plusz Settings (FOV, szerző) és FOV-kalibráló képernyő.
|
||||
- Capture: célzópont, automatikus exponálás, 24 cellás haladásjelző a varrt sávból, visszavonás, „Add higher shot”, ébren tartott képernyő.
|
||||
- Review: profil + ráhagyás, panoráma ecsettel, észak-eltolás.
|
||||
- Export: `.hrz`, Stellarium spherical/polygonal zip, előnézet, mentés/megosztás.
|
||||
- Sites: lista, folytatás, `.hrz` import.
|
||||
- Tárolás: a helyszínek localStorage-ban, a varrt sáv PNG-ként IndexedDB-ben.
|
||||
- Asztali teszt: `?sim` (nyilakkal forgatható szimulált iránytű).
|
||||
- Flutter iOS-héj: engedély-szövegek, álló tájolás, iOS 15+, mentés a Fájlok appba (natív csatorna), telepítés: `scripts/install_ios.sh`.
|
||||
- Flutter Android-héj (`lib/main.dart`): WebView, kamera- és helyengedély, GPS a WebView-nak, mentés a Letöltések mappába (natív csatorna), megosztás (share_plus), álló tájolás, a rendszersávok mellett marad (SafeArea), a Vissza gomb a webes navigációt lépteti. Emulátoron (Pixel 9a, Android 16) végigpróbálva.
|
||||
- Többnyelvűség: a felület a rendszer nyelvét követi (angol, spanyol, arab – jobbról balra –, német, magyar, lengyel, francia, olasz, szlovák), a Settingsben kézzel is választható; a natív tab bar és az iOS-engedélyszövegek is fordítva. Az exportált fájlok angolok maradnak.
|
||||
- Közös natív szolgáltatások mindkét héjban: képernyő ébren tartása felvétel közben (wakelock_plus), rezgés exponáláskor, app-ikon (A · Skyline) és natív nyitókép.
|
||||
|
||||
**Még nincs**
|
||||
- Képenkénti ég-felismerés és élő égvonal a kameraképen: most a felismerés a kész, varrt sávon fut.
|
||||
- Varrás erősítés-kiegyenlítéssel (a mostani sáv vetítés alapú, „utolsó nyer”).
|
||||
- Dőlés (roll) ellenőrzése az automatikus exponálásnál.
|
||||
- WMM deklináció.
|
||||
- Session felvétele, mentése és visszajátszása.
|
||||
|
||||
## Ütemterv
|
||||
|
||||
| # | Tartalom | Állapot |
|
||||
|---|---|---|
|
||||
| 1 | Core: profil, `.hrz`, Stellarium exportok, session-formátum, golden tesztek | ✅ kész |
|
||||
| 2 | Új React UI az 5 képernyővel, tokenekkel, a core exportokra kötve. A 4. pontból előrehozva: automatikus exponálás, ég-maszk a varrt sávon, ecsetes javítás, top-touch | ✅ kész (telefonon még tesztelendő) |
|
||||
| 3 | Session felvétele a telefonon, visszajátszó adapter asztali böngészőben | következő |
|
||||
| 4 | Ég-felismerés képenként, élő égvonal a kameraképen, finomhangolás valódi felvételeken | |
|
||||
| 5 | WMM deklináció, varrás erősítés-kiegyenlítéssel | |
|
||||
| 6 | Fordítások (en, es, ar, de, hu, pl, fr, it, sk – kész), polírozás (az iOS-héj előrehozva, kész) | |
|
||||
|
||||
## Nyitott kérdések
|
||||
|
||||
- **Stellarium zip telepítés**: a zip egy almappában (`<id>/landscape.ini`) tartalmazza a fájlokat. Egyszer ki kell próbálni a Stellarium „Add/remove landscapes” telepítőjével.
|
||||
- **NINA**: el kell fogadnia a `# Az Alt` fejlécet és a `.` tizedesjelet nem angol nyelvű Windowson is. Kiadás előtt egyszer tesztelni kell.
|
||||
- **Panoráma memória**: a 8192×2048-as RGBA kép ~64 MB a wasm memóriában. Gyenge telefonon kellhet egy 4096×1024-es opció (az exporter már paraméterezhető).
|
||||
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 105 KiB |
|
After Width: | Height: | Size: 101 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 141 KiB |
|
After Width: | Height: | Size: 158 KiB |
@@ -0,0 +1,146 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Capture sweep</title>
|
||||
<script src="./support.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<x-dc>
|
||||
<helmet>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
||||
<style>
|
||||
body{margin:0}
|
||||
a{color:#F5B544}a:hover{color:#FFD07A}
|
||||
</style>
|
||||
</helmet>
|
||||
<div style="width: 390px; height: 844px; position: relative; overflow: hidden; background: #0A0D13; color: #E8ECF2; font-family: 'Barlow', system-ui, sans-serif">
|
||||
|
||||
<svg width="390" height="610" viewBox="0 0 390 610" role="img" aria-label="Camera preview with the detected sky edge and the target for the next frame" style="position: absolute; left: 0; top: 0; display: block">
|
||||
<defs>
|
||||
<linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
|
||||
<stop offset="0" stop-color="#3B5578"></stop>
|
||||
<stop offset="1" stop-color="#9DB3C9"></stop>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="0" y="0" width="390" height="610" fill="url(#sky)"></rect>
|
||||
<path d="M0 610 L0 380 L36 380 L92 316 L150 380 L174 380 C178 352 186 332 195 320 C206 290 226 252 256 244 C288 236 308 262 318 292 C328 322 342 388 362 428 L390 440 L390 610 Z" fill="#07090D"></path>
|
||||
<path d="M0 380 L36 380 L92 316 L150 380 L174 380 C178 352 186 332 195 320 C206 290 226 252 256 244 C288 236 308 262 318 292 C328 322 342 388 362 428 L390 440" fill="none" stroke="{{accent}}" stroke-width="2.5" stroke-linejoin="round" stroke-dasharray="1 0"></path>
|
||||
<line x1="0" y1="493" x2="390" y2="493" stroke="#FFFFFF" stroke-opacity="0.3" stroke-dasharray="2 6"></line>
|
||||
<text x="382" y="487" text-anchor="end" font-family="IBM Plex Mono, ui-monospace, monospace" font-size="11" fill="#FFFFFF" fill-opacity="0.75">0°</text>
|
||||
<circle cx="195" cy="300" r="30" fill="none" stroke="#FFFFFF" stroke-width="2.5"></circle>
|
||||
<circle cx="{{dotX}}" cy="304" r="11" fill="{{accent}}" stroke="#07090D" stroke-width="2"></circle>
|
||||
<line x1="226" y1="302" x2="{{lineX}}" y2="304" stroke="#FFFFFF" stroke-opacity="0.7" stroke-width="1.5" stroke-dasharray="3 4"></line>
|
||||
</svg>
|
||||
|
||||
<div style="position: absolute; left: 12px; right: 12px; top: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px">
|
||||
<a href="Main.dc.html" aria-label="Close survey" style="width: 44px; height: 44px; border-radius: 22px; background: rgba(10,13,19,0.72); color: #E8ECF2; display: flex; align-items: center; justify-content: center">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"></path></svg>
|
||||
</a>
|
||||
<div style="display: flex; flex-direction: column; align-items: center; gap: 2px; background: rgba(10,13,19,0.72); border-radius: 14px; padding: 6px 14px">
|
||||
<span style="font-size: 15px; font-weight: 600">Backyard pier</span>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; color: #C9D2DE">frame {{frames}} of 24</span>
|
||||
</div>
|
||||
<button onClick="{{undo}}" aria-label="Retake last frame" style="width: 44px; height: 44px; border-radius: 22px; border: none; background: rgba(10,13,19,0.72); color: #E8ECF2; display: flex; align-items: center; justify-content: center; padding: 0">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 14L4 9l5-5"></path><path d="M4 9h10a6 6 0 0 1 0 12h-3"></path></svg>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; left: 20px; right: 20px; top: 106px; display: flex; flex-direction: column; gap: 4px; background: rgba(10,13,19,0.72); border-radius: 12px; padding: 8px">
|
||||
<svg width="334" height="40" viewBox="0 0 334 40" role="img" aria-label="Panorama progress around 360 degrees" style="display: block">
|
||||
<rect x="0" y="0" width="334" height="40" rx="4" fill="#1A2130"></rect>
|
||||
<rect x="0" y="0" width="{{doneW}}" height="40" rx="4" fill="#9DB3C9" fill-opacity="0.55"></rect>
|
||||
<path d="{{thumb}}" fill="#07090D"></path>
|
||||
<sc-for list="{{cells}}" as="c" hint-placeholder-count="24">
|
||||
<line x1="{{c.x}}" y1="0" x2="{{c.x}}" y2="40" stroke="#0A0D13" stroke-opacity="0.6" stroke-width="1"></line>
|
||||
</sc-for>
|
||||
<rect x="{{doneW}}" y="0" width="14" height="40" fill="none" stroke="{{accent}}" stroke-width="2"></rect>
|
||||
</svg>
|
||||
<div style="display: flex; justify-content: space-between; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10px; color: #C9D2DE">
|
||||
<span>N</span><span>E</span><span>S</span><span>W</span><span>N</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; left: 0; right: 0; top: 196px; display: flex; justify-content: center">
|
||||
<span style="background: rgba(10,13,19,0.72); border-radius: 10px; padding: 7px 12px; font-size: 14px">{{hint}}</span>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; left: 20px; right: 20px; top: 540px; display: flex; align-items: center; gap: 10px; background: rgba(30,26,16,0.92); border: 1px solid #4A3A16; border-radius: 12px; padding: 8px 8px 8px 12px">
|
||||
<span style="flex: 1; font-size: 13px; line-height: 1.3; color: #E8ECF2">Tree reaches the frame top at 125°</span>
|
||||
<button style="height: 44px; padding: 0 12px; border-radius: 10px; border: none; background: #F5B544; color: #1A1204; font-family: inherit; font-size: 14px; font-weight: 700">Add higher shot</button>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; left: 0; right: 0; top: 610px; bottom: 0; box-sizing: border-box; padding: 14px 20px 34px; background: #0A0D13; border-top: 1px solid #1A2130; display: flex; flex-direction: column; gap: 14px">
|
||||
<div style="display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px">
|
||||
<div style="display: flex; flex-direction: column; gap: 2px">
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; color: #93A0B4">HEADING</span>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 20px; font-weight: 500">{{heading}}</span>
|
||||
</div>
|
||||
<div style="display: flex; flex-direction: column; gap: 2px">
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; color: #93A0B4">TILT</span>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 20px; font-weight: 500; color: #6CC3E6">+9.6°</span>
|
||||
</div>
|
||||
<div style="display: flex; flex-direction: column; gap: 2px">
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; color: #93A0B4">COVERS</span>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 15px; font-weight: 500; line-height: 26px">−22…+42°</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px">
|
||||
<div style="display: flex">
|
||||
<button onClick="{{toggleAuto}}" aria-pressed="{{auto}}" style="{{autoStyle}}">Auto {{autoTxt}}</button>
|
||||
</div>
|
||||
<div style="display: flex; justify-content: center">
|
||||
<button onClick="{{shoot}}" aria-label="Take frame" style="width: 80px; height: 80px; border-radius: 40px; box-sizing: border-box; border: 4px solid {{accent}}; background: transparent; padding: 5px; display: flex">
|
||||
<span style="flex: 1; border-radius: 34px; background: {{accent}}"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div style="display: flex; justify-content: flex-end">
|
||||
<a href="Review.dc.html" style="height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid #263042; background: #121722; color: #E8ECF2; text-decoration: none; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600">
|
||||
Finish
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 5l7 7-7 7"></path></svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</x-dc>
|
||||
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#F5B544","options":["#F5B544","#6CC3E6","#F27A54"]},"$preview":{"width":390,"height":844}}'>
|
||||
class Component extends DCLogic {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = { frames: 9, auto: true };
|
||||
}
|
||||
renderVals() {
|
||||
const accent = this.props.accent ?? '#F5B544';
|
||||
const W = 334, H = 40;
|
||||
const prof = [[0,12],[15,14],[30,13],[45,8],[60,4],[75,3],[90,4],[105,15],[120,26],[135,22],[150,9],[165,4],[180,5],[195,9],[210,17],[225,19],[240,16],[255,10],[270,6],[285,5],[300,7],[315,10],[330,13],[345,14],[360,12]];
|
||||
const n = this.state.frames;
|
||||
const doneW = n / 24 * W;
|
||||
const y = (alt) => (H - (alt + 22) / 64 * H).toFixed(1);
|
||||
const pts = prof.filter((p) => p[0] / 360 * W <= doneW + 0.1);
|
||||
const thumb = pts.length ? 'M0 ' + H + ' ' + pts.map((p) => 'L' + (p[0] / 360 * W).toFixed(1) + ' ' + y(p[1])).join(' ') + ' L' + doneW.toFixed(1) + ' ' + y(pts[pts.length - 1][1]) + ' L' + doneW.toFixed(1) + ' ' + H + ' Z' : '';
|
||||
const cells = [];
|
||||
for (let i = 1; i < 24; i++) cells.push({ x: (i / 24 * W).toFixed(1) });
|
||||
const auto = this.state.auto;
|
||||
return {
|
||||
accent: accent,
|
||||
frames: Math.min(24, n + 1),
|
||||
doneW: Math.min(W - 14, doneW).toFixed(1),
|
||||
thumb: thumb,
|
||||
cells: cells,
|
||||
heading: Math.round(n * 15 - 8) + '°',
|
||||
dotX: 282, lineX: 271,
|
||||
hint: auto ? 'Turn right until the dot is in the circle' : 'Line up the dot, then tap the shutter',
|
||||
auto: auto ? 'true' : 'false',
|
||||
autoTxt: auto ? 'on' : 'off',
|
||||
autoStyle: 'height: 48px; padding: 0 14px; border-radius: 14px; font-family: inherit; font-size: 15px; font-weight: 600; border: 1px solid ' + (auto ? '#6CC3E6' : '#263042') + '; background: ' + (auto ? '#12303C' : '#121722') + '; color: ' + (auto ? '#6CC3E6' : '#E8ECF2'),
|
||||
toggleAuto: () => this.setState({ auto: !auto }),
|
||||
shoot: () => this.setState({ frames: Math.min(23, n + 1) }),
|
||||
undo: () => this.setState({ frames: Math.max(0, n - 1) })
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,131 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Export</title>
|
||||
<script src="./support.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<x-dc>
|
||||
<helmet>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
||||
<style>
|
||||
body{margin:0}
|
||||
a{color:#F5B544}a:hover{color:#FFD07A}
|
||||
</style>
|
||||
</helmet>
|
||||
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #0A0D13; color: #E8ECF2; font-family: 'Barlow', system-ui, sans-serif; padding: 56px 20px 0">
|
||||
<div style="display: flex; align-items: center; gap: 8px">
|
||||
<a href="Review.dc.html" aria-label="Back to review" style="width: 44px; height: 44px; margin-left: -10px; display: flex; align-items: center; justify-content: center; color: #E8ECF2">
|
||||
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 5l-7 7 7 7"></path></svg>
|
||||
</a>
|
||||
<div style="display: flex; flex-direction: column; gap: 2px; flex: 1">
|
||||
<h1 style="margin: 0; font-size: 22px; font-weight: 700">Export</h1>
|
||||
<span style="font-size: 13px; color: #93A0B4">Backyard pier · margin +2.0° · north offset 0.0°</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 16px; display: flex; flex-direction: column; gap: 8px">
|
||||
<sc-for list="{{formats}}" as="f" hint-placeholder-count="3">
|
||||
<label style="{{f.card}}">
|
||||
<input type="checkbox" checked="{{f.on}}" onChange="{{f.toggle}}" style="width: 22px; height: 22px; margin: 2px 0 0; accent-color: #F5B544; flex: none">
|
||||
<span style="display: flex; flex-direction: column; gap: 3px; min-width: 0">
|
||||
<span style="display: flex; align-items: center; gap: 8px">
|
||||
<span style="font-size: 16px; font-weight: 600">{{f.title}}</span>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; padding: 2px 6px; border-radius: 6px; background: #1A2130; color: #C9D2DE">{{f.ext}}</span>
|
||||
</span>
|
||||
<span style="font-size: 13px; line-height: 1.35; color: #93A0B4">{{f.sub}}</span>
|
||||
</span>
|
||||
</label>
|
||||
</sc-for>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px">
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #93A0B4">Preview</span>
|
||||
<div style="display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: #121722; border: 1px solid #232C3B">
|
||||
<button onClick="{{showHrz}}" style="{{hrzTab}}">.hrz</button>
|
||||
<button onClick="{{showIni}}" style="{{iniTab}}">landscape.ini</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 8px; height: 196px; box-sizing: border-box; overflow: hidden; border-radius: 14px; background: #06080C; border: 1px solid #1A2130; padding: 12px 14px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; line-height: 1.55; color: #C9D2DE">
|
||||
<sc-if value="{{isIni}}" hint-placeholder-val="{{ true }}">
|
||||
<div style="white-space: pre">[landscape]
|
||||
name = Backyard pier
|
||||
type = spherical
|
||||
maptex = panorama.png
|
||||
maptex_top = 42
|
||||
maptex_bottom = -22
|
||||
angle_rotatez = 0
|
||||
bottom_cap_color = .05,.05,.05
|
||||
|
||||
[location]
|
||||
latitude = +47d29'52"
|
||||
longitude = +19d2'25"</div>
|
||||
</sc-if>
|
||||
<sc-if value="{{isHrz}}" hint-placeholder-val="{{ false }}">
|
||||
<div style="white-space: pre">0 14.0
|
||||
1 14.2
|
||||
2 14.4
|
||||
3 14.6
|
||||
4 14.8
|
||||
5 15.0
|
||||
⋮
|
||||
359 14.1</div>
|
||||
<div style="margin-top: 4px; color: #7F8CA1">360 lines · azimuth altitude, +2° margin</div>
|
||||
</sc-if>
|
||||
</div>
|
||||
|
||||
<p style="margin: 12px 0 0; font-size: 13px; line-height: 1.4; color: #93A0B4; text-wrap: pretty">NINA: Options › General › Astrometry › Custom Horizon. Stellarium: install the .zip under Sky and viewing options › Landscape › Add/remove landscapes.</p>
|
||||
|
||||
<div style="position: absolute; left: 20px; right: 20px; bottom: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px">
|
||||
<button style="height: 56px; border-radius: 16px; border: 1px solid #263042; background: #121722; color: #E8ECF2; font-family: inherit; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 4v12M7 11l5 5 5-5M5 20h14"></path></svg>
|
||||
Save
|
||||
</button>
|
||||
<button style="height: 56px; border-radius: 16px; border: none; background: #F5B544; color: #1A1204; font-family: inherit; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3v12M7 8l5-5 5 5M5 14v5a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-5"></path></svg>
|
||||
Share {{count}} files
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</x-dc>
|
||||
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
|
||||
class Component extends DCLogic {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = { nina: true, pano: true, poly: false, tab: 'hrz' };
|
||||
}
|
||||
renderVals() {
|
||||
const defs = [
|
||||
{ id: 'nina', title: 'NINA custom horizon', ext: '.hrz', sub: 'Sky edge + safety margin as azimuth / altitude pairs, for target altitude limits' },
|
||||
{ id: 'pano', title: 'Stellarium panorama', ext: '.zip', sub: 'Spherical landscape: 360° photo band with transparent sky, 8192 × 2048 PNG' },
|
||||
{ id: 'poly', title: 'Stellarium outline only', ext: '.zip', sub: 'Polygonal landscape: just the horizon line, no photo' }
|
||||
];
|
||||
const formats = defs.map((d) => {
|
||||
const on = !!this.state[d.id];
|
||||
return {
|
||||
...d,
|
||||
on: on,
|
||||
toggle: () => this.setState({ [d.id]: !this.state[d.id] }),
|
||||
card: 'display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; cursor: pointer; background: ' + (on ? '#1A2130' : '#121722') + '; border: 1px solid ' + (on ? '#F5B544' : '#232C3B')
|
||||
};
|
||||
});
|
||||
const count = defs.filter((d) => this.state[d.id]).length;
|
||||
const tab = (on) => 'height: 32px; padding: 0 10px; border-radius: 8px; border: none; font-family: IBM Plex Mono, ui-monospace, monospace; font-size: 12px; background: ' + (on ? '#E8ECF2' : 'transparent') + '; color: ' + (on ? '#0A0D13' : '#C9D2DE');
|
||||
const isIni = this.state.tab === 'ini';
|
||||
return {
|
||||
formats: formats,
|
||||
count: count,
|
||||
isIni: isIni,
|
||||
isHrz: !isIni,
|
||||
iniTab: tab(isIni),
|
||||
hrzTab: tab(!isIni),
|
||||
showIni: () => this.setState({ tab: 'ini' }),
|
||||
showHrz: () => this.setState({ tab: 'hrz' })
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,115 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Sites</title>
|
||||
<script src="./support.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<x-dc>
|
||||
<helmet>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
||||
<style>
|
||||
body{margin:0}
|
||||
a{color:#F5B544}a:hover{color:#FFD07A}
|
||||
</style>
|
||||
</helmet>
|
||||
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #0A0D13; color: #E8ECF2; font-family: 'Barlow', system-ui, sans-serif; padding: 64px 20px 0">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; gap: 12px">
|
||||
<div style="display: flex; flex-direction: column; gap: 4px">
|
||||
<h1 style="margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -0.01em">Horizons</h1>
|
||||
<p style="margin: 0; font-size: 15px; color: #93A0B4">Artificial horizons for NINA & Stellarium</p>
|
||||
</div>
|
||||
<button aria-label="Settings" style="width: 44px; height: 44px; border-radius: 22px; border: 1px solid #263042; background: #121722; color: #E8ECF2; display: flex; align-items: center; justify-content: center; padding: 0">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M4 6h9M17 6h3M4 12h3M11 12h9M4 18h11M19 18h1"></path><circle cx="15" cy="6" r="2"></circle><circle cx="9" cy="12" r="2"></circle><circle cx="17" cy="18" r="2"></circle></svg>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 28px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #93A0B4">Sites · 2</div>
|
||||
|
||||
<div style="margin-top: 12px; display: flex; flex-direction: column; gap: 14px">
|
||||
<a href="Review.dc.html" style="display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #E8ECF2; background: #121722; border: 1px solid #232C3B; border-radius: 18px; padding: 16px">
|
||||
<div style="display: flex; justify-content: space-between; align-items: flex-start; gap: 12px">
|
||||
<div style="display: flex; flex-direction: column; gap: 4px">
|
||||
<span style="font-size: 19px; font-weight: 600">Backyard pier</span>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: #93A0B4">47.4979° N · 19.0402° E · 112 m</span>
|
||||
</div>
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#93A0B4" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="margin-top: 4px"><path d="M9 5l7 7-7 7"></path></svg>
|
||||
</div>
|
||||
<svg width="318" height="64" viewBox="0 0 318 64" aria-hidden="true" style="display: block">
|
||||
<line x1="0" y1="64" x2="318" y2="64" stroke="#263042" stroke-width="1"></line>
|
||||
<path d="{{siteA.area}}" fill="#F5B544" fill-opacity="0.16"></path>
|
||||
<path d="{{siteA.line}}" fill="none" stroke="#F5B544" stroke-width="1.6" stroke-linejoin="round"></path>
|
||||
</svg>
|
||||
<div style="display: flex; justify-content: space-between; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; color: #7F8CA1; margin-top: -6px">
|
||||
<span>N</span><span>E</span><span>S</span><span>W</span><span>N</span>
|
||||
</div>
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 8px; align-items: center">
|
||||
<span style="font-size: 14px; color: #93A0B4">24 frames · full 360°</span>
|
||||
<span style="flex: 1"></span>
|
||||
<span style="display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: #1A2130; color: #C9D2DE">
|
||||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#6CC3E6" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7"></path></svg>NINA</span>
|
||||
<span style="display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: #1A2130; color: #C9D2DE">
|
||||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#6CC3E6" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7"></path></svg>Stellarium</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="Capture.dc.html" style="display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #E8ECF2; background: #121722; border: 1px solid #232C3B; border-radius: 18px; padding: 16px">
|
||||
<div style="display: flex; justify-content: space-between; align-items: flex-start; gap: 12px">
|
||||
<div style="display: flex; flex-direction: column; gap: 4px">
|
||||
<span style="font-size: 19px; font-weight: 600">Dark site</span>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: #93A0B4">[LAT] · [LON] · [ELEV]</span>
|
||||
</div>
|
||||
<span style="font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: #2A2312; color: #F5B544">In progress</span>
|
||||
</div>
|
||||
<svg width="318" height="64" viewBox="0 0 318 64" aria-hidden="true" style="display: block">
|
||||
<line x1="0" y1="64" x2="318" y2="64" stroke="#263042" stroke-width="1"></line>
|
||||
<line x1="{{siteB.endX}}" y1="0" x2="318" y2="64" stroke="none"></line>
|
||||
<rect x="{{siteB.endX}}" y="0" width="{{siteB.restW}}" height="64" fill="#121722" stroke="#263042" stroke-dasharray="3 4"></rect>
|
||||
<path d="{{siteB.area}}" fill="#F5B544" fill-opacity="0.16"></path>
|
||||
<path d="{{siteB.line}}" fill="none" stroke="#F5B544" stroke-width="1.6" stroke-linejoin="round"></path>
|
||||
</svg>
|
||||
<div style="display: flex; flex-direction: column; gap: 8px">
|
||||
<div style="height: 6px; border-radius: 3px; background: #1A2130; overflow: hidden">
|
||||
<div style="width: 58%; height: 6px; background: #F5B544"></div>
|
||||
</div>
|
||||
<div style="display: flex; justify-content: space-between; font-size: 14px; color: #93A0B4">
|
||||
<span>210° of 360° covered</span>
|
||||
<span style="color: #F5B544; font-weight: 600">Continue survey</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; left: 20px; right: 20px; bottom: 34px; display: flex; flex-direction: column; gap: 10px">
|
||||
<a href="Setup.dc.html" style="height: 56px; border-radius: 16px; background: #F5B544; color: #1A1204; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M12 5v14M5 12h14"></path></svg>
|
||||
New horizon survey
|
||||
</a>
|
||||
<button style="height: 48px; border-radius: 14px; border: 1px solid #263042; background: transparent; color: #E8ECF2; font-family: inherit; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px">
|
||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 3H6v18h12V7z"></path><path d="M14 3v4h4"></path><path d="M12 11v6M9 14l3 3 3-3"></path></svg>
|
||||
Import existing .hrz
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</x-dc>
|
||||
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
|
||||
class Component extends DCLogic {
|
||||
renderVals() {
|
||||
const W = 318, H = 64, MAX = 40;
|
||||
const A = [[0,12],[10,14],[20,15],[30,13],[40,9],[50,6],[60,4],[70,3],[80,3],[90,4],[100,8],[110,22],[120,26],[130,24],[140,21],[150,9],[160,5],[170,4],[180,5],[190,7],[200,12],[210,17],[220,19],[230,18],[240,16],[250,12],[260,8],[270,6],[280,5],[290,5],[300,7],[310,10],[320,11],[330,13],[340,14],[350,13],[360,12]];
|
||||
const B = [[0,6],[10,7],[20,8],[30,6],[40,5],[50,4],[60,3],[70,2],[80,2],[90,3],[100,5],[110,9],[120,11],[130,8],[140,6],[150,4],[160,3],[170,3],[180,4],[190,6],[200,7],[210,6]];
|
||||
const px = (az) => (az / 360 * W).toFixed(1);
|
||||
const py = (alt) => (H - alt / MAX * H).toFixed(1);
|
||||
const line = (pts) => pts.map((p, i) => (i ? 'L' : 'M') + px(p[0]) + ' ' + py(p[1])).join(' ');
|
||||
const area = (pts) => 'M' + px(pts[0][0]) + ' ' + H + ' ' + pts.map((p) => 'L' + px(p[0]) + ' ' + py(p[1])).join(' ') + ' L' + px(pts[pts.length - 1][0]) + ' ' + H + ' Z';
|
||||
const endX = Number(px(210));
|
||||
return {
|
||||
siteA: { line: line(A), area: area(A) },
|
||||
siteB: { line: line(B), area: area(B), endX: endX, restW: (W - endX).toFixed(1) }
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,10 @@
|
||||
# Design source files
|
||||
|
||||
One file per screen, exported from the design canvas. They are HTML with a small template layer, **not** runnable app code:
|
||||
|
||||
- `{{ path }}`: value from the `renderVals()` method of the `Component` class at the bottom of each file.
|
||||
- `<sc-for list="{{items}}" as="item">`: repeat. `<sc-if value="{{flag}}">`: conditional.
|
||||
- `onClick="{{handler}}"`: event binding. `data-props` on the script tag: design-time tweak defaults (e.g. accent colour).
|
||||
- `<a href="Other.dc.html">`: navigation between screens in the prototype.
|
||||
|
||||
Use them for exact sizes, spacing, colours and copy. The PNGs in `../screens` show the rendered result. `renderVals()` contains the sample data and the small chart geometry (profile and panorama paths) that the real app computes in the core.
|
||||
@@ -0,0 +1,207 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Review horizon</title>
|
||||
<script src="./support.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<x-dc>
|
||||
<helmet>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
||||
<style>
|
||||
body{margin:0}
|
||||
a{color:#F5B544}a:hover{color:#FFD07A}
|
||||
</style>
|
||||
</helmet>
|
||||
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #0A0D13; color: #E8ECF2; font-family: 'Barlow', system-ui, sans-serif; padding: 56px 20px 0">
|
||||
<div style="display: flex; align-items: center; gap: 8px">
|
||||
<a href="Capture.dc.html" aria-label="Back to capture" style="width: 44px; height: 44px; margin-left: -10px; display: flex; align-items: center; justify-content: center; color: #E8ECF2">
|
||||
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 5l-7 7 7 7"></path></svg>
|
||||
</a>
|
||||
<div style="display: flex; flex-direction: column; gap: 2px; flex: 1">
|
||||
<h1 style="margin: 0; font-size: 22px; font-weight: 700">Review horizon</h1>
|
||||
<span style="font-size: 13px; color: #93A0B4">24 frames stitched · full 360°</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #121722; border: 1px solid #232C3B">
|
||||
<button onClick="{{showProfile}}" style="{{profileTab}}">NINA horizon</button>
|
||||
<button onClick="{{showPano}}" style="{{panoTab}}">Panorama</button>
|
||||
</div>
|
||||
|
||||
<sc-if value="{{isProfile}}" hint-placeholder-val="{{ true }}">
|
||||
<div style="margin-top: 12px; display: flex; flex-direction: column; gap: 8px">
|
||||
<svg width="350" height="250" viewBox="0 0 350 250" role="img" aria-label="Horizon profile: obstruction altitude by azimuth, with the safety margin dashed" style="display: block">
|
||||
<g stroke="#1E2634" stroke-width="1">
|
||||
<line x1="30" y1="10" x2="346" y2="10"></line>
|
||||
<line x1="30" y1="60" x2="346" y2="60"></line>
|
||||
<line x1="30" y1="110" x2="346" y2="110"></line>
|
||||
<line x1="30" y1="160" x2="346" y2="160"></line>
|
||||
</g>
|
||||
<line x1="30" y1="210" x2="346" y2="210" stroke="#3A4558" stroke-width="1"></line>
|
||||
<g font-family="IBM Plex Mono, ui-monospace, monospace" font-size="10" fill="#93A0B4" text-anchor="end">
|
||||
<text x="24" y="14">40°</text>
|
||||
<text x="24" y="64">30°</text>
|
||||
<text x="24" y="114">20°</text>
|
||||
<text x="24" y="164">10°</text>
|
||||
<text x="24" y="214">0°</text>
|
||||
</g>
|
||||
<g font-family="IBM Plex Mono, ui-monospace, monospace" font-size="11" fill="#93A0B4" text-anchor="middle">
|
||||
<text x="30" y="232">N</text>
|
||||
<text x="109" y="232">E</text>
|
||||
<text x="188" y="232">S</text>
|
||||
<text x="267" y="232">W</text>
|
||||
<text x="346" y="232">N</text>
|
||||
</g>
|
||||
<path d="{{pArea}}" fill="{{accent}}" fill-opacity="0.16"></path>
|
||||
<path d="{{pLine}}" fill="none" stroke="{{accent}}" stroke-width="1.6" stroke-linejoin="round"></path>
|
||||
<path d="{{pMargin}}" fill="none" stroke="#6CC3E6" stroke-width="2" stroke-dasharray="5 4" stroke-linejoin="round"></path>
|
||||
</svg>
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #93A0B4">
|
||||
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 16px; height: 0; border-top: 2px solid {{accent}}"></span>Detected sky edge</span>
|
||||
<span style="display: flex; align-items: center; gap: 6px"><span style="width: 16px; height: 0; border-top: 2px dashed #6CC3E6"></span>Written to .hrz</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 16px; display: flex; flex-direction: column; gap: 8px">
|
||||
<div style="display: flex; justify-content: space-between; align-items: baseline">
|
||||
<label for="margin" style="font-size: 15px; font-weight: 600">Safety margin</label>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 15px; color: #6CC3E6">+{{marginTxt}}°</span>
|
||||
</div>
|
||||
<input id="margin" type="range" min="0" max="5" step="0.5" value="{{margin}}" onChange="{{onMargin}}" style="width: 100%; height: 28px; accent-color: #6CC3E6; margin: 0">
|
||||
<span style="font-size: 13px; color: #93A0B4">Keeps NINA targets clear of tree tips and compass error</span>
|
||||
</div>
|
||||
</sc-if>
|
||||
|
||||
<sc-if value="{{isPano}}" hint-placeholder-val="{{ false }}">
|
||||
<div style="margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1px solid #232C3B">
|
||||
<svg width="350" height="210" viewBox="0 0 350 210" role="img" aria-label="Zoomed panorama from east to south: checkered area is transparent sky, the line is the detected edge" style="display: block">
|
||||
<defs>
|
||||
<pattern id="checker" width="14" height="14" patternUnits="userSpaceOnUse">
|
||||
<rect width="14" height="14" fill="#1A2130"></rect>
|
||||
<rect width="7" height="7" fill="#273042"></rect>
|
||||
<rect x="7" y="7" width="7" height="7" fill="#273042"></rect>
|
||||
</pattern>
|
||||
</defs>
|
||||
<rect x="0" y="0" width="350" height="210" fill="url(#checker)"></rect>
|
||||
<path d="{{zArea}}" fill="#2E3A2C"></path>
|
||||
<path d="{{zGround}}" fill="#3A4436"></path>
|
||||
<path d="{{zLine}}" fill="none" stroke="{{accent}}" stroke-width="2" stroke-linejoin="round"></path>
|
||||
<sc-if value="{{isBrush}}" hint-placeholder-val="{{ false }}">
|
||||
<circle cx="238" cy="58" r="18" fill="{{brushFill}}" fill-opacity="0.25" stroke="#FFFFFF" stroke-width="1.5" stroke-dasharray="3 3"></circle>
|
||||
</sc-if>
|
||||
<g font-family="IBM Plex Mono, ui-monospace, monospace" font-size="10" fill="#C9D2DE">
|
||||
<text x="6" y="203">E 90°</text>
|
||||
<text x="171" y="203" text-anchor="middle">135°</text>
|
||||
<text x="344" y="203" text-anchor="end">S 180°</text>
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
<div style="margin-top: 8px; display: flex; flex-direction: column; gap: 8px">
|
||||
<svg width="350" height="40" viewBox="0 0 350 40" role="img" aria-label="Whole 360 degree panorama with the zoomed part outlined" style="display: block">
|
||||
<rect x="0" y="0" width="350" height="40" rx="6" fill="#1A2130"></rect>
|
||||
<path d="{{oArea}}" fill="#2E3A2C"></path>
|
||||
<path d="{{oLine}}" fill="none" stroke="{{accent}}" stroke-width="1.2"></path>
|
||||
<rect x="87.5" y="1" width="87.5" height="38" rx="4" fill="none" stroke="#E8ECF2" stroke-width="2"></rect>
|
||||
</svg>
|
||||
<span style="display: flex; align-items: center; gap: 8px; font-size: 13px; color: #93A0B4">
|
||||
<svg width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><rect width="14" height="14" fill="#1A2130"></rect><rect width="7" height="7" fill="#3A4558"></rect><rect x="7" y="7" width="7" height="7" fill="#3A4558"></rect></svg>
|
||||
Transparent sky in Stellarium
|
||||
</span>
|
||||
</div>
|
||||
<div style="margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #121722; border: 1px solid #232C3B">
|
||||
<sc-for list="{{tools}}" as="t" hint-placeholder-count="3">
|
||||
<button onClick="{{t.pick}}" style="{{t.style}}">{{t.label}}</button>
|
||||
</sc-for>
|
||||
</div>
|
||||
</sc-if>
|
||||
|
||||
<div style="position: absolute; left: 20px; right: 20px; bottom: 102px; display: flex; align-items: center; gap: 10px; background: #121722; border: 1px solid #232C3B; border-radius: 14px; padding: 10px 10px 10px 14px">
|
||||
<div style="display: flex; flex-direction: column; gap: 2px; flex: 1">
|
||||
<span style="font-size: 15px; font-weight: 600">North offset</span>
|
||||
<span style="font-size: 13px; color: #93A0B4">Applies to .hrz and panorama</span>
|
||||
</div>
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 16px; min-width: 56px; text-align: right">{{northTxt}}</span>
|
||||
<button onClick="{{nDown}}" aria-label="Rotate 0.5 degrees left" style="width: 44px; height: 44px; border-radius: 12px; border: 1px solid #263042; background: #1A2130; color: #E8ECF2; font-size: 20px; padding: 0">−</button>
|
||||
<button onClick="{{nUp}}" aria-label="Rotate 0.5 degrees right" style="width: 44px; height: 44px; border-radius: 12px; border: 1px solid #263042; background: #1A2130; color: #E8ECF2; font-size: 20px; padding: 0">+</button>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; left: 20px; right: 20px; bottom: 34px">
|
||||
<a href="Export.dc.html" style="height: 56px; border-radius: 16px; background: {{accent}}; color: #1A1204; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700">
|
||||
Export
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 5l7 7-7 7"></path></svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</x-dc>
|
||||
<script type="text/x-dc" data-dc-script data-props='{"accent":{"editor":"color","default":"#F5B544","options":["#F5B544","#6CC3E6","#F27A54"]},"$preview":{"width":390,"height":844}}'>
|
||||
class Component extends DCLogic {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = { view: 'profile', tool: 'auto', north: 0, margin: 2 };
|
||||
}
|
||||
renderVals() {
|
||||
const accent = this.props.accent ?? '#F5B544';
|
||||
const prof = [[0,12],[10,14],[20,15],[30,13],[40,9],[50,6],[60,4],[70,3],[80,3],[90,4],[100,8],[110,22],[120,26],[130,24],[140,21],[150,9],[160,5],[170,4],[180,5],[190,7],[200,12],[210,17],[220,19],[230,18],[240,16],[250,12],[260,8],[270,6],[280,5],[290,5],[300,7],[310,10],[320,11],[330,13],[340,14],[350,13],[360,12]];
|
||||
const f = (n) => n.toFixed(1);
|
||||
const m = this.state.margin;
|
||||
const px = (az) => 30 + az / 360 * 316;
|
||||
const py = (alt) => 210 - Math.min(alt, 40) / 40 * 200;
|
||||
const pLine = prof.map((p, i) => (i ? 'L' : 'M') + f(px(p[0])) + ' ' + f(py(p[1]))).join(' ');
|
||||
const pMargin = prof.map((p, i) => (i ? 'L' : 'M') + f(px(p[0])) + ' ' + f(py(p[1] + m))).join(' ');
|
||||
const pArea = 'M30 210 ' + prof.map((p) => 'L' + f(px(p[0])) + ' ' + f(py(p[1]))).join(' ') + ' L346 210 Z';
|
||||
const altAt = (az) => {
|
||||
for (let i = 0; i < prof.length - 1; i++) {
|
||||
const a = prof[i], b = prof[i + 1];
|
||||
if (az >= a[0] && az <= b[0]) return a[1] + (b[1] - a[1]) * (az - a[0]) / (b[0] - a[0]);
|
||||
}
|
||||
return prof[0][1];
|
||||
};
|
||||
const zx = (az) => (az - 90) / 90 * 350;
|
||||
const zy = (alt) => 138.5 - alt * 3.077;
|
||||
const zp = [];
|
||||
for (let az = 90; az <= 180; az += 1.5) {
|
||||
const tree = altAt(az) > 7 ? Math.sin(az * 2.3) * 1.4 + Math.sin(az * 5.1) * 0.8 : 0;
|
||||
zp.push([az, altAt(az) + tree]);
|
||||
}
|
||||
const zLine = zp.map((p, i) => (i ? 'L' : 'M') + f(zx(p[0])) + ' ' + f(zy(p[1]))).join(' ');
|
||||
const zArea = 'M0 210 ' + zp.map((p) => 'L' + f(zx(p[0])) + ' ' + f(zy(p[1]))).join(' ') + ' L350 210 Z';
|
||||
const zGround = 'M0 210 L0 ' + f(zy(0)) + ' L350 ' + f(zy(0)) + ' L350 210 Z';
|
||||
const ox = (az) => az / 360 * 350;
|
||||
const oy = (alt) => 40 - (alt + 20) / 65 * 40;
|
||||
const oLine = prof.map((p, i) => (i ? 'L' : 'M') + f(ox(p[0])) + ' ' + f(oy(p[1]))).join(' ');
|
||||
const oArea = 'M0 40 ' + prof.map((p) => 'L' + f(ox(p[0])) + ' ' + f(oy(p[1]))).join(' ') + ' L350 40 Z';
|
||||
const tab = (on) => 'height: 40px; min-width: 0; border-radius: 10px; border: none; font-family: inherit; font-size: 14px; font-weight: 600; background: ' + (on ? '#E8ECF2' : 'transparent') + '; color: ' + (on ? '#0A0D13' : '#E8ECF2');
|
||||
const tools = [['auto', 'Auto edge'], ['sky', 'Paint sky'], ['ground', 'Paint ground']].map((t) => ({
|
||||
label: t[1],
|
||||
pick: () => this.setState({ tool: t[0] }),
|
||||
style: tab(this.state.tool === t[0])
|
||||
}));
|
||||
const isProfile = this.state.view === 'profile';
|
||||
const n = this.state.north;
|
||||
return {
|
||||
accent: accent,
|
||||
isProfile: isProfile,
|
||||
isPano: !isProfile,
|
||||
profileTab: tab(isProfile),
|
||||
panoTab: tab(!isProfile),
|
||||
showProfile: () => this.setState({ view: 'profile' }),
|
||||
showPano: () => this.setState({ view: 'pano' }),
|
||||
pLine: pLine, pMargin: pMargin, pArea: pArea,
|
||||
margin: m,
|
||||
marginTxt: m.toFixed(1),
|
||||
onMargin: (e) => this.setState({ margin: Number(e.target.value) }),
|
||||
zLine: zLine, zArea: zArea, zGround: zGround,
|
||||
oLine: oLine, oArea: oArea,
|
||||
tools: tools,
|
||||
isBrush: this.state.tool !== 'auto',
|
||||
brushFill: this.state.tool === 'sky' ? '#6CC3E6' : '#3A4436',
|
||||
northTxt: (n > 0 ? '+' : '') + n.toFixed(1) + '°',
|
||||
nUp: () => this.setState({ north: n + 0.5 }),
|
||||
nDown: () => this.setState({ north: n - 0.5 })
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,79 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Survey setup</title>
|
||||
<script src="./support.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<x-dc>
|
||||
<helmet>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap">
|
||||
<style>
|
||||
body{margin:0}
|
||||
a{color:#F5B544}a:hover{color:#FFD07A}
|
||||
</style>
|
||||
</helmet>
|
||||
<div style="width: 390px; height: 844px; box-sizing: border-box; position: relative; overflow: hidden; background: #0A0D13; color: #E8ECF2; font-family: 'Barlow', system-ui, sans-serif; padding: 56px 20px 0">
|
||||
<div style="display: flex; align-items: center; gap: 8px">
|
||||
<a href="Main.dc.html" aria-label="Back" style="width: 44px; height: 44px; margin-left: -10px; display: flex; align-items: center; justify-content: center; color: #E8ECF2">
|
||||
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 5l-7 7 7 7"></path></svg>
|
||||
</a>
|
||||
<h1 style="margin: 0; font-size: 22px; font-weight: 700">New survey</h1>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 16px; display: flex; flex-direction: column; gap: 22px">
|
||||
<div style="display: flex; flex-direction: column; gap: 8px">
|
||||
<label for="site-name" style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #93A0B4">Site name</label>
|
||||
<input id="site-name" value="Backyard pier" style="height: 48px; box-sizing: border-box; border-radius: 12px; border: 1px solid #263042; background: #121722; color: #E8ECF2; font-family: inherit; font-size: 17px; padding: 0 14px">
|
||||
<div style="display: flex; align-items: center; gap: 10px; background: #121722; border: 1px solid #232C3B; border-radius: 12px; padding: 10px 10px 10px 14px">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#6CC3E6" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z"></path><circle cx="12" cy="9.5" r="2.5"></circle></svg>
|
||||
<div style="display: flex; flex-direction: column; gap: 2px; flex: 1">
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px">47.4979° N · 19.0402° E</span>
|
||||
<span style="font-size: 13px; color: #93A0B4">112 m · GPS ±4 m</span>
|
||||
</div>
|
||||
<button style="height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #263042; background: #1A2130; color: #E8ECF2; font-family: inherit; font-size: 14px; font-weight: 600">Refresh</button>
|
||||
</div>
|
||||
<div style="display: flex; align-items: center; gap: 10px; background: #121722; border: 1px solid #232C3B; border-radius: 12px; padding: 12px 14px">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#6CC3E6" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"></circle><path d="M15.5 8.5l-2 5-5 2 2-5z"></path></svg>
|
||||
<div style="display: flex; flex-direction: column; gap: 2px; flex: 1">
|
||||
<span style="font-size: 15px; font-weight: 600">North from compass</span>
|
||||
<span style="font-size: 13px; color: #93A0B4">Declination +5.6° applied automatically</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="display: flex; flex-direction: column; gap: 12px">
|
||||
<span style="font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #93A0B4">How to capture</span>
|
||||
<svg width="350" height="120" viewBox="0 0 350 120" role="img" aria-label="Turn once around in place, holding the phone upright; only a band around the horizon is photographed" style="display: block">
|
||||
<ellipse cx="175" cy="66" rx="150" ry="34" fill="none" stroke="#263042" stroke-width="22"></ellipse>
|
||||
<path d="M25 66 A150 34 0 0 0 325 66" fill="none" stroke="#F5B544" stroke-opacity="0.35" stroke-width="22"></path>
|
||||
<path d="M296 44 l14 8 -16 4" fill="none" stroke="#F5B544" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
||||
<rect x="163" y="40" width="24" height="44" rx="5" fill="#0A0D13" stroke="#E8ECF2" stroke-width="2"></rect>
|
||||
<text x="338" y="20" text-anchor="end" font-family="IBM Plex Mono, ui-monospace, monospace" font-size="10" fill="#93A0B4">sky not needed</text>
|
||||
</svg>
|
||||
<ol style="margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.35">
|
||||
<li>Stand where the telescope stands.</li>
|
||||
<li>Hold the phone upright, tilted slightly above the horizon.</li>
|
||||
<li>Turn once around slowly. Frames are taken automatically.</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; left: 20px; right: 20px; bottom: 34px">
|
||||
<a href="Capture.dc.html" style="height: 56px; border-radius: 16px; background: #F5B544; color: #1A1204; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 17px; font-weight: 700">
|
||||
Start capture
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 5l7 7-7 7"></path></svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</x-dc>
|
||||
<script type="text/x-dc" data-dc-script data-props='{"$preview":{"width":390,"height":844}}'>
|
||||
class Component extends DCLogic {
|
||||
renderVals() {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"color": {
|
||||
"bg": "#0A0D13",
|
||||
"surface": "#121722",
|
||||
"surface2": "#1A2130",
|
||||
"border": "#232C3B",
|
||||
"borderStrong": "#263042",
|
||||
"gridLine": "#1E2634",
|
||||
"text": "#E8ECF2",
|
||||
"text2": "#C9D2DE",
|
||||
"muted": "#93A0B4",
|
||||
"faint": "#7F8CA1",
|
||||
"accent": "#F5B544",
|
||||
"accentHover": "#FFD07A",
|
||||
"onAccent": "#1A1204",
|
||||
"info": "#6CC3E6",
|
||||
"infoBg": "#12303C",
|
||||
"warnBg": "#1E1A10",
|
||||
"warnBorder": "#4A3A16",
|
||||
"badgeAmberBg": "#2A2312",
|
||||
"overlayScrim": "rgba(10,13,19,0.72)",
|
||||
"transparentChecker": ["#1A2130", "#273042"],
|
||||
"usage": {
|
||||
"accent": "sky edge / horizon line, primary buttons, selection borders, targets",
|
||||
"info": "safety-margin line (dashed), OK states, tilt in tolerance, coverage ring"
|
||||
}
|
||||
},
|
||||
"font": {
|
||||
"ui": { "family": "Barlow", "fallback": "system-ui, sans-serif", "weights": [400, 500, 600, 700] },
|
||||
"numeric": { "family": "IBM Plex Mono", "fallback": "ui-monospace, monospace", "weights": [400, 500] }
|
||||
},
|
||||
"type": {
|
||||
"display": { "font": "ui", "size": 30, "weight": 700 },
|
||||
"title": { "font": "ui", "size": 22, "weight": 700 },
|
||||
"cardTitle": { "font": "ui", "size": 19, "weight": 600 },
|
||||
"body": { "font": "ui", "size": 15, "lineHeight": 1.4 },
|
||||
"bodyLarge": { "font": "ui", "size": 17 },
|
||||
"caption": { "font": "ui", "size": 13 },
|
||||
"overline": { "font": "numeric", "size": 12, "letterSpacing": "0.08em", "transform": "uppercase" },
|
||||
"readout": { "font": "numeric", "size": 20, "weight": 500 },
|
||||
"readoutLarge": { "font": "numeric", "size": 22, "weight": 500 },
|
||||
"code": { "font": "numeric", "size": 12, "lineHeight": 1.55 }
|
||||
},
|
||||
"radius": { "chip": 8, "control": 10, "input": 12, "card": 14, "button": 16, "siteCard": 18, "pill": 9999 },
|
||||
"space": { "screenX": 20, "screenTop": 56, "screenBottom": 34, "gapXs": 4, "gapS": 8, "gapM": 12, "gapL": 16, "gapXl": 22 },
|
||||
"size": { "touchMin": 44, "buttonPrimary": 56, "buttonSecondary": 48, "segmented": 40, "shutter": 80, "artboard": [390, 844] }
|
||||
}
|
||||
@@ -0,0 +1,362 @@
|
||||
# Az Alt
|
||||
0 14.0
|
||||
1 14.2
|
||||
2 14.4
|
||||
3 14.6
|
||||
4 14.8
|
||||
5 15.0
|
||||
6 15.2
|
||||
7 15.4
|
||||
8 15.6
|
||||
9 15.8
|
||||
10 16.0
|
||||
11 16.1
|
||||
12 16.2
|
||||
13 16.3
|
||||
14 16.4
|
||||
15 16.5
|
||||
16 16.6
|
||||
17 16.7
|
||||
18 16.8
|
||||
19 16.9
|
||||
20 17.0
|
||||
21 16.8
|
||||
22 16.6
|
||||
23 16.4
|
||||
24 16.2
|
||||
25 16.0
|
||||
26 15.8
|
||||
27 15.6
|
||||
28 15.4
|
||||
29 15.2
|
||||
30 15.0
|
||||
31 14.6
|
||||
32 14.2
|
||||
33 13.8
|
||||
34 13.4
|
||||
35 13.0
|
||||
36 12.6
|
||||
37 12.2
|
||||
38 11.8
|
||||
39 11.4
|
||||
40 11.0
|
||||
41 10.7
|
||||
42 10.4
|
||||
43 10.1
|
||||
44 9.8
|
||||
45 9.5
|
||||
46 9.2
|
||||
47 8.9
|
||||
48 8.6
|
||||
49 8.3
|
||||
50 8.0
|
||||
51 7.8
|
||||
52 7.6
|
||||
53 7.4
|
||||
54 7.2
|
||||
55 7.0
|
||||
56 6.8
|
||||
57 6.6
|
||||
58 6.4
|
||||
59 6.2
|
||||
60 6.0
|
||||
61 5.9
|
||||
62 5.8
|
||||
63 5.7
|
||||
64 5.6
|
||||
65 5.5
|
||||
66 5.4
|
||||
67 5.3
|
||||
68 5.2
|
||||
69 5.1
|
||||
70 5.0
|
||||
71 5.0
|
||||
72 5.0
|
||||
73 5.0
|
||||
74 5.0
|
||||
75 5.0
|
||||
76 5.0
|
||||
77 5.0
|
||||
78 5.0
|
||||
79 5.0
|
||||
80 5.0
|
||||
81 5.1
|
||||
82 5.2
|
||||
83 5.3
|
||||
84 5.4
|
||||
85 5.5
|
||||
86 5.6
|
||||
87 5.7
|
||||
88 5.8
|
||||
89 5.9
|
||||
90 6.0
|
||||
91 6.4
|
||||
92 6.8
|
||||
93 7.2
|
||||
94 7.6
|
||||
95 8.0
|
||||
96 8.4
|
||||
97 8.8
|
||||
98 9.2
|
||||
99 9.6
|
||||
100 10.0
|
||||
101 11.4
|
||||
102 12.8
|
||||
103 14.2
|
||||
104 15.6
|
||||
105 17.0
|
||||
106 18.4
|
||||
107 19.8
|
||||
108 21.2
|
||||
109 22.6
|
||||
110 24.0
|
||||
111 24.4
|
||||
112 24.8
|
||||
113 25.2
|
||||
114 25.6
|
||||
115 26.0
|
||||
116 26.4
|
||||
117 26.8
|
||||
118 27.2
|
||||
119 27.6
|
||||
120 28.0
|
||||
121 27.8
|
||||
122 27.6
|
||||
123 27.4
|
||||
124 27.2
|
||||
125 27.0
|
||||
126 26.8
|
||||
127 26.6
|
||||
128 26.4
|
||||
129 26.2
|
||||
130 26.0
|
||||
131 25.7
|
||||
132 25.4
|
||||
133 25.1
|
||||
134 24.8
|
||||
135 24.5
|
||||
136 24.2
|
||||
137 23.9
|
||||
138 23.6
|
||||
139 23.3
|
||||
140 23.0
|
||||
141 21.8
|
||||
142 20.6
|
||||
143 19.4
|
||||
144 18.2
|
||||
145 17.0
|
||||
146 15.8
|
||||
147 14.6
|
||||
148 13.4
|
||||
149 12.2
|
||||
150 11.0
|
||||
151 10.6
|
||||
152 10.2
|
||||
153 9.8
|
||||
154 9.4
|
||||
155 9.0
|
||||
156 8.6
|
||||
157 8.2
|
||||
158 7.8
|
||||
159 7.4
|
||||
160 7.0
|
||||
161 6.9
|
||||
162 6.8
|
||||
163 6.7
|
||||
164 6.6
|
||||
165 6.5
|
||||
166 6.4
|
||||
167 6.3
|
||||
168 6.2
|
||||
169 6.1
|
||||
170 6.0
|
||||
171 6.1
|
||||
172 6.2
|
||||
173 6.3
|
||||
174 6.4
|
||||
175 6.5
|
||||
176 6.6
|
||||
177 6.7
|
||||
178 6.8
|
||||
179 6.9
|
||||
180 7.0
|
||||
181 7.2
|
||||
182 7.4
|
||||
183 7.6
|
||||
184 7.8
|
||||
185 8.0
|
||||
186 8.2
|
||||
187 8.4
|
||||
188 8.6
|
||||
189 8.8
|
||||
190 9.0
|
||||
191 9.5
|
||||
192 10.0
|
||||
193 10.5
|
||||
194 11.0
|
||||
195 11.5
|
||||
196 12.0
|
||||
197 12.5
|
||||
198 13.0
|
||||
199 13.5
|
||||
200 14.0
|
||||
201 14.5
|
||||
202 15.0
|
||||
203 15.5
|
||||
204 16.0
|
||||
205 16.5
|
||||
206 17.0
|
||||
207 17.5
|
||||
208 18.0
|
||||
209 18.5
|
||||
210 19.0
|
||||
211 19.2
|
||||
212 19.4
|
||||
213 19.6
|
||||
214 19.8
|
||||
215 20.0
|
||||
216 20.2
|
||||
217 20.4
|
||||
218 20.6
|
||||
219 20.8
|
||||
220 21.0
|
||||
221 20.9
|
||||
222 20.8
|
||||
223 20.7
|
||||
224 20.6
|
||||
225 20.5
|
||||
226 20.4
|
||||
227 20.3
|
||||
228 20.2
|
||||
229 20.1
|
||||
230 20.0
|
||||
231 19.8
|
||||
232 19.6
|
||||
233 19.4
|
||||
234 19.2
|
||||
235 19.0
|
||||
236 18.8
|
||||
237 18.6
|
||||
238 18.4
|
||||
239 18.2
|
||||
240 18.0
|
||||
241 17.6
|
||||
242 17.2
|
||||
243 16.8
|
||||
244 16.4
|
||||
245 16.0
|
||||
246 15.6
|
||||
247 15.2
|
||||
248 14.8
|
||||
249 14.4
|
||||
250 14.0
|
||||
251 13.6
|
||||
252 13.2
|
||||
253 12.8
|
||||
254 12.4
|
||||
255 12.0
|
||||
256 11.6
|
||||
257 11.2
|
||||
258 10.8
|
||||
259 10.4
|
||||
260 10.0
|
||||
261 9.8
|
||||
262 9.6
|
||||
263 9.4
|
||||
264 9.2
|
||||
265 9.0
|
||||
266 8.8
|
||||
267 8.6
|
||||
268 8.4
|
||||
269 8.2
|
||||
270 8.0
|
||||
271 7.9
|
||||
272 7.8
|
||||
273 7.7
|
||||
274 7.6
|
||||
275 7.5
|
||||
276 7.4
|
||||
277 7.3
|
||||
278 7.2
|
||||
279 7.1
|
||||
280 7.0
|
||||
281 7.0
|
||||
282 7.0
|
||||
283 7.0
|
||||
284 7.0
|
||||
285 7.0
|
||||
286 7.0
|
||||
287 7.0
|
||||
288 7.0
|
||||
289 7.0
|
||||
290 7.0
|
||||
291 7.2
|
||||
292 7.4
|
||||
293 7.6
|
||||
294 7.8
|
||||
295 8.0
|
||||
296 8.2
|
||||
297 8.4
|
||||
298 8.6
|
||||
299 8.8
|
||||
300 9.0
|
||||
301 9.3
|
||||
302 9.6
|
||||
303 9.9
|
||||
304 10.2
|
||||
305 10.5
|
||||
306 10.8
|
||||
307 11.1
|
||||
308 11.4
|
||||
309 11.7
|
||||
310 12.0
|
||||
311 12.1
|
||||
312 12.2
|
||||
313 12.3
|
||||
314 12.4
|
||||
315 12.5
|
||||
316 12.6
|
||||
317 12.7
|
||||
318 12.8
|
||||
319 12.9
|
||||
320 13.0
|
||||
321 13.2
|
||||
322 13.4
|
||||
323 13.6
|
||||
324 13.8
|
||||
325 14.0
|
||||
326 14.2
|
||||
327 14.4
|
||||
328 14.6
|
||||
329 14.8
|
||||
330 15.0
|
||||
331 15.1
|
||||
332 15.2
|
||||
333 15.3
|
||||
334 15.4
|
||||
335 15.5
|
||||
336 15.6
|
||||
337 15.7
|
||||
338 15.8
|
||||
339 15.9
|
||||
340 16.0
|
||||
341 15.9
|
||||
342 15.8
|
||||
343 15.7
|
||||
344 15.6
|
||||
345 15.5
|
||||
346 15.4
|
||||
347 15.3
|
||||
348 15.2
|
||||
349 15.1
|
||||
350 15.0
|
||||
351 14.9
|
||||
352 14.8
|
||||
353 14.7
|
||||
354 14.6
|
||||
355 14.5
|
||||
356 14.4
|
||||
357 14.3
|
||||
358 14.2
|
||||
359 14.1
|
||||
360 14.0
|
||||
@@ -0,0 +1,2 @@
|
||||
{"t":12.000,"q":[0.70711,0.70711,0.0,0.0],"magHeadingDeg":354.4,"headingAccuracyDeg":3.0}
|
||||
{"t":12.017,"q":[0.70710,0.70712,0.00010,0.00010],"magHeadingDeg":354.5,"headingAccuracyDeg":3.0}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"version": 1,
|
||||
"createdAt": "2026-10-23T08:00:00Z",
|
||||
"app": {
|
||||
"name": "[APP NAME]",
|
||||
"build": "dev"
|
||||
},
|
||||
"device": {
|
||||
"platform": "web",
|
||||
"model": "unknown",
|
||||
"camera": {
|
||||
"widthPx": 1440,
|
||||
"heightPx": 1920,
|
||||
"hfovDeg": 50.0,
|
||||
"vfovDeg": 64.0,
|
||||
"fovSource": "assumed"
|
||||
}
|
||||
},
|
||||
"site": {
|
||||
"name": "Backyard pier",
|
||||
"latDeg": 47.4979,
|
||||
"lonDeg": 19.0402,
|
||||
"elevM": 112,
|
||||
"gpsAccuracyM": 4
|
||||
},
|
||||
"north": {
|
||||
"source": "magnetic",
|
||||
"declinationDeg": 5.6,
|
||||
"userOffsetDeg": 0.0
|
||||
},
|
||||
"capture": {
|
||||
"plannedFrames": 24,
|
||||
"targetTiltDeg": 10.0
|
||||
},
|
||||
"frames": [
|
||||
{
|
||||
"id": "f000",
|
||||
"file": "frames/f000.jpg",
|
||||
"t": 12.031,
|
||||
"q": [
|
||||
0.70711,
|
||||
0.70711,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"headingAccuracyDeg": 3.0
|
||||
},
|
||||
{
|
||||
"id": "f001",
|
||||
"file": "frames/f001.jpg",
|
||||
"t": 14.512,
|
||||
"q": [
|
||||
0.68301,
|
||||
0.68301,
|
||||
0.18301,
|
||||
0.18301
|
||||
],
|
||||
"headingAccuracyDeg": 3.0
|
||||
}
|
||||
],
|
||||
"sensorStream": {
|
||||
"file": "sensors.jsonl",
|
||||
"rateHz": 60
|
||||
},
|
||||
"maskEdits": [],
|
||||
"result": null
|
||||
}
|
||||
@@ -0,0 +1,362 @@
|
||||
# Backyard pier - sky edge, no safety margin
|
||||
# azimuth (deg, N=0, E=90) altitude (deg)
|
||||
0 12.0
|
||||
1 12.2
|
||||
2 12.4
|
||||
3 12.6
|
||||
4 12.8
|
||||
5 13.0
|
||||
6 13.2
|
||||
7 13.4
|
||||
8 13.6
|
||||
9 13.8
|
||||
10 14.0
|
||||
11 14.1
|
||||
12 14.2
|
||||
13 14.3
|
||||
14 14.4
|
||||
15 14.5
|
||||
16 14.6
|
||||
17 14.7
|
||||
18 14.8
|
||||
19 14.9
|
||||
20 15.0
|
||||
21 14.8
|
||||
22 14.6
|
||||
23 14.4
|
||||
24 14.2
|
||||
25 14.0
|
||||
26 13.8
|
||||
27 13.6
|
||||
28 13.4
|
||||
29 13.2
|
||||
30 13.0
|
||||
31 12.6
|
||||
32 12.2
|
||||
33 11.8
|
||||
34 11.4
|
||||
35 11.0
|
||||
36 10.6
|
||||
37 10.2
|
||||
38 9.8
|
||||
39 9.4
|
||||
40 9.0
|
||||
41 8.7
|
||||
42 8.4
|
||||
43 8.1
|
||||
44 7.8
|
||||
45 7.5
|
||||
46 7.2
|
||||
47 6.9
|
||||
48 6.6
|
||||
49 6.3
|
||||
50 6.0
|
||||
51 5.8
|
||||
52 5.6
|
||||
53 5.4
|
||||
54 5.2
|
||||
55 5.0
|
||||
56 4.8
|
||||
57 4.6
|
||||
58 4.4
|
||||
59 4.2
|
||||
60 4.0
|
||||
61 3.9
|
||||
62 3.8
|
||||
63 3.7
|
||||
64 3.6
|
||||
65 3.5
|
||||
66 3.4
|
||||
67 3.3
|
||||
68 3.2
|
||||
69 3.1
|
||||
70 3.0
|
||||
71 3.0
|
||||
72 3.0
|
||||
73 3.0
|
||||
74 3.0
|
||||
75 3.0
|
||||
76 3.0
|
||||
77 3.0
|
||||
78 3.0
|
||||
79 3.0
|
||||
80 3.0
|
||||
81 3.1
|
||||
82 3.2
|
||||
83 3.3
|
||||
84 3.4
|
||||
85 3.5
|
||||
86 3.6
|
||||
87 3.7
|
||||
88 3.8
|
||||
89 3.9
|
||||
90 4.0
|
||||
91 4.4
|
||||
92 4.8
|
||||
93 5.2
|
||||
94 5.6
|
||||
95 6.0
|
||||
96 6.4
|
||||
97 6.8
|
||||
98 7.2
|
||||
99 7.6
|
||||
100 8.0
|
||||
101 9.4
|
||||
102 10.8
|
||||
103 12.2
|
||||
104 13.6
|
||||
105 15.0
|
||||
106 16.4
|
||||
107 17.8
|
||||
108 19.2
|
||||
109 20.6
|
||||
110 22.0
|
||||
111 22.4
|
||||
112 22.8
|
||||
113 23.2
|
||||
114 23.6
|
||||
115 24.0
|
||||
116 24.4
|
||||
117 24.8
|
||||
118 25.2
|
||||
119 25.6
|
||||
120 26.0
|
||||
121 25.8
|
||||
122 25.6
|
||||
123 25.4
|
||||
124 25.2
|
||||
125 25.0
|
||||
126 24.8
|
||||
127 24.6
|
||||
128 24.4
|
||||
129 24.2
|
||||
130 24.0
|
||||
131 23.7
|
||||
132 23.4
|
||||
133 23.1
|
||||
134 22.8
|
||||
135 22.5
|
||||
136 22.2
|
||||
137 21.9
|
||||
138 21.6
|
||||
139 21.3
|
||||
140 21.0
|
||||
141 19.8
|
||||
142 18.6
|
||||
143 17.4
|
||||
144 16.2
|
||||
145 15.0
|
||||
146 13.8
|
||||
147 12.6
|
||||
148 11.4
|
||||
149 10.2
|
||||
150 9.0
|
||||
151 8.6
|
||||
152 8.2
|
||||
153 7.8
|
||||
154 7.4
|
||||
155 7.0
|
||||
156 6.6
|
||||
157 6.2
|
||||
158 5.8
|
||||
159 5.4
|
||||
160 5.0
|
||||
161 4.9
|
||||
162 4.8
|
||||
163 4.7
|
||||
164 4.6
|
||||
165 4.5
|
||||
166 4.4
|
||||
167 4.3
|
||||
168 4.2
|
||||
169 4.1
|
||||
170 4.0
|
||||
171 4.1
|
||||
172 4.2
|
||||
173 4.3
|
||||
174 4.4
|
||||
175 4.5
|
||||
176 4.6
|
||||
177 4.7
|
||||
178 4.8
|
||||
179 4.9
|
||||
180 5.0
|
||||
181 5.2
|
||||
182 5.4
|
||||
183 5.6
|
||||
184 5.8
|
||||
185 6.0
|
||||
186 6.2
|
||||
187 6.4
|
||||
188 6.6
|
||||
189 6.8
|
||||
190 7.0
|
||||
191 7.5
|
||||
192 8.0
|
||||
193 8.5
|
||||
194 9.0
|
||||
195 9.5
|
||||
196 10.0
|
||||
197 10.5
|
||||
198 11.0
|
||||
199 11.5
|
||||
200 12.0
|
||||
201 12.5
|
||||
202 13.0
|
||||
203 13.5
|
||||
204 14.0
|
||||
205 14.5
|
||||
206 15.0
|
||||
207 15.5
|
||||
208 16.0
|
||||
209 16.5
|
||||
210 17.0
|
||||
211 17.2
|
||||
212 17.4
|
||||
213 17.6
|
||||
214 17.8
|
||||
215 18.0
|
||||
216 18.2
|
||||
217 18.4
|
||||
218 18.6
|
||||
219 18.8
|
||||
220 19.0
|
||||
221 18.9
|
||||
222 18.8
|
||||
223 18.7
|
||||
224 18.6
|
||||
225 18.5
|
||||
226 18.4
|
||||
227 18.3
|
||||
228 18.2
|
||||
229 18.1
|
||||
230 18.0
|
||||
231 17.8
|
||||
232 17.6
|
||||
233 17.4
|
||||
234 17.2
|
||||
235 17.0
|
||||
236 16.8
|
||||
237 16.6
|
||||
238 16.4
|
||||
239 16.2
|
||||
240 16.0
|
||||
241 15.6
|
||||
242 15.2
|
||||
243 14.8
|
||||
244 14.4
|
||||
245 14.0
|
||||
246 13.6
|
||||
247 13.2
|
||||
248 12.8
|
||||
249 12.4
|
||||
250 12.0
|
||||
251 11.6
|
||||
252 11.2
|
||||
253 10.8
|
||||
254 10.4
|
||||
255 10.0
|
||||
256 9.6
|
||||
257 9.2
|
||||
258 8.8
|
||||
259 8.4
|
||||
260 8.0
|
||||
261 7.8
|
||||
262 7.6
|
||||
263 7.4
|
||||
264 7.2
|
||||
265 7.0
|
||||
266 6.8
|
||||
267 6.6
|
||||
268 6.4
|
||||
269 6.2
|
||||
270 6.0
|
||||
271 5.9
|
||||
272 5.8
|
||||
273 5.7
|
||||
274 5.6
|
||||
275 5.5
|
||||
276 5.4
|
||||
277 5.3
|
||||
278 5.2
|
||||
279 5.1
|
||||
280 5.0
|
||||
281 5.0
|
||||
282 5.0
|
||||
283 5.0
|
||||
284 5.0
|
||||
285 5.0
|
||||
286 5.0
|
||||
287 5.0
|
||||
288 5.0
|
||||
289 5.0
|
||||
290 5.0
|
||||
291 5.2
|
||||
292 5.4
|
||||
293 5.6
|
||||
294 5.8
|
||||
295 6.0
|
||||
296 6.2
|
||||
297 6.4
|
||||
298 6.6
|
||||
299 6.8
|
||||
300 7.0
|
||||
301 7.3
|
||||
302 7.6
|
||||
303 7.9
|
||||
304 8.2
|
||||
305 8.5
|
||||
306 8.8
|
||||
307 9.1
|
||||
308 9.4
|
||||
309 9.7
|
||||
310 10.0
|
||||
311 10.1
|
||||
312 10.2
|
||||
313 10.3
|
||||
314 10.4
|
||||
315 10.5
|
||||
316 10.6
|
||||
317 10.7
|
||||
318 10.8
|
||||
319 10.9
|
||||
320 11.0
|
||||
321 11.2
|
||||
322 11.4
|
||||
323 11.6
|
||||
324 11.8
|
||||
325 12.0
|
||||
326 12.2
|
||||
327 12.4
|
||||
328 12.6
|
||||
329 12.8
|
||||
330 13.0
|
||||
331 13.1
|
||||
332 13.2
|
||||
333 13.3
|
||||
334 13.4
|
||||
335 13.5
|
||||
336 13.6
|
||||
337 13.7
|
||||
338 13.8
|
||||
339 13.9
|
||||
340 14.0
|
||||
341 13.9
|
||||
342 13.8
|
||||
343 13.7
|
||||
344 13.6
|
||||
345 13.5
|
||||
346 13.4
|
||||
347 13.3
|
||||
348 13.2
|
||||
349 13.1
|
||||
350 13.0
|
||||
351 12.9
|
||||
352 12.8
|
||||
353 12.7
|
||||
354 12.6
|
||||
355 12.5
|
||||
356 12.4
|
||||
357 12.3
|
||||
358 12.2
|
||||
359 12.1
|
||||
@@ -0,0 +1,15 @@
|
||||
[landscape]
|
||||
name = Backyard pier (outline)
|
||||
author = [AUTHOR]
|
||||
description = Horizon outline made with [APP NAME]
|
||||
type = polygonal
|
||||
polygonal_horizon_list = horizon.txt
|
||||
polygonal_horizon_list_mode = azDeg_altDeg
|
||||
polygonal_angle_rotatez = 0
|
||||
ground_color = .12,.12,.14
|
||||
|
||||
[location]
|
||||
planet = Earth
|
||||
latitude = +47d29'52"
|
||||
longitude = +19d2'25"
|
||||
altitude = 112
|
||||
@@ -0,0 +1,362 @@
|
||||
# Backyard pier - sky edge, no safety margin
|
||||
# azimuth (deg, N=0, E=90) altitude (deg)
|
||||
0 12.0
|
||||
1 12.2
|
||||
2 12.4
|
||||
3 12.6
|
||||
4 12.8
|
||||
5 13.0
|
||||
6 13.2
|
||||
7 13.4
|
||||
8 13.6
|
||||
9 13.8
|
||||
10 14.0
|
||||
11 14.1
|
||||
12 14.2
|
||||
13 14.3
|
||||
14 14.4
|
||||
15 14.5
|
||||
16 14.6
|
||||
17 14.7
|
||||
18 14.8
|
||||
19 14.9
|
||||
20 15.0
|
||||
21 14.8
|
||||
22 14.6
|
||||
23 14.4
|
||||
24 14.2
|
||||
25 14.0
|
||||
26 13.8
|
||||
27 13.6
|
||||
28 13.4
|
||||
29 13.2
|
||||
30 13.0
|
||||
31 12.6
|
||||
32 12.2
|
||||
33 11.8
|
||||
34 11.4
|
||||
35 11.0
|
||||
36 10.6
|
||||
37 10.2
|
||||
38 9.8
|
||||
39 9.4
|
||||
40 9.0
|
||||
41 8.7
|
||||
42 8.4
|
||||
43 8.1
|
||||
44 7.8
|
||||
45 7.5
|
||||
46 7.2
|
||||
47 6.9
|
||||
48 6.6
|
||||
49 6.3
|
||||
50 6.0
|
||||
51 5.8
|
||||
52 5.6
|
||||
53 5.4
|
||||
54 5.2
|
||||
55 5.0
|
||||
56 4.8
|
||||
57 4.6
|
||||
58 4.4
|
||||
59 4.2
|
||||
60 4.0
|
||||
61 3.9
|
||||
62 3.8
|
||||
63 3.7
|
||||
64 3.6
|
||||
65 3.5
|
||||
66 3.4
|
||||
67 3.3
|
||||
68 3.2
|
||||
69 3.1
|
||||
70 3.0
|
||||
71 3.0
|
||||
72 3.0
|
||||
73 3.0
|
||||
74 3.0
|
||||
75 3.0
|
||||
76 3.0
|
||||
77 3.0
|
||||
78 3.0
|
||||
79 3.0
|
||||
80 3.0
|
||||
81 3.1
|
||||
82 3.2
|
||||
83 3.3
|
||||
84 3.4
|
||||
85 3.5
|
||||
86 3.6
|
||||
87 3.7
|
||||
88 3.8
|
||||
89 3.9
|
||||
90 4.0
|
||||
91 4.4
|
||||
92 4.8
|
||||
93 5.2
|
||||
94 5.6
|
||||
95 6.0
|
||||
96 6.4
|
||||
97 6.8
|
||||
98 7.2
|
||||
99 7.6
|
||||
100 8.0
|
||||
101 9.4
|
||||
102 10.8
|
||||
103 12.2
|
||||
104 13.6
|
||||
105 15.0
|
||||
106 16.4
|
||||
107 17.8
|
||||
108 19.2
|
||||
109 20.6
|
||||
110 22.0
|
||||
111 22.4
|
||||
112 22.8
|
||||
113 23.2
|
||||
114 23.6
|
||||
115 24.0
|
||||
116 24.4
|
||||
117 24.8
|
||||
118 25.2
|
||||
119 25.6
|
||||
120 26.0
|
||||
121 25.8
|
||||
122 25.6
|
||||
123 25.4
|
||||
124 25.2
|
||||
125 25.0
|
||||
126 24.8
|
||||
127 24.6
|
||||
128 24.4
|
||||
129 24.2
|
||||
130 24.0
|
||||
131 23.7
|
||||
132 23.4
|
||||
133 23.1
|
||||
134 22.8
|
||||
135 22.5
|
||||
136 22.2
|
||||
137 21.9
|
||||
138 21.6
|
||||
139 21.3
|
||||
140 21.0
|
||||
141 19.8
|
||||
142 18.6
|
||||
143 17.4
|
||||
144 16.2
|
||||
145 15.0
|
||||
146 13.8
|
||||
147 12.6
|
||||
148 11.4
|
||||
149 10.2
|
||||
150 9.0
|
||||
151 8.6
|
||||
152 8.2
|
||||
153 7.8
|
||||
154 7.4
|
||||
155 7.0
|
||||
156 6.6
|
||||
157 6.2
|
||||
158 5.8
|
||||
159 5.4
|
||||
160 5.0
|
||||
161 4.9
|
||||
162 4.8
|
||||
163 4.7
|
||||
164 4.6
|
||||
165 4.5
|
||||
166 4.4
|
||||
167 4.3
|
||||
168 4.2
|
||||
169 4.1
|
||||
170 4.0
|
||||
171 4.1
|
||||
172 4.2
|
||||
173 4.3
|
||||
174 4.4
|
||||
175 4.5
|
||||
176 4.6
|
||||
177 4.7
|
||||
178 4.8
|
||||
179 4.9
|
||||
180 5.0
|
||||
181 5.2
|
||||
182 5.4
|
||||
183 5.6
|
||||
184 5.8
|
||||
185 6.0
|
||||
186 6.2
|
||||
187 6.4
|
||||
188 6.6
|
||||
189 6.8
|
||||
190 7.0
|
||||
191 7.5
|
||||
192 8.0
|
||||
193 8.5
|
||||
194 9.0
|
||||
195 9.5
|
||||
196 10.0
|
||||
197 10.5
|
||||
198 11.0
|
||||
199 11.5
|
||||
200 12.0
|
||||
201 12.5
|
||||
202 13.0
|
||||
203 13.5
|
||||
204 14.0
|
||||
205 14.5
|
||||
206 15.0
|
||||
207 15.5
|
||||
208 16.0
|
||||
209 16.5
|
||||
210 17.0
|
||||
211 17.2
|
||||
212 17.4
|
||||
213 17.6
|
||||
214 17.8
|
||||
215 18.0
|
||||
216 18.2
|
||||
217 18.4
|
||||
218 18.6
|
||||
219 18.8
|
||||
220 19.0
|
||||
221 18.9
|
||||
222 18.8
|
||||
223 18.7
|
||||
224 18.6
|
||||
225 18.5
|
||||
226 18.4
|
||||
227 18.3
|
||||
228 18.2
|
||||
229 18.1
|
||||
230 18.0
|
||||
231 17.8
|
||||
232 17.6
|
||||
233 17.4
|
||||
234 17.2
|
||||
235 17.0
|
||||
236 16.8
|
||||
237 16.6
|
||||
238 16.4
|
||||
239 16.2
|
||||
240 16.0
|
||||
241 15.6
|
||||
242 15.2
|
||||
243 14.8
|
||||
244 14.4
|
||||
245 14.0
|
||||
246 13.6
|
||||
247 13.2
|
||||
248 12.8
|
||||
249 12.4
|
||||
250 12.0
|
||||
251 11.6
|
||||
252 11.2
|
||||
253 10.8
|
||||
254 10.4
|
||||
255 10.0
|
||||
256 9.6
|
||||
257 9.2
|
||||
258 8.8
|
||||
259 8.4
|
||||
260 8.0
|
||||
261 7.8
|
||||
262 7.6
|
||||
263 7.4
|
||||
264 7.2
|
||||
265 7.0
|
||||
266 6.8
|
||||
267 6.6
|
||||
268 6.4
|
||||
269 6.2
|
||||
270 6.0
|
||||
271 5.9
|
||||
272 5.8
|
||||
273 5.7
|
||||
274 5.6
|
||||
275 5.5
|
||||
276 5.4
|
||||
277 5.3
|
||||
278 5.2
|
||||
279 5.1
|
||||
280 5.0
|
||||
281 5.0
|
||||
282 5.0
|
||||
283 5.0
|
||||
284 5.0
|
||||
285 5.0
|
||||
286 5.0
|
||||
287 5.0
|
||||
288 5.0
|
||||
289 5.0
|
||||
290 5.0
|
||||
291 5.2
|
||||
292 5.4
|
||||
293 5.6
|
||||
294 5.8
|
||||
295 6.0
|
||||
296 6.2
|
||||
297 6.4
|
||||
298 6.6
|
||||
299 6.8
|
||||
300 7.0
|
||||
301 7.3
|
||||
302 7.6
|
||||
303 7.9
|
||||
304 8.2
|
||||
305 8.5
|
||||
306 8.8
|
||||
307 9.1
|
||||
308 9.4
|
||||
309 9.7
|
||||
310 10.0
|
||||
311 10.1
|
||||
312 10.2
|
||||
313 10.3
|
||||
314 10.4
|
||||
315 10.5
|
||||
316 10.6
|
||||
317 10.7
|
||||
318 10.8
|
||||
319 10.9
|
||||
320 11.0
|
||||
321 11.2
|
||||
322 11.4
|
||||
323 11.6
|
||||
324 11.8
|
||||
325 12.0
|
||||
326 12.2
|
||||
327 12.4
|
||||
328 12.6
|
||||
329 12.8
|
||||
330 13.0
|
||||
331 13.1
|
||||
332 13.2
|
||||
333 13.3
|
||||
334 13.4
|
||||
335 13.5
|
||||
336 13.6
|
||||
337 13.7
|
||||
338 13.8
|
||||
339 13.9
|
||||
340 14.0
|
||||
341 13.9
|
||||
342 13.8
|
||||
343 13.7
|
||||
344 13.6
|
||||
345 13.5
|
||||
346 13.4
|
||||
347 13.3
|
||||
348 13.2
|
||||
349 13.1
|
||||
350 13.0
|
||||
351 12.9
|
||||
352 12.8
|
||||
353 12.7
|
||||
354 12.6
|
||||
355 12.5
|
||||
356 12.4
|
||||
357 12.3
|
||||
358 12.2
|
||||
359 12.1
|
||||
@@ -0,0 +1,18 @@
|
||||
[landscape]
|
||||
name = Backyard pier
|
||||
author = [AUTHOR]
|
||||
description = 360 degree horizon panorama made with [APP NAME]
|
||||
type = spherical
|
||||
maptex = panorama.png
|
||||
maptex_top = 42
|
||||
maptex_bottom = -22
|
||||
angle_rotatez = 0
|
||||
bottom_cap_color = .05,.05,.05
|
||||
polygonal_horizon_list = horizon.txt
|
||||
polygonal_angle_rotatez = 0
|
||||
|
||||
[location]
|
||||
planet = Earth
|
||||
latitude = +47d29'52"
|
||||
longitude = +19d2'25"
|
||||
altitude = 112
|
||||
@@ -0,0 +1,3 @@
|
||||
Placeholder: the real export puts an 8192x2048 RGBA PNG here.
|
||||
Left edge = azimuth 90 (East), azimuth increases to the right (S at 25%, W at 50%, N at 75%).
|
||||
Top row = maptex_top altitude, bottom row = maptex_bottom altitude. Sky pixels alpha = 0.
|
||||