~/talk

The Easing Symphony: AnimationSpec in detail!

Talkat droidcon Berlin 2025 · 2025-09-24..09-26· [android]
slides:none on file

Builds a working music visualizer using Compose Multiplatform and KMP with Android using MediaPlayer and MediaExtractor iOS using AVAudioPlayer and desktop using Clip, drawing waveform amplitude and frequency on a Canvas and animating values with animateFloatAsState. Shows using out of the box AnimationSpec types spring, tween, keyframes and swapping easings to change timing. Implements a trailing effect by rotating a float array of amplitudes and creates a custom vectorized AnimationSpec that follows a sine 2D path, and the demo runs successfully.

AI-written summary · about

  1. 0:00AnimationSpec and easing intro
  2. 1:46UI properties from music
  3. 3:12Cross-platform music reader
  4. 4:36Simple music visualizer
  5. 6:20Customizing animations
  6. 8:48Understanding AnimationSpec in depth
  7. 10:36Animation configuration
  8. 12:01Trail animations
  9. 13:24What easing is
  10. 15:08Easing in code
  11. 15:49Custom easing functions
  12. 17:35Custom AnimationSpec design
  13. 21:49Final visualizer
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.