smooth()
Draws certain features with smooth (anti-aliased) edges.
smooth() is active by default. noSmooth() is helpful for scaling up images without blurring.
Examples

function setup()
size(400, 400)
background(0)
noSmooth()
text("noSmooth",90,80)
ellipse(120, 192, 144, 144)
smooth()
text("smooth",250,80)
ellipse(280, 192, 144, 144)
describe("Two white circles, drawn with smooth() and noSmooth()")
end
Syntax
smooth()
Related
This reference page contains content adapted from p5.js and Processing by p5.js Contributors and Processing Foundation, licensed under CC BY-NC-SA 4.0.