This document is in progress. (Last update: 2015/05/13)

Structure

Shape

2D Primitives

Attributes

Transform

Color

Setting

  • background()
  • colorMode()
  • fill()
  • noFill()
  • noStroke()
  • stroke()

Creating

  • blue()
  • brightness()
  • color()
  • color()
  • green()
  • hue()
  • red()
  • saturation()

Image

Loading & Displaying

  • loadImage();
  • image();

Pixels

  • getPixel()
  • loadPixels()
  • setPixel()
  • updatePixels()

Typography

Loading & Display

  • loadFont()
  • loadSystemFont()
  • text()
  • textInRect()
  • textFont()

Attributes

  • textAlign()
  • textContentSize()
  • textHeight()
  • textWidth()

Math

Calculation

  • constrain()
  • map()
  • max()
  • min()

Trigonometry

  • cos()
  • degrees()
  • radians()
  • sin()

Random

  • random()
  • randomSeed()

Constants

  • HALF_PI
  • PI
  • QUARTER_PI
  • TAU
  • TWO_PI