Skip to content

Latest commit

 

History

History
361 lines (284 loc) · 3.75 KB

TODO.md

File metadata and controls

361 lines (284 loc) · 3.75 KB

Functions to implement

Colors:

  • alpha()
  • blue()
  • brightness()
  • color()
  • green()
  • hue()
  • lerpColor()
  • lightness()
  • red()
  • saturation()

Setting:

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

Shape

2D Primitives:

  • arc()
  • ellipse()
  • line()
  • point()
  • quad()
  • rect()
  • triangle()

Attributes:

  • ellipseMode()
  • noSmooth()
  • rectMode()
  • smooth()
  • strokeCap()
  • strokeJoin()
  • strokeWeight()

Curves:

  • bezier()
  • bezierPoint()
  • bezierTangent()
  • curve()
  • curveTightness()
  • curvePoint()
  • curveTangent()

Vertex:

  • beginContour()
  • beginShape()
  • bezierVertex()
  • curveVertex()
  • endContour()
  • endShape()
  • quadraticVertex()
  • vertex()

3D Models:

  • loadModel()
  • model()

3D Primitives:

  • plane()
  • box()
  • sphere()
  • cylinder()
  • cone()
  • ellipsoid()
  • torus()

Constants:

  • HALF_PI
  • PI
  • QUARTER_PI
  • TAU
  • TWO_PI

Structure

  • preload()
  • setup()
  • draw()
  • remove()
  • noLoop()
  • loop()
  • push()
  • pop()
  • redraw()

Environment:

  • print()
  • frameCount
  • focused
  • cursor()
  • frameRate()
  • noCursor()
  • displayWidth
  • displayHeight
  • windowWidth
  • windowHeight
  • windowResized()
  • width
  • height
  • fullscreen()
  • pixelDensity()
  • displayDensity()
  • getURL()
  • getURLPath()
  • getURLParams()

Transform:

  • applyMatrix()
  • resetMatrix()
  • rotate()
  • rotateX()
  • rotateY()
  • rotateZ()
  • scale()
  • shearX()
  • shearY()
  • translate()

Events:

Keyboard:

  • keyIsPressed
  • key
  • keyCode
  • keyPressed()
  • keyReleased()
  • keyTyped()
  • keyIsDown()

Mouse:

  • mouseX
  • mouseY
  • pmouseX
  • pmouseY
  • winMouseX
  • winMouseY
  • pwinMouseX
  • pwinMouseY
  • mouseButton
  • mouseIsPressed
  • mouseMoved()
  • mouseDragged()
  • mousePressed()
  • mouseReleased()
  • mouseClicked()
  • mouseWheel()

Image:

  • createImage()
  • saveCanvas()
  • saveFrames()
  • p5.Image

Loading & Displaying:

  • loadImage()
  • image()
  • tint()
  • noTint()
  • imageMode()

Pixels

  • pixels
  • blend()
  • copy()
  • filter()
  • get()
  • loadPixels()
  • set()
  • updatePixels()

IO

Input:

  • loadFont()
  • loadJSON()
  • loadStrings()
  • loadTable()
  • loadXML()
  • httpGet()
  • httpPost()
  • httpDo()

Output:

  • save()
  • saveJSON()
  • saveStrings()
  • saveTable()

Table:

  • p5.Table
  • p5.TableRow
  • XML
  • p5.XML

Time & Date

  • day()
  • hour()
  • minute()
  • millis()
  • month()
  • second()
  • year()

Math:

  • createVector()
  • p5.Vector

Calculation:

  • abs()
  • ceil()
  • constrain()
  • dist()
  • exp()
  • floor()
  • lerp()
  • log()
  • mag()
  • map()
  • max()
  • min()
  • norm()
  • pow()
  • round()
  • sq()
  • sqrt()

Noise:

  • noise()
  • noiseDetail()
  • noiseSeed()

Random:

  • randomSeed()
  • random()
  • randomGaussian()

Trigonometry:

  • acos()
  • asin()
  • atan()
  • atan2()
  • cos()
  • sin()
  • tan()
  • degrees()
  • radians()
  • angleMode()

Typography

Attributes:

  • textAlign()
  • textLeading()
  • textSize()
  • textStyle()
  • textWidth()

Loading & Displaying:

  • text()
  • textFont()

Font:

  • p5.Font

Data

Array Functions:

  • append()
  • arrayCopy()
  • concat()
  • reverse()
  • shorten()
  • shuffle()
  • sort()
  • splice()
  • subset()

Conversion:

  • float()
  • int()
  • str()
  • bool()
  • byte()
  • char()
  • unchar()
  • hex()
  • unhex()

String Functions:

  • join()
  • match()
  • matchAll()
  • nf()
  • nfc()
  • nfp()
  • nfs()
  • split()
  • splitTokens()
  • trim()

Lights, Camera

Camera:

  • camera()
  • perspective()
  • ortho()

Lights:

  • ambientLight()
  • directionalLight()
  • pointLight()

Material:

  • normalMaterial()
  • texture()
  • ambientMaterial()
  • specularMaterial()