Methods

Reference

Methods

step0()

step1()

linear()

static linear(t)

ease()

static ease(t)

quad()

static quad(t)

cubic()

static cubic(t)

poly()

static poly(n)

sin()

static sin(t)

circle()

static circle(t)

exp()

static exp(t)

elastic()

static elastic(bounciness)

A simple elastic interaction, similar to a spring. Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.