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).
Tween
t
to()
06_array_interpolation