Open JeremyLeland opened 10 months ago
Rasterizing seems to be the way to go. Buttery smooth, get to keep all the effects and gradients I was using before.
It's a bit of a pain to get the sizes lined up and to know when to update, but this seems to be the best option across browsers and my test devices.
FillRect seems much faster than equivalent Path2D. A few ideas to try:
Make it easier to compare drawing methods in demo. Specifically:
also try rasterizing vector once and drawing that image a bunch of times. See how that looks, and if it’s meaningfully faster.