From 82521d5551e39392d98098297ee86f39a981450f Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 22 Apr 2026 09:47:09 +0000 Subject: [PATCH] kasuti: current vertex red on active side + one-shot ping ring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The active-side current vertex is red (primary) again; the green is reserved for the go-indicators. A ring pulses briefly (SMIL animate on r + opacity, keyed on side+vertex) each time the cursor lands, to draw the eye — browsers won't let us move the OS mouse pointer. https://claude.ai/code/session_01KNdXjQczMCRGMK7K3Qderw --- .../interactives/KasutiEmbroidery.tsx | 49 ++++++++++++++----- 1 file changed, 37 insertions(+), 12 deletions(-) diff --git a/src/components/interactives/KasutiEmbroidery.tsx b/src/components/interactives/KasutiEmbroidery.tsx index 6aa0a99..902fce1 100644 --- a/src/components/interactives/KasutiEmbroidery.tsx +++ b/src/components/interactives/KasutiEmbroidery.tsx @@ -1129,19 +1129,44 @@ const FabricPanel: React.FC = ({ /> )} - {/* Current vertex marker — full colour on the active side, grey on the other */} - {currentVertex && ( - { + const { x, y } = toXY(currentVertex); + if (!isActive) { + return ( + + ); } - /> - )} + return ( + + + + + + + + ); + })()} {/* Click overlays: only active side accepts clicks */} {isActive &&