|
|
|
|
|
by ricardobeat
1998 days ago
|
|
Hi! I was just looking into it, see my other comment below. FF is terrible at resizing on `drawImage`, you can render at half resolution [1] to improve performance, and the smoothness makes up for the lost definition. Other tricks like rendering offscreen don't really do much, I guess using CSS transforms or WebGL would be the only other options but a ton more effort. Thanks for these, they are incredible! [1] when devicePixelRatio > 1, in FF only. Gets me from 24ms to 7ms/frame here |
|