a port of the Processing Visualization Language
Name

noSmooth()

Processing.js Behavior Processing.js always renders in smooth mode. This is a limitation of the HTML5 Canvas element.
Examples
example pic
background(0);
smooth();
ellipse(70, 48, 36, 36);
noSmooth();
ellipse(30, 48, 36, 36);
Description Draws all geometry with jagged (aliased) edges.
Syntax
noSmooth()
Returns None
Usage Web & Application
Related smooth()

This reference is licensed under the CC BY-NC-SA 2.0 license:

Creative Commons License
Fork me on GitHub