Math

Calculation

Trigonometry

Random

Example

from processing import *

xoff = 0.0
width = 400
height = 300

def setup():
    size(400, 400)

def draw():
    global xoff
    background(204)
    xoff = xoff + .01
    n = noise(xoff) * width
    line(n, 0, n, height)

run()

Reference