~/talk

Special effects with SwiftUI

Talkat iOS Conf SG 2022 · 2022-01-20..01-21· [swift]
slides:none on file

Builds a live particle system in SwiftUI that actually runs on device using TimelineView and Canvas, an image asset (spark.png), and Xcode 13 / iOS 15. Particles store x/y and creation date, get trimmed after one second to avoid leakage, gain per-particle hue and blend modes for rainbow and additive brightness, and can be mirrored into a kaleidoscope. Input comes from touch, Core Motion, and even headphone motion (AirPods); the demo compiles and animates interactively on-device.

AI-written summary · about

  1. 0:00Start
  2. 3:04Particle System
  3. 5:49Timeline View
  4. 17:25Rainbows
  5. 21:29Symmetry Effect
  6. 22:21Drawing Loop
  7. 24:33Core Motion Framework
~/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.