ECMAScript resize increments on canvas with requestAnimationFrame

Apologies, my original point was that resize did not consistently distribute interpolation at different scales, i.e. 0.999% vs 0.99%. A window at 0.999% may have 10 square tiles, or with browser zoomed out 40 square tiles – all factors the same but browser zoom (including canvas size). Furthermore, at 0.99% there are no longer tiles, but lines bunched to the canvas edges like a pillow emboss. I wouldn’t notice, except it’s very noticable.

I will attribute unavoidable segments to OS, browser implementation of canvas, etc. and NOT OpenCV. I like OpenCV.