POV-Ray : Newsgroups : povray.binaries.images : seven arms : Re: seven arms Server Time
14 Nov 2024 10:18:51 EST (-0500)
  Re: seven arms  
From: triple r
Date: 15 Aug 2009 10:45:01
Message: <web.4a86c937fa341737958421d50@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote:
> The other thing to note is that even when you fix this, your algorithm still
> gives a cluster at the centre of the circle, but the reason for this is
> categorically mathematical :o)

This document has a couple solutions, right around pages 12-13 (not to mention a
lot of other useful stuff!):

http://www.cs.kuleuven.be/~phil/GI/

In short, to get around the problem use a random angle and a random radius, but
take the square root of the radius before you use it, i.e.:

translate <50*sqrt(rand(rnd_tree)),0,0>

 - Ricky


Post a reply to this message

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