Whether OffscreenCanvas faster than the usual hidden Canvas?
Now is the main canvas (the scene) and a few auxiliary canvases hidden outside of sight.
With the help of the timer that starts the rendering of frames in each secondary canvas and then they are superimposed in a given order on the main canvas creating an animated composition.
Will there be faster if you replace the usual (which is hidden) on OffscreenCanvas, as well taking out after drawing the frame normal to the main canvas?
2 answers
It is for this and created.
Usually for worker s working in the background when rendering.
Find more questions by tags HTMLJavaScript
You're in HR in any output. - earline81 commented on April 19th 20 at 12:20
So interesting to compare in the main thread a normal canvas and canvas offscreen :) - tiana47 commented on April 19th 20 at 12:23