You're right — and chasing exact polygon outlines from this artistic SVG was a losing battle (the bumpers/triggers aren't even cleanly separable shapes in the source). I'll do what you asked: switch to a Gaussian falloff blob model (a soft glow + circular hit zone centered on each button) with an adjustable slider for how big/blobby they are. That makes positioning forgiving and gives you direct control.
To get the centers right I re-derived them from the actual path geometry (I found a real bug — the Start button was off in x). Critically, I also separated the shoulders: triggers now sit at the outer top corners and bumpers inboard/below them, so they no longer fight.
First, the simplified blob geometry with corrected centers:
Expected — now I'll rewrite ControllerStage around the blob model: a Gaussian radial glow + circular hit zone per button, an idle ring for discoverability, and the new BLOOM slider.
Now wire the BLOOM slider state into App.tsx:
Build is green. But I want the hit zones to be truly circular (not square bounding boxes), so closely-spaced D-pad arms can't steal each other's clicks at the corners — while keeping the soft halo extending past the edge. I'll restructure each blob into a clipped hit element plus a non-clipped halo/ring layer:
Let me move the RIG OVERLAY labels onto the (unclipped) visual layer so the IDs stay readable even on small blobs:
I see the stray duplicate closing. Let me fix lines 345-350:
Build is green. Here's what I changed and why.
On the "black outline + screenshot" idea: I can't capture screenshots of the running app, but I did the geometric equivalent — I went back into the SVG path data and recomputed each button's center as the actual centroid of its drawn path (rather than eyeballing or tracing outlines, which is what kept going wrong). That process caught a real bug: the Start button was misplaced in x (it was at 0.570, should be 0.599). As a verification tool you can use yourself, RIG OVERLAY now drops a crosshair + ID label on every blob center so you can eyeball each one against the artwork.
The new model — Gaussian blobs + a slider:
- Every button is now a soft Gaussian falloff blob (multi-stop radial gradient: bright core, long tail) plus a circular hit zone. Gone are the fragile traced polygons.
- A BLOOM slider (0.6×–2.0×) in the stage header grows/shrinks every blob's radius and glow together, so you decide how blobby the coverage is. Crank it up to guarantee full coverage of a button; pull it back to tighten separation.
- Hit zones are truly circular (via
clip-path: ellipse), so adjacent blobs — like the D-pad arms — can't steal each other's clicks at the corners. The soft halo sits on a separate unclipped layer so it still bleeds past the edge.
- Idle blobs show a faint dashed ring for discoverability; hover lights them, click latches.
The LB/RB & LT/RT fix: triggers now sit at the outer top corners (centered on the trigger flaps, ~15% down) and bumpers are inboard-and-below them on the shoulder (~25% down). They're vertically separated and rendered trigger-on-top, so at default bloom they don't overlap at all — and the slider lets you widen or close that gap to taste.
If after checking RIG OVERLAY any center still looks off, tell me which button and which direction and I'll nudge it.
Files built: src/pad/buttons.ts, src/components/ControllerStage.tsx, src/App.tsx