🌆 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.
noSmooth
await Canvas(200);smooth();let icon = await load('/q5js_icon.png');image(icon, -100, -100, 200, 200); Copy
await Canvas(200);smooth();let icon = await load('/q5js_icon.png');image(icon, -100, -100, 200, 200);
🌆 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
noSmoothhas been called.