Rendering Waveforms in SwiftUI

I've been working on rendering waveforms using mathematical functions and have found the experience to be both fun and enlightening. In this episode we will develop a method to render arbitrary functions using a Shape, then explore some mathematical concepts that can help us render a nice looking waveform that could be use to indicate activity in sound, speech, or other effects.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/447-rendering-waveforms-in-swiftui