~/talk

Tap it! Shake it! Fling it! Sheep it!

slides:none on file

Builds a tappable, draggable, flingable and shoppable Canvas chip using Jetpack Compose and Kotlin Multiplatform with working code on GitHub. Tap toggles scale between 1 and 1.2 using the animatable API and a spring spec, drag uses dragable2D with snapTo for zero input lag, fling computes a target with decay+animateDecay and bounces back to center if out of bounds, device orientation drives independent rotation animatables, and a copied shake detector triggers simultaneous keyframe animations for roll translation and scale. All examples run in the Android emulator or on device.

AI-written summary · about

  1. 0:00Introduction
  2. 3:12Animations with gestures
  3. 7:06Tap to scale
  4. 11:08Drag and reposition
  5. 15:01Fling with decay
  6. 20:35Sensor manager setup
  7. 23:27Rotation shift
  8. 25:31Shake with keyframes
  9. 31:11Summary
~/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.