You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to use multiple canvases with this library? I am asking this because drawing more complex objects on a separate "offscreen" canvas in order to cache them is a common way to improve performance. Take a look at Mozillas recommendations here.
Would be great to hear any hints on this!
The text was updated successfully, but these errors were encountered:
If you don't need high framerates, you can always draw to the canvas offscreen and then create an image from it using toDataURL(). Then just display the resulting image.
Is there any way to use multiple canvases with this library? I am asking this because drawing more complex objects on a separate "offscreen" canvas in order to cache them is a common way to improve performance. Take a look at Mozillas recommendations here.
Would be great to hear any hints on this!
The text was updated successfully, but these errors were encountered: