Grow
ABSTRACT
This is a follower animation. For all meshes present in the iterator but not in the follower, a grow animation will be applied. For all meshes present in the follower but not in the iterator, a shrink animation will be applied. After the animation, the corresponding followers are set to the value of the iterator.
PARAMETERS
meshes& | A variable-tree corresponding to iterators that the animation should apply to (no scene variables are allowed) |
time | the amount of seconds that the animation should take |
time | the amount of seconds that the animation should take |
unit_map(u) | defaults to smooth(u). If provided, it is essentially a rate function that controls the timing of this animation. It is given the normalized time from 0 to 1 and should spit out a normalized time from 0 to 1. |
RETURN
Returns an animation that, when executed, will grow in the insertions and shrink the deletions
DECLARATION
func Grow(meshes&, [config] {[main] {time}, [parameterized] {time, unit_map(u)}})