Skip to content

Stabilize circle/pinch gesture runtime and add debug logging - #83

Open
LuigisSourceCode wants to merge 3 commits into
devfrom
feature/gesture-circle-pinch-debug
Open

Stabilize circle/pinch gesture runtime and add debug logging#83
LuigisSourceCode wants to merge 3 commits into
devfrom
feature/gesture-circle-pinch-debug

Conversation

@LuigisSourceCode

@LuigisSourceCode LuigisSourceCode commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • harden circle recognition with a closed-loop runtime, open-commit flow, and updated calibration/runtime contracts
  • split gesture and UI action cooldown policy so swipe-to-circle transitions are not blocked by the old global timing behavior
  • gate pinch close on an intentional pinch pose so fist-like thumb/index contact no longer starts drag, and add minimal browser console logging for gesture debugging

Details

  • move circle detection away from a threshold-only path toward a semantic runtime state that tracks loop progress, return-to-start, and commit-on-open
  • update the input orchestrator and gesture runtime cooldown handling to use family-aware timing instead of one broad non-pinch/global block
  • add pinch pose configuration fields plus runtime checks for hand openness, thumb/index extension, and curled support fingers
  • expose GestureDetected typing in the frontend and log GestureDetected, gesture match, and gesture action events in the browser console during dev
  • expand backend tests for circle sequencing, pinch pose rejection, and swipe-to-circle behavior

Validation

  • Backend/.venv/bin/pytest -q Backend/tests
  • npm run build
  • npm run test -- --run

LuigisSourceCode and others added 3 commits June 2, 2026 15:58
- move circle detection to a more reliable closed-loop runtime with open-commit semantics and calibration/runtime contract updates
- split gesture and UI action cooldown handling so swipe-to-circle transitions are no longer blocked by global timing policy
- add pinch pose gating to reject fist-like thumb/index contact as drag intent while keeping intentional pinch interactions working
- add minimal browser console logging for GestureDetected, gesture match, and gesture action events to diagnose realtime gesture pipelines
Apply black formatting to the input orchestrator so the backend format/lint pipeline passes again after the gesture runtime changes.
- Marp presentation (nimrag-praesentation.md) with 28 slides
  covering gesture control, backend architecture, frontend design
  patterns, hardware image pipeline and full agenda
- Pre-rendered Mermaid diagrams as PNG (architecture, gesture
  pipeline, pinch flow, backend layers, gesture subsystem, hardware)
- Screenshots: UI states, clock widget swap process, MediaPipe
  hand-tracking images (fist, pinch, open palm)
- Developer-reference diagrams (Praesentation_Backend_Diagramme.md)
- Built HTML and PDF exports ready for sharing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant