CATransform3D: You don't need to know them
summary
Core Animation transforms are just a 4x4 matrix and the practical takeaway is how to recreate Instagram’s perspective tool: adjust the layer anchor point, set the m34 depth entry to add perspective, rotate around the x axis, and apply scale; shear needs manual math so shear skews require tangents not helpers. A working demo uses two layers, tweaked literal values rather than closed‑form trig, and produces a close match to Instagram’s vertical perspective shift.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:27CATransform3D
- 0:54Translation
- 1:13Rotation
- 1:42Shearing
- 2:05Projective Transformation
- 3:37Modify anchor
- 3:58Scale
related talks
20mHow CGAffineTransform actually works — Swift engineer’s guide
18mSwift as Light
35mAnimations with SwiftUI
32mThe Art & Science of SwiftUI Animated Experiences
16mAnimation juice in SwiftUI
23mBring life to your iOS Application with 3D content using RealityKit
22mMemojis under the hood
05mIntro to ARKit
