Animation Engine Adapter
Component Detail
Infrastructure
medium complexity
mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Infrastructure adapter wrapping Rive or Lottie animation libraries for the Wrapped summary experience. Provides a unified interface for loading, playing, and controlling animated transitions between summary slides. Handles animation asset loading, playback state, and performance optimization on lower-end devices.
animation-engine-adapter
Responsibilities
- Load and cache animation assets (Rive/Lottie files)
- Control animation playback, pause, and seek
- Manage transition animations between summary slides
- Handle performance fallbacks for lower-end devices
Interfaces
loadAnimation(assetPath)
play()
pause()
seekTo(progress)
onAnimationComplete(callback)
transitionTo(nextAnimation)
dispose()