Skip to content

Conversation

@m1ngsama
Copy link
Member

Summary

  • Implemented true color interpolation for buttery smooth gradient animation
  • 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

Changes

This PR optimizes the slogan text animation ("To be at the intersection of technology and liberal arts.") to eliminate the staggered/jumping effect.

Technical improvements:

  • Color interpolation: Added hexToRgb(), rgbToHex(), and interpolateColor() functions for mathematical color blending
  • 60 FPS animation: Increased from 24 to 60 frames for ultra-smooth motion
  • Sine easing: Changed from cubic to easeInOutSine() for the most natural, fluid motion
  • Dynamic gradients: Each frame now uses unique, mathematically interpolated colors rather than jumping between a fixed set

Test plan

  • Build succeeds
  • Animation runs smoothly without visible steps or jumps
  • Colors transition seamlessly through the blue gradient spectrum

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.
@m1ngsama m1ngsama merged commit 8f9aac8 into main Dec 10, 2025
4 checks passed
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