chickadee » tween » tween

tween easing-function direction start stop percentprocedure

Given an easing-function and a direction, this produces a value between start and stop that is representative of the provided percent.

direction may be one of the following symbols:

  • in
  • out
  • inout

percent must be a value between 0.0 and 1.0.

start and stop must be numbers.

easing-function be of the form direction -> percent -> percent.

Various easing functions are provided by this egg, see below.