q5play
    Preparing search index...

    Function smooth

    • 🌆 Enables smooth rendering of images displayed larger than their actual size. This is the default setting, so running this function only has an effect if noSmooth has been called.

      Returns void

      await Canvas(200);
      smooth();

      let icon = await load('/q5js_icon.png');
      image(icon, -100, -100, 200, 200);