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.
fix(arcade): accept inserted coins with reduced motion
aakash-kharb3dfa150b1048
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8152ae2..e803db6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -12,6 +12,8 @@ All notable changes to Anatomy are recorded here. The format follows [Keep a Cha### Fixed+- The arcade cabinet now accepts coins with reduced motion enabled, preserving the meter, credit and power-on events when the coin animation is skipped.+- `examples/test-rig/` drew its glass button dark in the light theme. `stretch.css` now has light values for its own colours.### Changeddiff --git a/examples/arcade-cabinet/arcade-cabinet-light.html b/examples/arcade-cabinet/arcade-cabinet-light.htmlindex e5e17e0..c137c65 100644--- a/examples/arcade-cabinet/arcade-cabinet-light.html+++ b/examples/arcade-cabinet/arcade-cabinet-light.html@@ -2702,7 +2702,7 @@ function tick(now) {for (const c of state.coins) {c.t += calm ? 10 : dt;const pose = coinPose(c);- if (!c.switched && pose.stage === "roll" && pose.p[1] < D.wire.from[1]) {+ if (!c.switched && (calm || (pose.stage === "roll" && pose.p[1] < D.wire.from[1]))) {c.switched = true;state.meter++;el.meter.textContent = String(state.meter).padStart(6, "0");diff --git a/examples/arcade-cabinet/arcade-cabinet.html b/examples/arcade-cabinet/arcade-cabinet.htmlindex b6c5c32..6c6c321 100644--- a/examples/arcade-cabinet/arcade-cabinet.html+++ b/examples/arcade-cabinet/arcade-cabinet.html@@ -2702,7 +2702,7 @@ function tick(now) {for (const c of state.coins) {c.t += calm ? 10 : dt;const pose = coinPose(c);- if (!c.switched && pose.stage === "roll" && pose.p[1] < D.wire.from[1]) {+ if (!c.switched && (calm || (pose.stage === "roll" && pose.p[1] < D.wire.from[1]))) {c.switched = true;state.meter++;el.meter.textContent = String(state.meter).padStart(6, "0");diff --git a/examples/arcade-cabinet/live.js b/examples/arcade-cabinet/live.jsindex de2ad78..e3d624b 100644--- a/examples/arcade-cabinet/live.js+++ b/examples/arcade-cabinet/live.js@@ -482,7 +482,7 @@ function tick(now) {for (const c of state.coins) {c.t += calm ? 10 : dt;const pose = coinPose(c);- if (!c.switched && pose.stage === "roll" && pose.p[1] < D.wire.from[1]) {+ if (!c.switched && (calm || (pose.stage === "roll" && pose.p[1] < D.wire.from[1]))) {c.switched = true;state.meter++;el.meter.textContent = String(state.meter).padStart(6, "0");