Reference Summary
Shape
2D Primitives
Attributes
Curves
Vertex
Color
Creating and Reading
Setting
Typography
Attributes
Loading and Displaying
Image
Loading and Displaying
Pixels
Transform
Environment
- cursor()
- deltaTime
- describe()
- displayDensity()
- displayHeight
- displayWidth
- focused
- frameCount
- frameRate()
- fullscreen()
- height
- noCursor()
pixelDensity()- print()
- width
- windowResized()
Rendering
blendMode()- size() - Creates a window of specified dimensions
- createGraphics()
noCanvas()- resizeWindow()
Math
Calculation
- abs()
- ceil()
- constrain()
- dist()
- exp()
- floor()
- fract()
- lerp()
- log()
- map()
- max()
- min()
- norm()
- pow()
- round()
- sq()
- sqrt()
Noise
Random
Trigonometry
I/O
Input
Output
Time and Date
Events
Keyboard
Mouse
- mouseButton
- mouseClicked()
- mouseDragged()
- mouseIsPressed
- mouseMoved()
- mousePressed()
- mouseReleased()
- mouseWheel()
- mouseX
- mouseY
- movedX
- movedY
- pmouseX
- pmouseY