tween.js

23 _ curve path

A Tween animates t from 0 to 1, and the curve maps t to a position. Same pattern replaces array to() values (see 06_array_interpolation).