|
 |
robert alzinger <nomail@nomail> wrote:
> http://www.alzinger.de/cms/index.php?id=166
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
#end
// Instead of eg. "translate x * 5 * clock", do it like:
#declare EasedClock = EaseInOut(clock);
translate x * 5 * EasedClock
--
- Warp
Post a reply to this message
|
 |