~/talk

CATransform3D: You don't need to know them

Talkat dotSwift 2019 · on Monday, 2019-01-28· [swift]
slides:none on file

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

  1. 0:00Start
  2. 0:27CATransform3D
  3. 0:54Translation
  4. 1:13Rotation
  5. 1:42Shearing
  6. 2:05Projective Transformation
  7. 3:37Modify anchor
  8. 3:58Scale
~/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.