POV-Ray : Newsgroups : povray.general : Help: Place objects within a circle : Re: Place objects within a circle Server Time
9 Sep 2024 21:44:58 EDT (-0400)
  Re: Place objects within a circle  
From: Marc Champagne
Date: 12 Sep 2003 19:23:57
Message: <Xns93F4C4ED0C87CPOVMIKA@204.213.191.226>
"Slime" <fak### [at] emailaddress> wrote in news:3f624eb3$1@news.povray.org:

>> I'm trying real hard to figure out how you came about the idea of using
>> sqrt(), so I'll take my pen and paper and work some examples to
>> understand why this should work.
> 
> I remember why now. The circumference of the circle which passes through
> a point x on the X-axis is, of course, 2*pi*x^2 (two pi r squared).
> Since, according to this function, the radii of the circles grows at a
> squared rate as x gets bigger, you need to take the square root of x to
> get even randomness. This spreads out the random points in the correct
> manner. 

Put that way it's easier to understand, I will still prove it to myself (
hehe they use to do just that in math class: you always had to prove your
answers ) 
 
> Before you try to understand that, though, make sure you understand what
> the problem is in the first place with *not* taking the square root.

This part is easy to understand.

Thanks again

-- 
Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA


Post a reply to this message

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