gg_map_animation 0.9.0 gg_map_animation: ^0.9.0 copied to clipboard
By adding a .map method to Animation, GgMapAnimationExtension allows you to map one Animation easily to another.
GgMapAnimationExtension #
GgMapAnimationExtension
adds a .map(...)
function to the Animation class.
Getting Started #
Assuming you have a given animation
, use the .map(...)
function to map
the animation to a different value, e.g. to an angle.
final mappedAnimation = animation.map((i) => 2 * pi * i);