q5play
    Preparing search index...

    Function clear

    • 💅 Clears the canvas, making every pixel completely transparent.

      Note that the canvas can only be seen through if it has an alpha channel.

      Returns void

      await Canvas(200, { alpha: true });

      q5.draw = function () {
      clear();
      circle((frameCount % 200) - 100, 0, 80);
      };