~/talk

The Gesture Animations Dance

Talkat droidcon London 2024 · 2024-10-31..11-01· [web-animation, android]
slides:none on file

Builds a dancing chip using Kotlin Multiplatform and the Jetpack Compose Animatable API, with concrete code for tap-to-scale (toggle 1 → 1.2), drag using snapTo for immediate follow, fling using decay to compute target offset then animateDecay or animate back to center, and shake detection by computing acceleration magnitude, applying a low‑pass filter and threshold to trigger synchronized keyframe animations (same duration across scale/rotation/translation). Multiplatform sensor manager maps iOS axes to Android and includes Android Studio virtual sensor demo; full code is in the repo.

AI-written summary · about

  1. 0:00Gesture animations intro
  2. 1:46Animations: what, when, how
  3. 3:34Dancing chip setup with Compose
  4. 4:16Tap to scale animation
  5. 6:04Dynamic effects with animation specs
  6. 8:31Drag and reposition gestures
  7. 11:21Fling gestures with decay
  8. 14:32Multiplatform sensors intro
  9. 17:21Android sensor manager
  10. 18:46iOS sensor manager
  11. 20:32Chip rotation with sensors
  12. 25:08Shake detection for animations
  13. 28:19Keyframe animations for shakes
  14. 30:26Summary and next steps
~/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.