this repo has no description

Add bottom dots to shunt elements and probe; increase oversample to 128

- drawShuntElement: add circleFill at yB (bottom T-line connection)
- drawCircuit: add orange probe dot on bottom wire below existing top dot
- app.js: oversample 16 → 128 for smoother V(z,t) spatial profile

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

oscillatory.net ee82e77b 1144614e

verified
+6 -4
+1 -1
app.js
··· 186 186 + model.tau_d + model.riseTimeTr + model.riseShape + model.Vg + model.Rg; 187 187 if (key !== cachedSimKey) { 188 188 const tEnd = Math.max(16, timeHorizon + 2); 189 - cachedSim = simulateTimeDomain(model, { tEnd, oversample: 16 }); 189 + cachedSim = simulateTimeDomain(model, { tEnd, oversample: 128 }); 190 190 cachedSimKey = key; 191 191 } 192 192 return cachedSim;
+5 -3
render.js
··· 172 172 ctx.lineWidth = 2; 173 173 } 174 174 175 - // Draw a shunt element of given type between (x, yA) and (x, yB), with dot at node. 175 + // Draw a shunt element of given type between (x, yA) and (x, yB), with dots at both nodes. 176 176 function drawShuntElement(ctx, x, yA, yB, type, theme) { 177 177 circleFill(ctx, x, yA, 4, theme.ink); 178 - if (type === 'R') drawShuntR(ctx, x, yA, yB, theme); 178 + circleFill(ctx, x, yB, 4, theme.ink); 179 + if (type === 'R') drawShuntR(ctx, x, yA, yB, theme); 179 180 else if (type === 'C') drawShuntC(ctx, x, yA, yB, theme); 180 181 else if (type === 'L') drawShuntL(ctx, x, yA, yB, theme); 181 182 else if (type === 'short') drawShuntShort(ctx, x, yA, yB, theme); ··· 305 306 circleFill(ctx, xRight, yBot, 3.5, theme.ink); 306 307 } 307 308 308 - // Probe point — dot on top wire between switch and T-line input 309 + // Probe point — dots on top and bottom wire between switch and T-line input 309 310 const xDetect = Math.round((xSwitch + 18 + xTL0) / 2); 310 311 circleFill(ctx, xDetect, yTop, 5.5, theme.tdr); 312 + circleFill(ctx, xDetect, yBot, 5.5, theme.tdr); 311 313 ctx.fillStyle = theme.tdr; 312 314 ctx.font = "11px ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial"; 313 315 ctx.textAlign = "left";