View Single Post
Old 12th January 2011, 17:48   #86  |  Link
pbristow
Registered User
 
pbristow's Avatar
 
Join Date: Jun 2009
Location: UK
Posts: 263
Nice one, jmac698! (I haven't tested it, but it the idea is a good one and the implementation looks OK to me).

For a more realistic distribution of the jitter, try changing:
rand(6)
to:
rand(2)+rand(2)+rand(2)

That should give a roughly gaussian distribution over the the range 0 to 6 (average 3, standard devation around 1-ish).


Last edited by pbristow; 12th January 2011 at 17:50.
pbristow is offline   Reply With Quote