I’m building a realtime oscilloscope-like plotter using React + Tauri + uPlot, and I’m running into two annoying issues:
noticeable jitter on the X axis
square waves are not rendered as actual square waves, but with diagonal/interpolated transitions
https://preview.redd.it/indda9ifun0h1.png?width=888&format=png&auto=webp&s=99985e5756d8b8dc06183147b2d42c26205bdb23
Right now I’m receiving data through Tauri events ( signal-stream ) and updating uPlot inside requestAnimationFrame .
The main problem is that the chart visually “shakes” horizontally while the time window scrolls.…