Subject: Re: [stella] incoming source From: Thomas Jentzsch <tjentzsch@xxxxxx> Date: Sat, 11 Dec 2004 09:52:25 +0100 |
Lee wrote: > Neat random number generator. It's called a Linear Feedback Shift Register (LFSR) and is pretty standard. Check this http://www.ece.cmu.edu/~koopman/lfsr/ web site for values generating maximum length sequences. > I was curious how random the output could be, so attached is a web > page that shows the output of the routine. I only meant for it to > be for personal use, but the routine was so short and sweet that I > ended up practicing some CSS junk on it and decided to share it. :) Nice, and works with Opera too. :-) Acutally, for maximum length terms, the seed is quite irrelevant, because it only defines where the sequence should start. Any value != 0 works. An 8 bit LFSR should repeat after 255 iterations. IIRC correctly, Glenn posted a nice demo here a few years ago. Have fun! Thomas _______________________________________________________ Thomas Jentzsch | *** Every bit is sacred ! *** tjentzsch at web dot de |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] incoming source, Manuel Rotschkar | Thread | RE: [stella] incoming source, Dennis Debro |
RE: [stella] incoming source, stella | Date | RE: [stella] incoming source, Dennis Debro |
Month |