You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: optimize slogan animation with smooth color interpolation
Implemented true color interpolation for buttery smooth gradient animation:
- Added hexToRgb, rgbToHex, and interpolateColor functions for mathematical color blending
- Increased frame rate from 24 to 60 FPS for ultra-smooth motion
- Changed easing from cubic to sine wave for more natural transitions
- Dynamically generate gradients per frame instead of using pre-defined set
- Eliminates staggered/jumping effect in the slogan text animation
The animation now uses real-time color interpolation between adjacent colors
in the sequence, creating seamless transitions without visible steps.
0 commit comments