Re: [stella] incoming source

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

Check this 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 Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |

Current Thread