ingo wrote:
>
> I'm trying to animate the tail of an ASCII-fish. I figured out how to
> do it
> the long way but I'm looking for a short cut.
>
> Concider eleven spheres on a string from the origin to <10,0>.
> around the current position of the second sphere.
> 3. leave the first and second sphere in its position. rotate the whole
> .
> .
> .
> tenth
> sphere.
>
> Now, is there a direct way to calculate the position of a sphere,
> without
> going through the above loop. What will the position of sphere 7 be
> when
>
> Ingo
>
> --
> Photography: http://members.home.nl/ingoogni/
> Pov-Ray : http://members.home.nl/seed7/
I don't know if I understand your method exactly but I did a similar
thing with a reasonable result using sin/cos-functions. This gives a
nice curve. The position of each sphere is based on its place in the
string _plus_ a clock value. This way the first sphere will move also.
This is easy to avoid by moving the whole string relative to the
translation of this first sphere. Sounds far more complicated then it
actually is 8)
Groeten!
Remco
Post a reply to this message
|