As another example of using OffscreenCanvas, we can modify the ball drawing in the ball bounce example so that the ball image is drawn in a worker thread. This isn’t a useful thing to do as the ball ...
The first of the Canvas bitmap operations that we need to look at is the drawImage method, which draws a bitmap onto a canvas. What is interesting about this method is not so much that it provides a ...