Animate canvas items that are based on a constantly changing list state
TL;DR: How would I animate multiple item heights within the Canvas. Like the height of these spikes in a waveform.
A little back story: I'm writing an app to display the waveform of an ongoing audio recording. I'm taking the bytes directly from an AudioRecord and calculating the amplitude every 1000ish samples and pushing them to a list that is then observed in a composable.
The usage within the composable looks something...