An agent skill for creating detailed, interactive isometric illustrations of real-world machines and complex systems. Generates polished SVGs with optional WebGL shaders and 3D effects.
Merge branch 'pr16' into combined
R.37cad9834ab2
diff --cc .github/workflows/ci.ymlindex 828ae2b,42ea265..30f37c0--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@@ -25,28 -25,8 +25,30 @@@ jobswith:node-version: 22+ - name: Browser driver regressions+ run: node --test scripts/drive.test.mjs+ - name: Capture regressions+ run: node --test scripts/capture.test.mjs+ - name: Line check regressions+ run: node --test scripts/lines.test.mjs+ - name: Drive action regressions+ run: node --test scripts/drive-actions.test.mjs+ - name: Chrome startup regressions+ run: node --test scripts/chrome-startup.test.mjs+ - name: Round line root regressions+ run: node --test scripts/lines-round.test.mjs+ - name: Arc line root regressions+ run: node --test scripts/lines-arcs.test.mjs+ - name: Navigation regressions+ run: node --test scripts/navigation.test.mjs+ - name: Orbit sampling regressions+ run: node --test scripts/orbit-sampling.test.mjs+ - name: Audit cache regressions+ run: node --test scripts/audit-cache.test.mjs+ - name: Tapered audit regressions+ run: node --test scripts/audit-taper.test.mjs+ - name: Bezier continuation regressions+ run: node --test scripts/lines-bezier.test.mjs- name: Dial indicatorrun: |diff --cc CHANGELOG.mdindex 4355b48,5bc5386..97c0881--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -12,20 -12,7 +12,21 @@@ All notable changes to Anatomy are reco### Fixed+- `scripts/drive.mjs` now fails when a browser evaluation throws or rejects, rather than reporting a clean successful session.+- The arcade cabinet now accepts coins with reduced motion enabled, preserving the meter, credit and power-on events when the coin animation is skipped.+- The turning dial stops its idle tour when reduced motion is enabled while the page is open and cancels its pending automatic restart while preserving keyboard and pointer input.+- `scripts/drive.mjs` now exits with status 1 and stops subsequent actions when an `until` condition times out.+- `scripts/capture.mjs` now creates the output directory for screenshots, including nested paths under `shots/`.+- The line-end check now includes the selected element when `--select` names an SVG, rather than checking only SVGs inside it.+- `scripts/drive.mjs` now rejects unknown actions before running the session, so a misspelled verification step cannot report success.+- Browser checks now fail promptly and remove their temporary profiles when Chrome exits before its debugging port is ready.+- The line-end check now uses ellipse boundaries and transformed circle boundaries, and treats hollow interiors as empty instead of solid dots.+- The line-end check now follows SVG arc curves instead of treating each arc as a straight chord.+- Capture and drive now fail when Chrome cannot load the requested page, instead of reporting a clean browser error page.+- Orbit checks reject invalid sampling steps and empty pose lists before a zero-state sweep can pass.+- Solid clearance audits rebuild cached surface grids when sampling spacing or cell size changes.+- Tube geometry audits use tapered radii instead of replacing every segment with an averaged cylinder.+ - The line verifier reflects smooth Bezier controls only after the matching curve family.- `examples/test-rig/` drew its glass button dark in the light theme. `stretch.css` now has light values for its own colours.diff --cc scripts/line-ends.mjsindex 48a5337,960bcaa..4fc4085--- a/scripts/line-ends.mjs+++ b/scripts/line-ends.mjs@@@ -92,19 -92,10 +92,19 @@@ function lineEnds({ select = null, toleelse if (C === "Q") for (let i = 0; i + 3 < v.length; i += 4) quad(v[i] + ox(), v[i + 1] + oy(), v[i + 2] + ox(), v[i + 3] + oy());else if (C === "T")for (let i = 0; i + 1 < v.length; i += 2) {- const reflected = control ? [2 * x - control[0], 2 * y - control[1]] : [x, y];+ const reflected = control?.kind === "quadratic" ? [2 * x - control.point[0], 2 * y - control.point[1]] : [x, y];quad(reflected[0], reflected[1], v[i] + ox(), v[i + 1] + oy());}- else if (C === "A") for (let i = 0; i + 6 < v.length; i += 7) push(v[i + 5] + ox(), v[i + 6] + oy());+ else if (C === "A") {+ const arc = document.createElementNS("http://www.w3.org/2000/svg", "path");+ arc.setAttribute("d", `M${x} ${y}${command}${args}`);+ const length = arc.getTotalLength();+ const count = Math.max(8, Math.ceil(length / 2));+ for (let index = 1; index <= count; index++) {+ const point = arc.getPointAtLength(length * index / count);+ push(point.x, point.y);+ }+ }if (C !== "C" && C !== "S" && C !== "Q" && C !== "T") control = null;}return out;