~/talk

Make it Rain: Building particle systems in SwiftUI

Talkat iOS Conf SG 2024 · 2024-01-18..01-19· [swift, creative-coding]
slides:none on file

A working SwiftUI particle system gets built live: a model for per-particle state, simd for fast vector math, frame‑independent movement at ~60fps via TimelineView and Canvas, acceleration/gravity, size/speed/lifespan spreads, tagging for arbitrary SwiftUI symbols, color and additive blend modes, three‑axis spin, shaped emitters, confetti and firework examples. The talk ships a library called Vortex open source that reproduces RealityKit‑style particles on iOS and is available today.

AI-written summary · about

  1. 0:00Introduction
  2. 7:48Particle View
  3. 8:22Particle Movement
  4. 9:36Frame Independent Movement
  5. 16:58Gravity
  6. 18:06Image tagging
  7. 19:23Particle view initializer
  8. 20:35Particle view tagging
  9. 21:32Particle view coloring
  10. 22:03Particle view blending
  11. 23:02Particle rotation
  12. 24:58Particle shaping
  13. 26:58Outro
~/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.