Commit Graph

276 Commits (500a0373cede8fe2549621c5531cc8d759ef3457)
 

Author SHA1 Message Date
name 73f6d2f568 [auto] add SSC chart parser, wire Get Lucky with audio and difficulty selector
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:10:59 -07:00
name 4a7054f320 [auto] stamp-style judgment text at random positions with rotation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:05:28 -07:00
name 13d623dd20 [auto] match score and judgment text colors to glow colors
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:04:18 -07:00
name f22de64108 [auto] pulse target arrow on step detection for visual feedback
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:03:45 -07:00
name dbc259c3b4 [auto] premature step triggers miss on the next upcoming arrow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:56:20 -07:00
name 3e4ea2846a [auto] add screen glow on judgment: green=perfect, yellow=good, red=miss
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:55:29 -07:00
name d2c7d0de02 [auto] punchier arrow colors and stronger glow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:53:43 -07:00
name b56f51fe31 [auto] show detected step direction in bottom-left corner
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:53:06 -07:00
name 8710c29a0d [auto] hide overlay and status text once game is ready
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:52:12 -07:00
name 1a9729962e [auto] replace canvas red line with HTML div, full width, above overlay
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:47:18 -07:00
name 85d5125d1e [auto] make red line thicker with glow, keep overlay text above it
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:45:40 -07:00
name 84aa5bbeee [auto] update framing text to reference red line instead of box
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:45:05 -07:00
name 96bb75b68f [auto] make calibration status text a full-screen centered overlay
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:44:35 -07:00
name 6e9aae6335 [auto] move score to corner, change 'out of bounds' to 'outside the camera view'
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:43:29 -07:00
name b18cf3ce16 [auto] center score text and make it much larger
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:42:43 -07:00
name c872fe7303 [auto] make arrows fully opaque with dark backing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:42:25 -07:00
name d0cc3d41df [auto] make arrows larger, brighter, slower for better visibility
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:41:43 -07:00
name 461a8fa934 [auto] raise default min detection confidence to 0.75
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:37:21 -07:00
name b5c1da1073 [auto] add arrow game UI with scrolling arrows, scoring, and step detection integration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:34:22 -07:00
name 6f5d7381b4 [auto] stub out empty AR scene to remove three.js dependency
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:28:30 -07:00
name 9390be7f1a [auto] simplify debug page: remove video support, AR settings; default to heavy model
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:26:37 -07:00
name 3c9843fd1a Merge branch 'main' of github.com:1102-Anderson-Ethann/Team-Avengers-2026-Hackathon
# Conflicts:
#	package-lock.json
#	package.json
2026-04-11 17:22:37 -07:00
name 748c500f27 [auto] add sources.md with chart file references
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:21:57 -07:00
name 9d7b333fe8 merge worktree-ar-ground-threejs: debug app at /debug/, main app at /
- DebugApp.tsx: pose detection + gesture engine (from refactored branch)
- App.tsx: main game app (unchanged from main)
- Routes: /debug/* -> DebugApp, /* -> App

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:19:35 -07:00
HumanoidSandvichDispenser ee549d2f3f refactor: use zustand stores (#5) 2026-04-11 17:15:28 -07:00
name 259d255ade add routing: move current app to /debug/ path
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:12:38 -07:00
HumanoidSandvichDispenser 8af13259ba chore: add zustand (#4) 2026-04-11 17:10:13 -07:00
name ba80d19634 fix: engine cooldown returns null to prevent stacking with display timer
The cooldown was returning lastSignal every frame, which reset the
600ms display timer in usePoseLoop each frame — doubling the total
display time to ~1200ms. Now returns null during cooldown so only
the display timer controls visibility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:07:25 -07:00
name 5afacc4030 remove jump and palms detection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:05:51 -07:00
name 8682665e4c fix: restore 600ms detection cooldown in gesture engine
The old signalShowUntil suppressed all detection AND baseline adaptation
for 600ms after any signal. Removing it caused rapid re-triggering of
steps and baseline drift during active gestures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 17:00:57 -07:00
name cece0630d5 remove upper framing margin: head just needs to be visible
Only the bottom boundary (feet at 85%) is enforced. The red box is now
a single bottom line instead of a full rectangle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:55:53 -07:00
name cf63caa266 fix: VideoSource dispose only clears its own stream, fix StrictMode race
The dispose() was unconditionally nulling video.srcObject, which in
StrictMode double-fire would kill the second init's webcam stream.
Now only clears if video.srcObject still points to our stream.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:48:05 -07:00
name 6a46f00c15 fix: skip pose detection when video dimensions are zero
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:42:21 -07:00
name 81262ed15e refactor: modular gesture engine with callbacks, extract pose/video/UI
- gesture/types.ts: all shared types + GestureCallbacks interface
- gesture/detectors/: jumpDetector, stepDetector, palmsDetector, armsOutDetector
  as pure functions with per-detector state types
- gesture/CalibrationMachine.ts: standalone calibration state machine
- gesture/GestureEngine.ts: orchestrates detectors + calibration, fires callbacks
- gesture/GestureTelemetry.ts: graph/log sampling separated from detection
- pose/PoseDetector.ts: MediaPipe lifecycle wrapper
- pose/VideoSource.ts: webcam/file source management
- pose/usePoseLoop.ts: rAF loop calling engine.update() directly (no React in hot path)
- components/GestureOverlay.tsx: gesture label + calibration hints
- components/TransportBar.tsx: video playback controls
- App.tsx: slim orchestrator wiring hooks + components (~140 lines, down from 457)
- Delete old gestureDetector.ts monolith (511 lines)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:34:36 -07:00
name d57638950f [auto] add home screen menu between intro and song selection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:32:55 -07:00
name 11925514b5 [auto] fix credits page to full viewport with no scrollbar
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:29:35 -07:00
name acc389a597 [auto] add Claude Code to team credits
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:29:08 -07:00
name 4799206576 [auto] fix game page to full viewport with no scrollbars
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:28:05 -07:00
name 8ce6b6e254 [auto] fix song select to be full page with no scrollbars
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:27:15 -07:00
name 49fdff5da4 [auto] add credits page, link from end game and leaderboard, fix layout padding
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:26:04 -07:00
name 037670976a [auto] remove navigation bar from all pages
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:24:13 -07:00
name 3e4e330142 [auto] fix supabase client crashing app when env vars are missing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:22:16 -07:00
name df85de8778 [auto] wire complete game flow: intro → song select → game → end → leaderboard
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:20:06 -07:00
1102-Anderson-Ethann 293ad400b9 New UI for pages, added leaderboard and score (#3) 2026-04-11 16:13:16 -07:00
name e4d036a70e delete dead code: worldToCamera, DebugGraph, leg-raise, resizeARScene
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:06:56 -07:00
name 170de6636a add refactor plan for modular mediapipe + gesture callbacks
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 16:04:55 -07:00
name b1361e001f [auto] arms-out hysteresis: require arms down for 2s before re-triggering
Replaces cooldown timer with proper hysteresis. Arms must be lowered
and stay down for 2 seconds before arms-out can trigger again. This
prevents rapid toggling when arms hover near the threshold. The
pos-center and pause-resume arms-out checks don't require the
cooldown (they're one-shot transitions).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 14:11:00 -07:00
name 14fec1d0ef [auto] add 2s cooldown to arms-out to prevent rapid re-triggering
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 14:07:32 -07:00
name 741641d2cd [auto] require 15% bounds to resume from pause, show hints and red box
When paused after leaving the 10% zone, user must get back within
the tighter 15% bounds and raise arms to resume. Shows framing
hints during pause and the 15% red box.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 14:04:47 -07:00
name 2697f8761e [auto] show red box on pause, use 15% margins for framing vs 10% for gameplay
Framing requires tighter bounds (15% top/bottom) to enter.
Gameplay uses looser bounds (10%) before pausing. Red box shows
during both framing and paused states with the appropriate margins.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 14:04:03 -07:00