Prototyping Custom UI in SwiftUI
summary
Builds a working Swift and SwiftUI prototype that shows instantaneous sound as a gauge speedometer and a circular history graph, implements custom drawing with Shape and gradients, and uses an extension for conditional styling. Uses a PreferenceKey to measure per-character sizes for kerning around the arc, exposes tweakable VAR properties and sliders, drives the UI from an ObservableObject timer and can swap in live microphone input, and animates rotation and fades to produce a smooth scanning effect that works on stage.
AI-written summary · about








