noSmooth()
Warning: noSmooth() needs more testing
Draws certain features with jagged (aliased) edges.
smooth() is active by default. noSmooth() is helpful for scaling up images without blurring. The functions don't affect shapes or fonts.
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
noSmooth()
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.