POV-Ray : Newsgroups : povray.general : Dumb trig question : Re: Dumb trig question Server Time
26 Sep 2021 20:25:25 EDT (-0400)
  Re: Dumb trig question  
From: Alain Martel
Date: 29 Mar 2021 12:01:18
Message: <6061f9ce$1@news.povray.org>
Le 2021-03-28 à 18:20, Mike Horvath a écrit :
> I want an animation of a circle whose radius starts at x and ends up at 
> infinity. If x were zero then I would use `tan(clock*pi/2)`. But x is 
> not zero. What should I use instead? Please answer my dumb maths 
> question, thanks.
> 
> Mike

This one goes from 1 at zero to infinity at pi/2 :
1/cos(clock*pi/2)

Just add 1 to the value returned by the tangent :
tan(clock*pi/2)+1


Post a reply to this message

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