POV-Ray : Newsgroups : povray.binaries.animations : flapping butterfly : Re: flapping butterfly Server Time
19 Jul 2024 01:00:54 EDT (-0400)
  Re: flapping butterfly  
From: Andrew Wilcox
Date: 5 Feb 2004 15:17:53
Message: <4022a4f1$1@news.povray.org>
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

I assume you have some place in your code that does:

    rotate <0, 0, 90*clock>

try:

    rotate <0, 0, 90*animSin01(clock)>

oh, and double your frame count, if you do this.

AW

"andrel" <a_l### [at] hotmailcom> wrote in message
news:402### [at] hotmailcom...
> Sources in pbsf.
> I also desribed there how it was done and also
> some discussion.
>
>     Andrel
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.