Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

8.2 KB
Raw Blame
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vector — Field Studio</title><!-- FAVICON --><style>/* STUDIO_CSS */</style></head><body>
<header><div class="identity"><span class="mark"><!-- VECTOR_ICON --></span><div>VECTOR<small>FIELD STUDIO</small></div></div><button id="project-details" class="project-heading"><strong id="project-title"></strong><span id="save-state">Opening project</span></button><nav><button id="open-project">Open project</button><button id="save-project">Save file</button><button id="save-source" hidden>Save to workspace</button><button id="deliver" class="primary">Export field kit ↗</button></nav></header>
<div id="source-notice" class="notice" hidden><span></span><button id="draft-keep">Download my draft</button><button id="source-load">Use source version</button></div>
<section id="metrics" class="metrics"></section><div id="plan-error" class="plan-error" role="alert" hidden></div>
<main><aside class="controls"><div class="tabs"><button id="plan-tab" class="active">Survey plan</button><button id="evidence-tab">Flight evidence</button></div><div id="settings-panel"></div><div id="evidence-panel" hidden></div></aside>
<section class="stage"><div class="map-toolbar"><div class="segmented"><button data-tool="select" class="active">↖ Edit</button><button data-tool="boundary">+ Boundary</button><button data-tool="exclusion">⊘ Exclusion</button><button data-tool="home">⌖ Takeoff</button></div><button id="import-geo">Import GeoJSON</button></div><div class="map-wrap"><svg id="map" aria-label="Editable georeferenced site map" role="img" tabindex="0"></svg><div class="map-heading"><span class="eyebrow">SITE OVERVIEW</span><h1 id="map-title"></h1><p id="map-subtitle"></p></div><div class="north">N<span>↑</span></div><div class="map-legend"><span><i class="boundary-key"></i>Site</span><span><i class="route-key"></i>Planned route</span><span><i class="exclude-key"></i>Exclusion</span><span id="log-legend" hidden><i class="log-key"></i>Recorded track</span></div><div class="map-actions"><button id="undo" title="Undo">↶</button><button id="redo" title="Redo">↷</button><button id="zoom-in" title="Zoom in">+</button><button id="zoom-out" title="Zoom out">−</button><button id="frame-site">Fit site</button></div><div id="draw-help" hidden><span>Click to add corners. Double-click or press Enter to finish.</span><button id="finish-draw">Finish polygon</button><button id="cancel-draw">Cancel</button></div><div class="map-caption"><span id="map-origin"></span><span id="scale"></span></div></div><div class="assumptions"><span>MODEL</span><p>Level ground · nadir camera · nominal timing. <button id="model-details">View assumptions</button></p></div></section>
<aside class="details"><section><div class="section-title">SITE LAYERS <span id="area-count"></span></div><div id="area-list"></div><div id="area-editor"></div></section><section><div class="section-title">SORTIES <button id="show-all">Show all</button></div><div id="sortie-list"></div></section><section class="coverage"><div class="section-title">IMAGE FOOTPRINTS</div><label class="check"><input id="show-coverage" type="checkbox"> Show nominal coverage</label><label class="check"><input id="show-gaps" type="checkbox" checked> Show coverage gaps</label><p>Coverage is a geometric estimate. It does not establish image quality or mapping accuracy.</p></section></aside></main>
<footer><span id="status" role="status">Ready to plan your site</span><span>Local files · works offline</span></footer>
<dialog id="project-dialog"><h2>Project &amp; map origin</h2><label>Project title<input id="title-input" maxlength="120"></label><label>Brief<textarea id="brief-input" rows="4" maxlength="4000"></textarea></label><div class="two"><label>Origin longitude<input id="origin-lon" type="number" step="any"></label><label>Origin latitude<input id="origin-lat" type="number" step="any"></label></div><p>Coordinates are WGS 84. Changing the origin relocates all local geometry; vertices remain in east/north meters. A recorded log must be removed before relocation.</p><div class="dialog-actions"><button data-close>Cancel</button><button id="apply-project" class="primary">Apply</button></div></dialog>
<dialog id="open-dialog"><h2>Open a project</h2><p>Open an editable .vector.json file. The existing source changes only when you save to the workspace.</p><button id="choose-project">Choose file…</button><section id="native-open"><label>Or paste a project path in your home folder<input id="project-path" placeholder="~/Downloads/my-site.vector.json"></label><button id="open-path">Open this project</button><div id="recent-projects"></div></section><div class="dialog-actions"><button data-close>Close</button></div></dialog>
<dialog id="geo-dialog"><h2>Bring your site</h2><p>Import WGS 84 polygon GeoJSON. Interior rings become exclusions; a boundary/exclusion kind property is retained. You can edit every vertex after import.</p><label>Import mode<select id="geo-mode"><option value="replace">Replace site and use file coordinates</option><option value="add">Add to this site at its current origin</option></select></label><label>Default polygon layer<select id="geo-kind"><option value="boundary">Site boundaries</option><option value="exclusion">Exclusions</option></select></label><p>Replace starts a new site draft and removes any recorded log. Undo restores the prior project.</p><button id="choose-geo" class="primary">Choose GeoJSON…</button><div class="dialog-actions"><button data-close>Close</button></div></dialog>
<dialog id="log-dialog" class="wide-dialog"><h2>Read a recorded flight</h2><p id="log-name"></p><div id="log-mapping" class="two"></div><p>Heading is degrees clockwise from north. Capture events must be 1/0, true/false or yes/no; blank means unknown. Battery is a percentage. No photograph is inferred from a track sample.</p><div class="dialog-actions"><button data-close>Cancel</button><button id="apply-log" class="primary">Import recorded flight</button></div></dialog>
<dialog id="export-dialog"><h2>Take the field kit with you</h2><p id="export-summary"></p><div class="export-options"><button id="export-geo"><strong>GIS layers · GeoJSON</strong><span>Site, exclusions, routes, captures and coverage</span></button><button id="export-kml"><strong>Map overlay · KML</strong><span>Ground-clamped route and site geometry</span></button><button id="export-report"><strong>Survey report · HTML / PDF</strong><span>Calculations, assumptions and recorded evidence</span></button><button id="export-kit" class="primary"><strong>Complete editable kit · ZIP</strong><span>Planner, project, GIS, CSV, report and original log</span></button></div><p>Files support planning, review and GIS workflows. They are not an aircraft mission. No vehicle connection or upload is included.</p><div class="dialog-actions"><button data-close>Close</button></div></dialog>
<dialog id="model-dialog"><h2>What the model measures</h2><p>Vector computes local geometry within 5 km of a WGS 84 origin. Boundary insets and exclusion buffers constrain connected horizontal routes. Camera geometry determines ideal footprints and regular-run overlap.</p><p>Height is above takeoff. The ground is assumed level with takeoff and the camera points straight down, aligned with each run. No terrain model, obstacle data, airspace check, wind, navigation error or aircraft dynamics are included.</p><p>Time includes distance at the configured speed, climb and descent rates, a fixed allowance per capture run and a connected return to takeoff. The usable duration and reserve are inputs, not a validated battery prediction.</p><p>Recorded evidence uses only supplied samples. Gaps remain gaps. Footprints require actual event flags, height and heading; they still do not prove that an image exists or is suitable for mapping.</p><div class="dialog-actions"><button data-close>Close</button></div></dialog>
<input id="project-file" type="file" accept=".json,.vector.json" hidden><input id="geo-file" type="file" accept=".json,.geojson" hidden><input id="log-file" type="file" accept=".csv,text/csv" hidden>
<script id="vector-data" type="application/json">VECTOR_DATA</script><script>/* VECTOR_APP */</script></body></html>