POV-Ray : Newsgroups : povray.off-topic : Interesting dice problem : Re: Interesting dice problem Server Time
6 Sep 2024 03:16:55 EDT (-0400)
  Re: Interesting dice problem  
From: Slime
Date: 15 May 2009 02:42:50
Message: <4a0d0eea$1@news.povray.org>
>  Adding random numbers doesn't give an even distribution.

I think the distribution is even after the modulo. The probabilities of 0 
through 5 are the opposite of the probabilities of 6 through 11, so when you 
treat the 6 as a 0 and the 11 as a 5, it evens out.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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