app
Adom Fields
Public Made by Adomby adom
Adom Fields: where the current and the heat go on your board.
main
John Lauer
adom-fields 0.8.7: title bar never wraps (issue 19)
bf30441
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Adom Fields</title>
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6edf3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M6 15c2-4 4-4 6 0s4 4 6 0'/%3E%3C/svg%3E">
<link rel="stylesheet" href="https://adom.inc/fonts/fonts.css">
<link rel="stylesheet" href="vendor/3d-viewer/style.css">
<script>window.process = window.process || { env: { NODE_ENV: 'production' } }; window.global = window.global || window;</script>
<style>
:root{--bg:#0d1117;--surface:#161b22;--elevated:#1c2128;--overlay:#21262d;--border:#30363d;--text:#e6edf3;--text-body:#c9d1d9;--text-2:#8b949e;--accent:#00b8b1;--accent-hover:#00d4cb;--on-accent:#05221f;--green:#3fb950;--red:#f85149;--yellow:#d29922;--blue:#64abff;--purple:#8c6bf7}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text-body);font-family:"Satoshi",system-ui,sans-serif;font-size:14px}
.app{position:fixed;inset:0;display:flex;flex-direction:column}
.app-header{flex:0 0 44px;display:flex;align-items:center;gap:12px;padding:0 12px;background:var(--surface);border-bottom:1px solid var(--border);container-type:inline-size;container-name:hdr;white-space:nowrap;overflow:hidden}
.brand{display:flex;align-items:baseline;gap:8px;font-family:"Familjen Grotesk",sans-serif;font-weight:600;color:var(--accent);font-size:15px;position:relative;cursor:default;flex:0 0 auto;white-space:nowrap}
.brand svg{width:16px;height:16px;stroke:var(--text);fill:none;stroke-width:1.8;align-self:center}
.brand .sub{color:var(--text-2);font-weight:500;white-space:nowrap}
.vsep{width:1px;height:24px;background:var(--border)}
.subject{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1 1 auto;overflow:hidden;white-space:nowrap}
.subject b{color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}
.subject .meta{font-family:"JetBrains Mono",monospace;font-size:12px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 10 auto}
.app-header .actions{flex:0 0 auto}
@container hdr (max-width:900px){.subject .meta{display:none}}
@container hdr (max-width:560px){.brand .sub{display:none}}
.actions{margin-left:auto;display:flex;gap:6px}
.ibtn{width:32px;height:32px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--text);display:grid;place-items:center;cursor:pointer;transition:background .15s ease}
.ibtn:hover{background:var(--elevated)}.ibtn:active{background:var(--overlay)}.ibtn.is-on{background:var(--elevated);border-color:var(--accent);color:var(--accent-hover);box-shadow:inset 0 0 0 1px rgba(0,184,177,.3)}
.ibtn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.popover{position:absolute;top:36px;left:0;background:var(--overlay);border:1px solid var(--border);border-radius:8px;padding:10px 12px;width:280px;font-family:"Satoshi";font-weight:400;color:var(--text-body);font-size:13px;display:none;z-index:50;pointer-events:auto;line-height:1.5}
.brand:hover .popover{display:block}
.popover a{color:var(--blue)}
.app-body{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:300px minmax(0,1fr) 320px}
.side{display:flex;flex-direction:column;min-height:0;background:var(--surface);border-right:1px solid var(--border);overflow:auto}
.side.right{border-right:0;border-left:1px solid var(--border)}
.sec{padding:10px 12px;border-bottom:1px solid var(--border)}
.sec h3{margin:0 0 6px;font-family:"Familjen Grotesk";font-weight:600;font-size:13px;color:var(--text);letter-spacing:.02em}
.seg{display:flex;gap:4px;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:3px}
.seg button{flex:1;border:0;background:transparent;color:var(--text-2);padding:6px 4px;border-radius:6px;cursor:pointer;font:inherit;font-size:13px;transition:background .15s ease,color .15s ease}
.seg button:hover{color:var(--text);background:var(--elevated)}
#qty2{display:grid;grid-template-columns:repeat(4,1fr)}#qty2 button{padding:6px 2px;white-space:nowrap}.seg button.is-on{background:var(--elevated);color:var(--accent-hover);box-shadow:inset 0 0 0 1px var(--accent)}
.row{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:8px;cursor:pointer;transition:background .15s ease}
.row:hover{background:var(--elevated)}.row.is-on{background:var(--elevated);box-shadow:inset 0 0 0 1px var(--accent)}
.row .name{flex:1;color:var(--text);font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .num{font-family:"JetBrains Mono";font-size:12px;color:var(--text-2);white-space:nowrap}
.bar{height:4px;border-radius:2px;background:var(--accent);opacity:.8}
.issue{padding:8px;border-radius:8px;border:1px solid var(--border);margin-bottom:8px;cursor:pointer;transition:background .15s ease}
.issue:hover{background:var(--elevated)}.issue.is-on{box-shadow:inset 0 0 0 1px var(--accent)}
.issue .sev{display:inline-block;font-size:11px;padding:1px 7px;border-radius:999px;margin-bottom:4px;font-family:"JetBrains Mono"}
.sev.high{background:rgba(248,81,73,.15);color:var(--red)}.sev.low{background:rgba(139,148,158,.15);color:var(--text-2)}.sev.medium{background:rgba(210,153,34,.15);color:var(--yellow)}
.issue .what{color:var(--text);font-size:13px}.issue .fix{color:var(--text-2);font-size:12px;margin-top:4px}
.stage{position:relative;min-width:0;min-height:0}
.host{position:absolute;inset:0}
.labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.lbl{position:absolute;transform:translate(-50%,-140%);font-family:"JetBrains Mono",monospace;font-size:12px;color:var(--text);background:rgba(13,17,23,.75);border:1px solid var(--border);border-radius:6px;padding:2px 7px;white-space:nowrap}
.lbl.chip{font-size:11px;padding:2px 6px;border-color:rgba(255,255,255,.18);background:rgba(13,17,23,.82)}.lbl.chip b{color:#fff;margin-right:2px}.lbl.chip .in{color:#ffb86b;margin-left:4px}.lbl.chip .out{color:#7ee0ff;margin-left:4px}
.cyclemeter.signalspanel{width:290px}.lbl.signals{border-color:rgba(90,200,255,.5)}.lbl.signals .v{color:#7fd4ff;font-weight:600}body:not([data-view="emc"]) .lbl.emc,body:not([data-view="emc"]) .cyclemeter.emcpanel{display:none!important}body:not([data-view="ground"]) .lbl.ground,body:not([data-view="ground"]) .cyclemeter.groundpanel{display:none!important}body:not([data-view="light"]) .lbl.light,body:not([data-view="light"]) .cyclemeter.lightpanel{display:none!important}body:not([data-view="noise"]) .lbl.noise,body:not([data-view="noise"]) .cyclemeter.noisepanel{display:none!important}body:not([data-view="pdn"]) .lbl.pdn,body:not([data-view="pdn"]) .cyclemeter.pdnpanel{display:none!important}body:not([data-view="river"]) .lbl.river,body:not([data-view="river"]) .cyclemeter.riverpanel{display:none!important}body:not([data-view="signals"]) .lbl.signals,body:not([data-view="signals"]) .cyclemeter.signalspanel{display:none!important}.cyclemeter{overflow-x:hidden}.cyclemeter .row{flex-wrap:wrap}.cyclemeter .row i{white-space:normal}.lbl.pdn{border-color:rgba(92,240,143,.45)}.lbl.pdn .v{color:#ff8a6e;font-weight:600}.lbl.pdn .g{color:#5cf08f;font-weight:600}.lbl.pdn i{color:#5cf08f;font-style:normal}.lbl.pdn.big{font-size:12.5px}.cyclemeter.pdnpanel{width:280px}.cyclemeter.pdnpanel canvas{height:auto;aspect-ratio:460/210}.cyclemeter .pdnbtn{background:rgba(255,255,255,.08);border:1px solid var(--border);color:var(--text);border-radius:4px;font-size:11px;padding:1px 7px;cursor:pointer}.lbl.noise{border-color:rgba(255,200,80,.5)}.lbl.noise .v{color:#ff8a6e;font-weight:600}.lbl.noise .g{color:#5cf08f;font-weight:600}
.lbl.ground{border-color:rgba(252,166,120,.5)}.lbl.ground .v{color:#fca678;font-weight:600}
.lbl.emc{border-color:rgba(255,120,90,.5)}.lbl.emc .v{color:#ff8a6e;font-weight:600}.lbl.emc .g{color:#5cf08f;font-weight:600}.cyclemeter.emcpanel canvas{height:auto;aspect-ratio:460/190}
.lbl.river{border-color:rgba(89,217,250,.45);color:#c8f3ff}
.legend{position:absolute;right:16px;bottom:16px;background:rgba(22,27,34,.85);border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:12px;color:var(--text-body);backdrop-filter:blur(4px);min-width:170px}
.legend .ramp{height:10px;border-radius:5px;margin:6px 0;background:linear-gradient(90deg,#000004,#2a0a4a,#621a5f,#97305f,#c94d3f,#ee7a1c,#f9ad10,#f7de4d,#fcffa4)}
.legend.amps .ramp{background:linear-gradient(90deg,#05387f,#0073e6,#26b8ff,#9ee6ff,#ffffff)}
.legend.magnetic .ramp{background:linear-gradient(90deg,#0a0828,#3c1e8c,#286ee6,#46d2ff,#ebfaff)}
.legend.charge .ramp{background:linear-gradient(90deg,#3c8cff,#9cc4ff,#2a2f3a,#ffa08c,#ff4636)}
.legend.light .ramp{background:linear-gradient(90deg,#1a33bf,#0aa0c8,#00bfcc,#7ee6b0,#d9ffbf)}
.lbl.light{border-color:rgba(126,230,176,.45)}.lbl.light .ps{color:#d9ffbf;font-weight:600}
.legend.energy .ramp{background:linear-gradient(90deg,#3a0a3a,#8c1a8c,#e040c8,#ff7ae0,#ffd9f4,#ffffff)}
.legend.volts .ramp{background:linear-gradient(90deg,#041238,#0a3a6a,#006b8c,#2fa9c9,#59d9fa,#c8f3ff)}
.caption{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);width:max-content;max-width:min(640px,calc(100% - 32px));background:rgba(13,17,23,.84);border:1px solid var(--border);border-radius:10px;padding:6px 14px;font-size:14px;line-height:1.45;text-align:center;color:var(--text);pointer-events:none;z-index:5;backdrop-filter:blur(6px)}.caption[hidden]{display:none}
.cyclemeter{position:absolute;left:16px;bottom:72px;width:250px;max-height:calc(100% - 150px);overflow:auto;background:rgba(22,27,34,.88);border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:12px;color:var(--text-body);backdrop-filter:blur(4px);z-index:4}.cyclemeter[hidden]{display:none}.cyclemeter .ch{font-family:"Familjen Grotesk",sans-serif;font-size:12.5px;color:var(--text);cursor:pointer;margin-bottom:4px}.cyclemeter.folded .body{display:none}.cyclemeter .row{display:flex;align-items:center;gap:6px;margin-top:5px}.cyclemeter .row i{margin-left:auto;padding-left:6px;white-space:nowrap;font-style:normal;font-family:"JetBrains Mono";font-size:11px;color:var(--text)}.cyclemeter .sw b{margin-left:auto;font-weight:600;font-size:11.5px}.cyclemeter .sw b.on{color:#ff7ae0}.cyclemeter .sw b.off{color:#64abff}.cyclemeter canvas{width:100%;height:32px;display:block;margin-top:4px;background:rgba(13,17,23,.6);border-radius:4px}.cyclemeter .bar{height:4px;background:rgba(255,255,255,.08);border-radius:2px;margin-top:3px}.cyclemeter .bar div{height:100%;border-radius:2px}.cyclemeter .dot{width:8px;height:8px;border-radius:50%;flex:0 0 8px}.cyclemeter .in{background:#ff5a4a}.cyclemeter .l{background:#5a9aff}.cyclemeter .out{background:#ff8a5a}.cyclemeter .heat{background:#ff9a2a}.cyclemeter .pk{background:#ff5ad8}
.flowbadge{position:absolute;left:16px;top:56px;max-width:min(380px,55%);background:rgba(22,27,34,.88);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:12px;line-height:1.5;color:var(--text-body);backdrop-filter:blur(4px)}.flowbadge .kh{font-family:"Familjen Grotesk",sans-serif;font-size:13px;color:var(--text);margin-bottom:3px;cursor:pointer;user-select:none}.flowbadge .kh::after{content:" ▾";color:var(--text-2)}.flowbadge.folded .kh::after{content:" ▸"}.flowbadge.folded ul{display:none}.flowbadge.folded .kh{margin:0}.flowbadge b{color:var(--text);font-weight:600}.flowbadge ul{margin:0;padding-left:16px}.flowbadge li{margin:1px 0}
.legend.magma .ramp{background:linear-gradient(90deg,#000004,#1c1047,#4a0c7a,#781c81,#a82e78,#d44866,#f5705c,#fca678,#fcfdbf)}
.legend .ends{display:flex;justify-content:space-between;font-family:"JetBrains Mono";font-size:11px;color:var(--text-2)}
.readout{position:absolute;left:16px;bottom:16px;background:rgba(22,27,34,.85);border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-family:"JetBrains Mono";font-size:12px;color:var(--text);min-width:160px;backdrop-filter:blur(4px)}
.readout .k{color:var(--text-2)}
.views{position:absolute;left:16px;top:12px;display:flex;gap:4px}
.chip{background:rgba(22,27,34,.85);border:1px solid var(--border);border-radius:8px;padding:5px 9px;font-size:12px;color:var(--text);cursor:pointer;transition:background .15s ease}
.ghostctl{display:inline-flex;align-items:center;gap:6px;cursor:default}.ghostctl[hidden]{display:none}.ghostctl svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8}.ghostctl input{width:90px;accent-color:var(--accent)}.ghostctl span{font-family:"JetBrains Mono";font-size:11px;color:var(--text-2);min-width:28px}
.chip:hover{background:var(--elevated)}.chip.is-on{box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent-hover)}
.toasts{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);display:flex;flex-direction:column-reverse;gap:8px;z-index:100;pointer-events:none}
.toast{pointer-events:auto;background:var(--overlay);border:1px solid var(--border);border-left:3px solid var(--accent);color:var(--text);padding:9px 14px;border-radius:8px;font-size:13px;box-shadow:0 8px 24px rgba(0,0,0,.4);animation:in .18s ease;max-width:560px}
.toast.success{border-left-color:var(--green)}.toast.error{border-left-color:var(--red)}
@keyframes in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.tip{position:fixed;z-index:99999;background:var(--overlay);border:1px solid var(--border);border-radius:6px;padding:6px 9px;font-size:12px;color:var(--text-body);max-width:280px;pointer-events:none;opacity:0;transition:opacity .18s ease,transform .18s ease;transform:translateY(3px)}
.tip.show{opacity:1;transform:none}
.empty{padding:12px;color:var(--text-2);font-size:13px}
.app-footer{flex:0 0 26px;display:flex;align-items:center;gap:14px;padding:0 12px;background:var(--surface);border-top:1px solid var(--border);font-family:"JetBrains Mono";font-size:11px;color:var(--text-2)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--green);display:inline-block;margin-right:6px}
.dot.off{background:var(--red)}
/* the phone: one column, the stage full height, the side panels as sheets from the header buttons */
/* a Hydrogen pane or a laptop: the board gets the whole width, the panels slide over it on demand */@media(max-width:1400px){.app-body{grid-template-columns:minmax(0,1fr)}.side{display:none}.side.is-open{display:flex;position:fixed;top:44px;bottom:26px;left:0;width:min(320px,90vw);z-index:20;box-shadow:0 8px 24px rgba(0,0,0,.45)}.side.right.is-open{left:auto;right:0}.stage{min-height:0}}@media(min-width:1401px){#btnNets,#btnIssues{display:none}}
</style>
</head>
<body>
<div class="app">
<header class="app-header">
<div class="brand" id="brand">
<svg viewBox="0 0 24 24"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M6 15c2-4 4-4 6 0s4 4 6 0"/></svg>
<span>Fields</span><span class="sub">· current and heat</span>
<div class="popover" id="pop">Adom Fields <span id="ver"></span><br>Current density, copper heat flow and board temperature solved from the board file. Dark, Babylon, driven by the AI over its live channel.<br><a href="https://wiki.adom.inc/adom/adom-fields" target="_blank" rel="noopener">wiki.adom.inc/adom/adom-fields</a></div>
</div>
<div class="vsep"></div>
<div class="subject"><b id="boardName">loading</b><span class="meta" id="boardMeta"></span></div>
<div class="actions">
<button class="ibtn" id="btnNets" data-tip="Nets, layers and hot parts" aria-pressed="false"><svg viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h16"/></svg></button>
<button class="ibtn" id="btnIssues" data-tip="Issues and how it was solved" aria-pressed="false"><svg viewBox="0 0 24 24"><path d="M12 9v4M12 17h.01M10.3 3.9 2.5 17a2 2 0 0 0 1.7 3h15.6a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z"/></svg></button>
<button class="ibtn" id="btnExplain" data-tip="Explain this view out loud (click again to stop)" aria-pressed="false"><svg viewBox="0 0 24 24"><path d="M11 5 6 9H3v6h3l5 4z"/><path d="M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13"/></svg></button>
<button class="ibtn" id="btnSilk" hidden data-tip="The silkscreen: what is printed on the board (J1, VIN, the logo), on or off" aria-pressed="false"><svg viewBox="0 0 24 24"><path d="M5 6h14M12 6v13M8.5 19h7"/></svg></button>
<button class="ibtn" id="btnExplode" data-tip="Pull the layers apart to see the inner copper and the current in the vias" aria-pressed="false"><svg viewBox="0 0 24 24"><path d="M4 6l8-3 8 3-8 3z"/><path d="M4 12l8 3 8-3"/><path d="M4 18l8 3 8-3"/></svg></button>
<button class="ibtn" id="btnParts" data-tip="The parts' 3D bodies over the field: see-through, solid, or off" aria-pressed="false"><svg viewBox="0 0 24 24"><path d="M12 3l8 4.5v9L12 21l-8-4.5v-9z"/><path d="M12 12l8-4.5M12 12v9M12 12L4 7.5"/></svg></button>
<button class="ibtn" id="btnLight" data-tip="Light the underside (dark parts)" aria-pressed="false"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg></button>
</div>
</header>
<div class="app-body">
<aside class="side" id="left">
<div class="sec"><h3>Field</h3><div class="seg" id="qty"><button data-q="current" data-tip="Current density on the copper, amps per square millimetre, every loaded net at its spec current">Current</button><button data-q="heat" data-tip="Heat flow in the copper, watts per millimetre of width, from the hot tabs and the Joule loss">Heat</button><button data-q="signals" data-tip="Copper overlap capacitance and differential-pair screening">Signals</button><button data-q="temperature" data-tip="Temperature rise over the board, the FR4 spreading">Temperature</button></div><div class="seg" id="qty2" style="margin-top:4px"><button data-q="flow" data-tip="The solved current as charge streaming through the copper: speed and heat follow the current density, the vias take their share">Flow</button><button data-q="river" data-tip="Every net lifted to its voltage, the current running downhill as water: the loads fall to ground, the sources lift it back">River</button><button data-q="energy" data-tip="Where the energy really travels: through the fields between the copper layers, while the electrons crawl at millimetres per second">Energy</button><button data-q="light" data-tip="How fast a change travels: the local speed of light in the copper's field, and when a switch-on reaches each part">Light</button><button data-q="cycle" data-tip="One switching period: energy from the input capacitors into the inductor's magnetic field, then out to the output; the stores and the heat as they change">Cycle</button><button data-q="charge" data-tip="The board as capacitors: charge on facing copper, the electric field between, the switch node charging every cycle, and the capacitor parts">Charge</button><button data-q="magnetic" data-tip="The magnetic field of every current: field lines wrapping the copper, and the field strength at a height like a near-field probe">Magnetic</button><button data-q="emc" data-tip="Where the board could radiate: the hot loop and the smallest it could be, copper with no ground under it, and the estimated emissions against the FCC limit">EMC</button><button data-q="ground" data-tip="The return path: ground's own voltage drop, possible ground loops through the cables, floating ground islands, and the stitching-via fence along the edge">Ground</button><button data-q="noise" data-tip="Where switching noise rings and spreads: the planes ringing like drums at their own frequencies, and the switching edges reaching quiet nets">Noise</button><button data-q="pdn" data-tip="Power delivery: each rail's impedance seen from its load pin, 1 kHz to 1 GHz, against its target; which capacitor carries the current at each frequency, and the ones that would bring a peak under">Power</button></div></div>
<div class="sec"><h3>Layer</h3><div class="seg" id="layer"><button data-l="F.Cu">F.Cu</button><button data-l="In1.Cu">In1</button><button data-l="In2.Cu">In2</button><button data-l="B.Cu">B.Cu</button></div></div>
<div class="sec" id="airSec"><h3>Air</h3><div class="seg" id="air"><button data-a="still" data-tip="Still air, 10 W/m²K on both faces">Still</button><button data-a="moving" data-tip="Moving air, 25 W/m²K: a fan or a moving vehicle">Moving</button></div></div>
<div class="sec"><h3>Explain each view out loud</h3><div class="seg" id="narrMode"><button data-n="first" data-tip="Each kind of view explains itself the first time you open it">First time</button><button data-n="always" data-tip="Every view explains itself whenever you open it">Always</button><button data-n="ask" data-tip="Only when you click the speaker in the header">On ask</button></div></div>
<div class="sec"><h3>Nets, by what they carry</h3><div id="nets"></div></div>
<div class="sec"><h3>Hot parts, hottest first</h3><div id="chips"></div></div>
</aside>
<main class="stage">
<div id="host" class="host"></div>
<div id="labels" class="labels"></div>
<div class="views"><span class="chip" data-cam="top" data-tip="Straight down at the top copper">Top</span><span class="chip" data-cam="iso" data-tip="Three-quarter view">Iso</span><span class="chip" data-cam="bottom" data-tip="The bottom copper, from below">Bottom</span><span class="chip" data-cam="fit" data-tip="Fit the board">Fit</span><label class="chip ghostctl" id="ghostCtl" hidden data-tip="How see-through the ghosted parts are"><svg viewBox="0 0 24 24"><path d="M12 3l8 4.5v9L12 21l-8-4.5v-9z"/></svg><input type="range" id="ghostAlpha" min="0.05" max="0.8" step="0.01" aria-label="Part opacity"><span id="ghostVal"></span></label><label class="chip ghostctl" id="probeCtl" hidden data-tip="Height of the magnetic probe sheet above the top copper"><svg viewBox="0 0 24 24"><path d="M12 19V5M7 10l5-5 5 5"/></svg><input type="range" id="probeH" min="0.5" max="15" step="0.5" aria-label="Probe height"><span id="probeVal"></span></label><span class="chip" id="btnKey" hidden data-tip="What the particles, the heights and the waterfalls mean">Key</span></div>
<div class="flowbadge" id="flowBadge" hidden></div>
<div class="caption" id="caption" hidden></div>
<div class="readout" id="readout"><span class="k">hover the board</span></div>
<div class="legend" id="legend"><div id="legendTitle">Current, A/mm²</div><div class="ramp"></div><div class="ends"><span id="legLo">0</span><span id="legHi">0</span></div></div>
</main>
<aside class="side right" id="right">
<div class="sec" id="signalsPanel" hidden><h3>Signals</h3><div id="signals"></div></div>
<div class="sec"><h3>Issues</h3><div id="issues"></div></div>
<div class="sec"><h3>Conducting heatsinks</h3><div id="heatsinks"></div></div>
<div class="sec"><h3>How it was solved</h3><div class="empty" id="method"></div></div>
</aside>
</div>
<footer class="app-footer"><span><span class="dot" id="liveDot"></span><span id="liveText">live channel</span></span><span id="solveInfo"></span><span style="margin-left:auto" id="fps"></span></footer>
</div>
<div class="toasts" id="toasts"></div>
<div class="tip" id="tip"></div>
<script type="module" src="app.js"></script>
</body>
</html>