robert alzinger <nomail@nomail> wrote:
It's very cool. But may I make an improvement suggestion to the animation?
Apply an easing function to all the movements (in other words, rather than
a movement being linear, making it accelerating and decelerating), except
for the ants. That will make it look much nicer.
This is one simple way of doing that:
#macro EaseInOut(TimeValue) // TimeValue must be in the range [0, 1]
0.5 - cos(TimeValue*pi)/2
// Instead of eg. "translate x * 5 * clock", do it like:
#declare EasedClock = EaseInOut(clock);
translate x * 5 * EasedClock
Post a reply to this message