This commit is contained in:
sagiferi
2026-10-24 13:20:55 +02:00
parent 93e06d148a
commit b33d1543fc
326 changed files with 20843 additions and 3 deletions
+146
View File
@@ -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&amp;family=IBM+Plex+Mono:wght@400;500&amp;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>
+131
View File
@@ -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&amp;family=IBM+Plex+Mono:wght@400;500&amp;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>
+115
View File
@@ -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&amp;family=IBM+Plex+Mono:wght@400;500&amp;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 &amp; 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>
+10
View File
@@ -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.
+207
View File
@@ -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&amp;family=IBM+Plex+Mono:wght@400;500&amp;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>
+79
View File
@@ -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&amp;family=IBM+Plex+Mono:wght@400;500&amp;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>