in reply to Randomly biased, random numbers.
I think it might be worth trying polar coordinates, so that each new point is a random distance and direction form the last. Then you can tweak your distance distributions to suit your purpose. If you need to restrict the total area, you could wrap the 2d space or just ignore any points that fall outside.
Math::Trig has handy polar conversion functions, so it would be easy to give it a try.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Randomly biased, random numbers.
by BrowserUk (Patriarch) on Dec 06, 2013 at 00:46 UTC | |
by RichardK (Parson) on Dec 06, 2013 at 11:32 UTC | |
by BrowserUk (Patriarch) on Dec 06, 2013 at 18:54 UTC |