How to Tame Core Animation
summary
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
chapters (23)
- 0:00Intro
- 0:27About me
- 2:12About my company
- 5:04About Suroosh
- 7:59Core Animation Definition
- 8:37Clarifications
- 13:30Refresh Rate
- 15:25Animation Types
- 16:17Views in iOS
- 16:52Layers
- 17:34Views
- 19:13Triangle example
- 20:02Path animations
- 21:14Code example
- 22:21Animation group
- 23:07Background animation
- 23:30Lava lamp effect
- 23:49Triangles
- 24:41Archimedean Spiral
- 26:07Swift Playgrounds
- 27:51Github
- 29:17Spiral
- 29:39Conclusion
related talks
29mHow to Tame Core Animation
39mBetter CoreAnimation Using Swift Playgrounds
39mYou can totally do that with a CALayer
32mThe Art & Science of SwiftUI Animated Experiences
30mDesigning Delightful Animations with SwiftUI
16mAnimation juice in SwiftUI
32mAnimations Should Be Fun
39mSwiftUI Animations Under The Hood
