|
![](/i/fill.gif) |
Pete <Pet### [at] nym alias net> wrote:
: the code I posted *should* be *very* (pseudo) random.
Which algorithm does it use? Can you give some values, like standard
deviation, mean deviation and variance?
Or did you just came up with the algorithm by trying yourself? Sorry for
being sceptical, but as a student of computing science I know that making a
good pseudorandom number generator needs expertise and knowledge.
A generator made by "trying things" can give results that look quite random,
but when properly measured can be quite poor. (Of course I'm not saying that
a very good algorithm cannot be found by chance...)
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |