POV-Ray : Newsgroups : povray.general : Short code competition #5 - bring it on! : Re: Short code competition #5 - bring it on! Server Time
31 Jul 2024 10:27:24 EDT (-0400)
  Re: Short code competition #5 - bring it on!  
From: Warp
Date: 5 Dec 2007 08:59:45
Message: <4756aed1@news.povray.org>
Paul Bourke <pau### [at] uwaeduau> wrote:
> How expensive is it to create a periodic clock yourself, I haven't thought too
> much about this ...
>    (1-cos(clock*2*pi))/2
> gives a periodic clock albeit nonlinear.

  The last value is the same as the first value there, which is exactly
what +KC remedies.

-- 
                                                          - Warp


Post a reply to this message

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