Skip to content

Draft: Add scalable multi-dance system with three new dances#1

Draft
hanamj wants to merge 1 commit intoqnx:mainfrom
hanamj:claude/analyze-repo-Ewar7
Draft

Draft: Add scalable multi-dance system with three new dances#1
hanamj wants to merge 1 commit intoqnx:mainfrom
hanamj:claude/analyze-repo-Ewar7

Conversation

@hanamj
Copy link

@hanamj hanamj commented Mar 3, 2026

Replace the single hardcoded figure-eight screensaver with a dance registry pattern. Each dance is a pure module-level function with a consistent signature; the control loop dispatches to whichever dance is currently selected by index. Adding future dances requires only writing one function and appending one dict to DANCE_REGISTRY.

New controls:

  • START (button 9): toggle dance mode on/off (existing behaviour)
  • BACK (button 6): cycle through dances, works while stopped or dancing

New dances added:

  • Wave: graceful bowing arc, shoulder lags elbow by 45° for whip quality
  • Cobra: hypnotic vertical rise/fall at full freq, lateral sway at half freq
  • Conductor: orchestral baton — elbow double-beats, wrist roll tilts ahead of beat

All SCREENSAVER_* constants/variables renamed to DANCE_* equivalents; values and all existing cancel/home behaviours are unchanged.

Replace the single hardcoded figure-eight screensaver with a dance
registry pattern. Each dance is a pure module-level function with a
consistent signature; the control loop dispatches to whichever dance
is currently selected by index. Adding future dances requires only
writing one function and appending one dict to DANCE_REGISTRY.

New controls:
- START (button 9): toggle dance mode on/off (existing behaviour)
- BACK  (button 6): cycle through dances, works while stopped or dancing

New dances added:
- Wave:      graceful bowing arc, shoulder lags elbow by 45° for whip quality
- Cobra:     hypnotic vertical rise/fall at full freq, lateral sway at half freq
- Conductor: orchestral baton — elbow double-beats, wrist roll tilts ahead of beat

All SCREENSAVER_* constants/variables renamed to DANCE_* equivalents;
values and all existing cancel/home behaviours are unchanged.

https://claude.ai/code/session_01MCn2mzLkEdYVz5XXM1NSed
@hanamj hanamj changed the title Add scalable multi-dance system with three new dances Draft: Add scalable multi-dance system with three new dances Mar 3, 2026
@hanamj hanamj marked this pull request as draft March 3, 2026 00:25
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.

2 participants