POV-Ray : Newsgroups : povray.general : Dumb trig question : Re: Dumb trig question Server Time
26 Sep 2021 20:15:17 EDT (-0400)
  Re: Dumb trig question  
From: Zeger Knaepen
Date: 28 Mar 2021 19:00:24
Message: <60610a88$1@news.povray.org>
On 21/03/29 00:56, Zeger Knaepen wrote:
> On 21/03/29 00:20, Mike Horvath wrote:
>> 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
> (1-1/(1-clock))-(1-x)

you could also use tan, starting at atan(x) going to pi/2

Or log(1-clock)+x

Any function that goes to infinity at a known point could be used, I 
suppose, but those are the three I can think of.

Post a reply to this message

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