~/talk

Declarative 3D: Achieving integration SwiftUI and 3D

Talkat #Pragma Conference 2023 · 2023-10-05..10-06· [webassembly, creative-coding]
linkedin:driegger
slides:none on file

An iPad app for robot cake decoration moves from a brittle singleton with over 100 imperative functions became a single state-driven updater to a declarative model: one central scene state plus a renderer that diffs changes and updates SceneKit or Unity. Motion capture uses HTC-style lighthouses, a backend smooths 3D pen coordinates and serves them via REST, and robots run in a bakery in Oslo. Implementation uses a protocol-based Element3D and custom ResultBuilder with buildEither/buildOptional/buildArray to enable inline conditionals, loops and view-modifier style offsets.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:38From imperative to declarative 3D
  3. 7:15Building a declarative 3D scene
  4. 12:33Under the hood of RLE Builder
  5. 16:11Integrating SwiftUI and 3D scene
  6. 18:58Summary and key takeaways
  7. 19:44Q&A session
~/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.