+ 2
How can I get around drawImage() and browser security issues?
toDataURL() can be used to convert canvas drawing to image. But if you draw image using drawImage() on canvas, your canvas get tinted and disappear.
1 Answer
+ 2
Use a rendering library such as p5.js or PixiJS.