Essential Processing Core Library
      San Skulrattanakulchai
      February 21, 2020
    
    
Topic
- We list here the processing core functions and constants that you are likely to use while working on MCS-178 projects. You should consult the processing reference page https://processing.org/reference/ to see the details of these functions and constants.
 
 
Structure
- draw()
 
- exit()/stop()
 
- loop()
 
- noLoop()
 
- pop()
 
- push()
 
- redraw()
 
- setup()
 
 
Environment
- frameCount
 
- frameRate()
 
- frameRate
 
- fullScreen()
 
- height
 
- settings()
 
- size()
 
- width
 
 
2D Primitives
- arc()
 
- circle()
 
- ellipse()
 
- line()
 
- point()
 
- quad()
 
- rect()
 
- square()
 
- triangle()
 
 
Output
Image
- popMatrix()
 
- pushMatrix()
 
- rotate()
 
- scale()
 
- translate()
 
 
Math
Calculation
- abs()
 
- ceil()
 
- constrain()
 
- dist()
 
- exp()
 
- floor()
 
- log()
 
- map()
 
- max()
 
- min()
 
- norm()
 
- pow()
 
- round()
 
- sq()
 
- sqrt()
 
Trigonometry
- acos()
 
- asin()
 
- atan()
 
- atan2()
 
- cos()
 
- degrees()
 
- radians()
 
- sin()
 
- tan()
 
 
Color
Setting
- background()
 
- clear()
 
- fill()
 
- noFill()
 
- noStroke()
 
- stroke()
 
 
Image
Loading & Displaying