Files
soroban-abacus-flashcards/apps
Thomas Hallock b7fe2af369 fix(know-your-world): use spring-for-speed pattern for smooth crosshair rotation
Replace CSS animation with spring-for-speed, manual-integration-for-angle pattern:
- Spring animates rotation SPEED for smooth transitions between heat levels
- requestAnimationFrame loop integrates angle from speed (no jumps)
- useSpringValue binds angle directly to animated SVG elements

This solves position jumps that occurred when CSS animation duration changed.

Add documentation:
- .claude/ANIMATION_PATTERNS.md - complete pattern explanation
- Reference in CLAUDE.md for future similar tasks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 15:27:03 -06:00
..