+ 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.

28th Feb 2019, 10:15 AM
Tshepiso Moloi
Tshepiso Moloi - avatar
1 Respuesta
+ 2
Use a rendering library such as p5.js or PixiJS.
11th Mar 2019, 3:36 PM
Caleb Daix
Caleb Daix - avatar