Waveform Rendering & Scroll Bar
This time, I’ve mainly implemented two features: waveform rendering and timeline scroll bar.
Waveform
I’ve added a waveform rendering logic to the timeline. I handled it by generating peak value data to render it quicker than calculating the peak value while rendering.
After all, it looks pretty nice and scales perfectly when zooming with my trackpad.
Timeline Scroll Bar
Another feature I’ve added is a timeline scroll bar. It may not look appealing, but its calculation was quite hard actually. I had to calculate the ratio of the visible area and the entire timeline to get the width of the scroll bar. I think it is lot better than egui’s builtin scroll bar, so I’m quite satisfied with the outcome!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.