💅 Clears the canvas, making every pixel completely transparent.
Note that the canvas can only be seen through if it has an alpha channel.
await Canvas(200, { alpha: true });q5.draw = function () { clear(); circle((frameCount % 200) - 100, 0, 80);}; Copy
await Canvas(200, { alpha: true });q5.draw = function () { clear(); circle((frameCount % 200) - 100, 0, 80);};
💅 Clears the canvas, making every pixel completely transparent.
Note that the canvas can only be seen through if it has an alpha channel.