Structure
[] (array access)
= (assign)
catch
class
, (comma)
// (comment)
{} (curly braces)
delay()
/** */ (doc comment)
. (dot)
draw()
exit()
extends
false
final
implements
import
loop()
/* */ (multiline comment)
new
noLoop()
null
() (parentheses)
popStyle()
private
public
pushStyle()
redraw()
return
; (semicolon)
setup()
size()
static
super
this
true
try
void
[] (array access)
= (assign)
catch
class
, (comma)
// (comment)
{} (curly braces)
delay()
/** */ (doc comment)
. (dot)
draw()
exit()
extends
false
final
implements
import
loop()
/* */ (multiline comment)
new
noLoop()
null
() (parentheses)
popStyle()
private
public
pushStyle()
redraw()
return
; (semicolon)
setup()
size()
static
super
this
true
try
void
Data
byte
char
color
double
float
int
long
ArrayList
HashMap
Object
String
XMLElement
boolean()
byte()
char()
float()
hex()
int()
str()
unbinary()
unhex()
match()
matchAll()
nf()
nfc()
nfp()
nfs()
split()
splitTokens()
trim()
arrayCopy()
concat()
expand()
reverse()
shorten()
sort()
splice()
subset()
Primitive
booleanbyte
char
color
double
float
int
long
Composite
ArrayArrayList
HashMap
Object
String
XMLElement
Conversion
binary()boolean()
byte()
char()
float()
hex()
int()
str()
unbinary()
unhex()
String Functions
join()match()
matchAll()
nf()
nfc()
nfp()
nfs()
split()
splitTokens()
trim()
Array Functions
append()arrayCopy()
concat()
expand()
reverse()
shorten()
sort()
splice()
subset()
Control
> (greater than)
>= (greater than or equal to)
!= (inequality)
< (less than)
<= (less than or equal to)
while
case
?: (conditional)
continue
default
else
if
switch()
! (logical NOT)
|| (logical OR)
Relational Operators
== (equality)> (greater than)
>= (greater than or equal to)
!= (inequality)
< (less than)
<= (less than or equal to)
Iteration
forwhile
Conditionals
breakcase
?: (conditional)
continue
default
else
if
switch()
Logical Operators
&& (logical AND)! (logical NOT)
|| (logical OR)
Shape
PShape
ellipse()
line()
point()
quad()
rect()
triangle()
bezierDetail()
bezierPoint()
bezierTangent()
curve()
curveDetail()
curvePoint()
curveTangent()
curveTightness()
sphere()
sphereDetail()
noSmooth()
rectMode()
smooth()
strokeCap()
strokeJoin()
strokeWeight()
bezierVertex()
curveVertex()
endShape()
texture()
textureMode()
vertex()
shape()
shapeMode()
PShape
2D Primitives
arc()ellipse()
line()
point()
quad()
rect()
triangle()
Curves
bezier()bezierDetail()
bezierPoint()
bezierTangent()
curve()
curveDetail()
curvePoint()
curveTangent()
curveTightness()
3D Primitives
box()sphere()
sphereDetail()
Attributes
ellipseMode()noSmooth()
rectMode()
smooth()
strokeCap()
strokeJoin()
strokeWeight()
Vertex
beginShape()bezierVertex()
curveVertex()
endShape()
texture()
textureMode()
vertex()
Loading & Displaying
loadShape()shape()
shapeMode()
Input
mouseClicked()
mouseDragged()
mouseMoved()
mousePressed()
mousePressed
mouseReleased()
mouseX
mouseY
pmouseX
pmouseY
keyCode
keyPressed()
keyPressed
keyReleased()
keyTyped()
createInput()
createReader()
loadBytes()
loadStrings()
open()
selectFolder()
selectInput()
param()
status()
hour()
millis()
minute()
month()
second()
year()
Mouse
mouseButtonmouseClicked()
mouseDragged()
mouseMoved()
mousePressed()
mousePressed
mouseReleased()
mouseX
mouseY
pmouseX
pmouseY
Keyboard
keykeyCode
keyPressed()
keyPressed
keyReleased()
keyTyped()
Files
BufferedReadercreateInput()
createReader()
loadBytes()
loadStrings()
open()
selectFolder()
selectInput()
Web
link()param()
status()
Time & Date
day()hour()
millis()
minute()
month()
second()
year()
Output
println()
saveFrame()
beginRaw()
beginRecord()
createOutput()
createWriter()
endRaw()
endRecord()
saveBytes()
saveStream()
saveStrings()
selectOutput()
Text Area
print()println()
Image
save()saveFrame()
Files
PrintWriterbeginRaw()
beginRecord()
createOutput()
createWriter()
endRaw()
endRecord()
saveBytes()
saveStream()
saveStrings()
selectOutput()
Transform
applyMatrix()
popMatrix()
printMatrix()
pushMatrix()
resetMatrix()
rotate()
rotateX()
rotateY()
rotateZ()
scale()
skewX()
skewY()
translate()
applyMatrix()
popMatrix()
printMatrix()
pushMatrix()
resetMatrix()
rotate()
rotateX()
rotateY()
rotateZ()
scale()
skewX()
skewY()
translate()
Lights, Camera
directionalLight()
lightFalloff()
lightSpecular()
lights()
noLights()
normal()
pointLight()
spotLight()
camera()
endCamera()
frustum()
ortho()
perspective()
printCamera()
printProjection()
modelY()
modelZ()
screenX()
screenY()
screenZ()
emissive()
shininess()
specular()
Lights
ambientLight()directionalLight()
lightFalloff()
lightSpecular()
lights()
noLights()
normal()
pointLight()
spotLight()
Camera
beginCamera()camera()
endCamera()
frustum()
ortho()
perspective()
printCamera()
printProjection()
Coordinates
modelX()modelY()
modelZ()
screenX()
screenY()
screenZ()
Material Properties
ambient()emissive()
shininess()
specular()
Color
colorMode()
fill()
noFill()
noStroke()
stroke()
blendColor()
blue()
brightness()
color()
green()
hue()
lerpColor()
red()
saturation()
Setting
background()colorMode()
fill()
noFill()
noStroke()
stroke()
Creating & Reading
alpha()blendColor()
blue()
brightness()
color()
green()
hue()
lerpColor()
red()
saturation()
Image
PImage
createImage()
imageMode()
loadImage()
noTint()
requestImage()
tint()
copy()
filter()
get()
loadPixels()
pixels[]
set()
updatePixels()
PImage
createImage()
Loading & Displaying
image()imageMode()
loadImage()
noTint()
requestImage()
tint()
Pixels
blend()copy()
filter()
get()
loadPixels()
pixels[]
set()
updatePixels()
Typography
PFont
loadFont()
text()
textFont()
textLeading()
textMode()
textSize()
textWidth()
textDescent()
PFont
Loading & Displaying
createFont()loadFont()
text()
textFont()
Attributes
textAlign()textLeading()
textMode()
textSize()
textWidth()
Metrics
textAscent()textDescent()
Math
PVector
+ (addition)
-- (decrement)
/ (divide)
/= (divide assign)
++ (increment)
- (minus)
% (modulo)
* (multiply)
*= (multiply assign)
-= (subtract assign)
| (bitwise OR)
<< (left shift)
>> (right shift)
ceil()
constrain()
dist()
exp()
floor()
lerp()
log()
mag()
map()
max()
min()
norm()
pow()
round()
sq()
sqrt()
asin()
atan()
atan2()
cos()
degrees()
radians()
sin()
tan()
noiseDetail()
noiseSeed()
random()
randomSeed()
PVector
Operators
+= (add assign)+ (addition)
-- (decrement)
/ (divide)
/= (divide assign)
++ (increment)
- (minus)
% (modulo)
* (multiply)
*= (multiply assign)
-= (subtract assign)
Bitwise Operators
& (bitwise AND)| (bitwise OR)
<< (left shift)
>> (right shift)
Calculation
abs()ceil()
constrain()
dist()
exp()
floor()
lerp()
log()
mag()
map()
max()
min()
norm()
pow()
round()
sq()
sqrt()
Trigonometry
acos()asin()
atan()
atan2()
cos()
degrees()
radians()
sin()
tan()
Random
noise()noiseDetail()
noiseSeed()
random()
randomSeed()

