POV-Ray : Newsgroups : povray.advanced-users : Is there a way : Re: Is there a way Server Time
29 Jul 2024 22:32:11 EDT (-0400)
  Re: Is there a way  
From: Rich
Date: 17 Sep 2000 17:05:44
Message: <8FB299004spammindspringcom@204.213.191.228>
mic### [at] mhazelgrovefsnetcouk (Mick Hazelgrove) wrote in
<39c53018@news.povray.org>: 
>> > Is there a way of  doing
>> >
>> >     x (+ or -) y ?

   How about (x - y) + random number between 0 and y*2
or
   x + ((random number between 0 and y*2) - y)

-- 
Rich Allen
(Remove SPAM from my address to reply by e-mail)


Post a reply to this message

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