Reference. Processing was designed to be a flexible software sketchbook.
! (logical NOT)
!= (inequality)
% (modulo)
& (bitwise AND)
&& (logical AND)
() (parentheses)
* (multiply)
*= (multiply assign)
+ (addition)
++ (increment)
+= (add assign)
, (comma)
- (minus)
-- (decrement)
-= (subtract assign)
. (dot)
/ (divide)
/* */ (multiline comment)
/** */ (doc comment)
// (comment)
/= (divide assign)
; (semicolon)
< (less than)
<< (left shift)
<= (less than or equal to)
= (assign)
== (equality)
> (greater than)
>= (greater than or equal to)
>> (right shift)
?: (conditional)
[] (array access)
{} (curly braces)
| (bitwise OR)
|| (logical OR)
abs() acos() alpha() ambient() ambientLight() append() applyMatrix() arc() Array arrayCopy() ArrayList asin() atan() atan2()
background() beginCamera() beginContour() beginRaw() beginRecord() beginShape() bezier() bezierDetail() bezierPoint() bezierTangent() bezierVertex() binary() blend() blendMode() blue() boolean() boolean box() break brightness() BufferedReader byte() byte
camera() case catch ceil() char() char class clear() clip() color() color colorMode() concat() constrain() continue copy() cos() createFont() createGraphics() createImage() createInput() createOutput() createReader() createShape() createWriter() cursor() curve() curveDetail() curvePoint() curveTangent() curveTightness() curveVertex()
day() default degrees() delay() directionalLight() displayDensity() dist() double DoubleDict DoubleList draw()
ellipse() ellipseMode() else emissive() endCamera() endContour() endRaw() endRecord() endShape() exit() exp()
abs() acos() alpha() ambient() ambientLight() append() applyMatrix() arc() Array arrayCopy() ArrayList asin() atan() atan2()
background() beginCamera() beginContour() beginRaw() beginRecord() beginShape() bezier() bezierDetail() bezierPoint() bezierTangent() bezierVertex() binary() blend() blendMode() blue() boolean() boolean box() break brightness() BufferedReader byte() byte
camera() case catch ceil() char() char class clear() clip() color() color colorMode() concat() constrain() continue copy() cos() createFont() createGraphics() createImage() createInput() createOutput() createReader() createShape() createWriter() cursor() curve() curveDetail() curvePoint() curveTangent() curveTightness() curveVertex()
day() default degrees() delay() directionalLight() displayDensity() dist() double DoubleDict DoubleList draw()
ellipse() ellipseMode() else emissive() endCamera() endContour() endRaw() endRecord() endShape() exit() exp()
expand()
extends
false fill() filter() final float() float FloatDict FloatList floor() focused for frameCount frameRate() frameRate frustum() fullScreen()
get() green()
HALF_PI HashMap height hex() hour() hue()
if image() imageMode() implements import int() int IntDict IntList
join() JSONArray JSONObject
key keyCode keyPressed() keyPressed keyReleased() keyTyped()
launch() lerp() lerpColor() lightFalloff() lights() lightSpecular() line() loadBytes() loadFont() loadImage() loadJSONArray() loadJSONObject() loadPixels() loadShader() loadShape() loadStrings() loadTable() loadXML() log() long LongDict LongList loop()
mag() map() mask() match() matchAll() max() millis() min() minute() modelX() modelY() modelZ() month() mouseButton mouseClicked() mouseDragged() mouseMoved() mousePressed() mousePressed mouseReleased() mouseWheel() mouseX mouseY
new nf() nfc() nfp() nfs() noClip() noCursor() noFill() noise() noiseDetail() noiseSeed() noLights() noLoop() norm() normal() noSmooth() noStroke() noTint() null
Object ortho()
parseJSONArray() parseJSONObject() parseXML() perspective() PFont PGraphics PI PImage pixelDensity() pixelHeight pixels[] pixelWidth pmouseX pmouseY point()
false fill() filter() final float() float FloatDict FloatList floor() focused for frameCount frameRate() frameRate frustum() fullScreen()
get() green()
HALF_PI HashMap height hex() hour() hue()
if image() imageMode() implements import int() int IntDict IntList
join() JSONArray JSONObject
key keyCode keyPressed() keyPressed keyReleased() keyTyped()
launch() lerp() lerpColor() lightFalloff() lights() lightSpecular() line() loadBytes() loadFont() loadImage() loadJSONArray() loadJSONObject() loadPixels() loadShader() loadShape() loadStrings() loadTable() loadXML() log() long LongDict LongList loop()
mag() map() mask() match() matchAll() max() millis() min() minute() modelX() modelY() modelZ() month() mouseButton mouseClicked() mouseDragged() mouseMoved() mousePressed() mousePressed mouseReleased() mouseWheel() mouseX mouseY
new nf() nfc() nfp() nfs() noClip() noCursor() noFill() noise() noiseDetail() noiseSeed() noLights() noLoop() norm() normal() noSmooth() noStroke() noTint() null
Object ortho()
parseJSONArray() parseJSONObject() parseXML() perspective() PFont PGraphics PI PImage pixelDensity() pixelHeight pixels[] pixelWidth pmouseX pmouseY point()
pointLight()
popMatrix()
popStyle()
pow()
print()
printArray()
printCamera()
println()
printMatrix()
printProjection()
PrintWriter
private
PShader
PShape
public
pushMatrix()
pushStyle()
PVector
quad() quadraticVertex() QUARTER_PI
radians() random() randomGaussian() randomSeed() rect() rectMode() red() redraw() requestImage() resetMatrix() resetShader() return reverse() rotate() rotateX() rotateY() rotateZ() round()
saturation() save() saveBytes() saveFrame() saveJSONArray() saveJSONObject() saveStream() saveStrings() saveTable() saveXML() scale() screenX() screenY() screenZ() second() selectFolder() selectInput() selectOutput() set() settings() setup() shader() shape() shapeMode() shearX() shearY() shininess() shorten() sin() size() smooth() sort() specular() sphere() sphereDetail() splice() split() splitTokens() spotLight() sq() sqrt() static str() String StringDict StringList stroke() strokeCap() strokeJoin() strokeWeight() subset() super switch
Table TableRow tan() TAU text() textAlign() textAscent() textDescent() textFont() textLeading() textMode() textSize() texture() textureMode() textureWrap() textWidth() this thread() tint() translate() triangle() trim() true try TWO_PI
unbinary() unhex() updatePixels()
vertex() void
while width
XML
year()
quad() quadraticVertex() QUARTER_PI
radians() random() randomGaussian() randomSeed() rect() rectMode() red() redraw() requestImage() resetMatrix() resetShader() return reverse() rotate() rotateX() rotateY() rotateZ() round()
saturation() save() saveBytes() saveFrame() saveJSONArray() saveJSONObject() saveStream() saveStrings() saveTable() saveXML() scale() screenX() screenY() screenZ() second() selectFolder() selectInput() selectOutput() set() settings() setup() shader() shape() shapeMode() shearX() shearY() shininess() shorten() sin() size() smooth() sort() specular() sphere() sphereDetail() splice() split() splitTokens() spotLight() sq() sqrt() static str() String StringDict StringList stroke() strokeCap() strokeJoin() strokeWeight() subset() super switch
Table TableRow tan() TAU text() textAlign() textAscent() textDescent() textFont() textLeading() textMode() textSize() texture() textureMode() textureWrap() textWidth() this thread() tint() translate() triangle() trim() true try TWO_PI
unbinary() unhex() updatePixels()
vertex() void
while width
XML
year()