POV-Ray : Newsgroups : povray.general : Dumb trig question : Re: Dumb trig question Server Time
25 Apr 2024 14:54:15 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-2023 Persistence of Vision Raytracer Pty. Ltd.