POV-Ray : Newsgroups : povray.advanced-users : Fishtail math ><}}}*> : Re: Fishtail math ><}}}*> Server Time
30 Jul 2024 14:30:26 EDT (-0400)
  Re: Fishtail math ><}}}*>  
From: Greg M  Johnson
Date: 20 Nov 1999 07:21:18
Message: <38369190.12D9F64F@my-dejanews.com>
I think there is a more serious problem with the sin cos solution.

The sin cos solution prevents non unique positions along the x axis.  Many
kinds of aquatic animals, maybe some fish, would bend their bodies around so
much that there might be two points of the body at some given x.

Remco de Korte wrote:

> 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

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