~/talk

How to Tame Core Animation

Talkat AltConf 2019 · 2019-06-03..06-06· [ios, web-animation]
slides:none on file

Builds a lava‑lamp background for Apple TV in Swift using Core Graphics to draw 30 triangles connected by 24 points, animating about 500 moving anchors driven by Archimedean spiral math and exported as path animations on CAShapeLayer so the GPU (Core Animation) runs them off the main thread. Prototyped tweaks in Kite Compositor, open‑sourced the implementation, reports it performs well after many experiments, timing tests and limits checking.

AI-written summary · about

  1. 0:00Intro
  2. 0:27About me
  3. 2:12About my company
  4. 5:04About Suroosh
  5. 7:59Core Animation Definition
  6. 8:37Clarifications
  7. 13:30Refresh Rate
  8. 15:25Animation Types
  9. 16:17Views in iOS
  10. 16:52Layers
  11. 17:34Views
  12. 19:13Triangle example
  13. 20:02Path animations
  14. 21:14Code example
  15. 22:21Animation group
  16. 23:07Background animation
  17. 23:30Lava lamp effect
  18. 23:49Triangles
  19. 24:41Archimedean Spiral
  20. 26:07Swift Playgrounds
  21. 27:51Github
  22. 29:17Spiral
  23. 29:39Conclusion
~/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.