q5play
    Preparing search index...

    Function keyReleased

    • 🖲 Define this function to respond to key up events.

      Returns void

      await Canvas(200);
      let gray = 0.4;

      q5.keyReleased = function () {
      background(gray % 1);
      gray += 0.1;
      };