dy/gl-waveform

Get rid of slow waves on repainting in 2d canvas

dy opened this issue · 2 comments

dy commented

That happens when we have scales very close to POT scales, like 1022.
That is an artefact of linear interpolation.
We can get rid of it by redrawing only part of the data, for the last chunk, and shifting the rest.

  • that can help with glitch
  • we should think of repainting timeline same way
dy commented

Shift strategy does not help — reading and writing data from canvas is quite heavy thing.

dy commented

Ok, we gotta maintain absolute sampling grid. TOUGH.