|
![](/i/fill.gif) |
Andrew Wilcox wrote:
> Next you should try making a looping animation with some acceleration and
> deceleration near the end points.
>
> #macro animSin(C) sin(2*pi*C)
> #macro animSin01(C) (animSin(C-0.25)+1)/2
That is an interesting way to make a cosine ;)
> I assume you have some place in your code that does:
>
> rotate <0, 0, 90*clock>
No, I have not (see source in pbs-f)
I am afraid it was a lot more work than that.
> try:
>
> rotate <0, 0, 90*animSin01(clock)>
No:
Atalanta(animSin01(clock))
It looks reasonable. I am sure the wings do not
move like a sinusoid, but my brain does not
object to this movement as unrealistic.
I probably would have tried something more
complicated then a pure sinusoid myself, so
thanks for preventing another level of complexity.
> oh, and double your frame count, if you do this.
No to make it even remotely behaving like a butterfly
I have increase the framerate and then at 32 frames
30 frames per second it still is in slow motion.
Thanks for your comment.
Andrel
Post a reply to this message
|
![](/i/fill.gif) |