4 ms·
I prefer it! It's definitely more verbose, but as someone who doesn't do graphics usually, I find it fits my mental model a little better. I tried to build thi
by aylmao 3y ago
I prefer it! It's definitely more verbose, but as someone who doesn't do graphics usually, I find it fits my mental model a little better.
I tried to build this using WebGL before WebGPU was publicly available, but WebGL is very tailored to certain workflows and I didn't make much progress. It really felt like I was using the wrong tool for the job. Maybe I'm just too much of a noob... though I did manage to build it with WebGPU after all haha.
- miniBill 3y agoThis is how I do it using WebGL: https://github.com/miniBill/audio-editor/blob/main/src/View/Waveform.elm#L92-L130 https://github.com/miniBill/audio-editor/blob/main/src/View/...