prev index next 
Animation 
 POV-Ray Tips, 
 Tricks, and Techniques
Exponent Tied to Clock? 
 
Otavio Gaijutis asks: I´m trying to exponetiate a number to the clock, eg.

 2eclock

but i´m getting the message "obj or direct. expected but float function 'clock' found instead".

Can someone give to me some way to do this?
 

Ken Cecka quotes:
From the POV-Ray docs:

"exp(A): Exponential of A. Returns the value of e raised to the power A where e is the base of the natural logarithm, i.e. the non-repeating value approximately equal to 2.71828182846."

So what you want is 2 * exp(clock)
 

  1