Lava Lamp Random Number Generator

posted Jun 5th 2005 10:00am by Eliot Phillips
filed under: misc hacks

lava lamp

That title is really misleading; this hack doesn’t require a lava lamp… anymore. I initially went googling for a 1996 project at SGI that generated random numbers by taking photos of a lava lamp. The lava lamp was chosen because of its chaotic nature. I was suprised to find that SGI had patented/trademarked the lavarandtm technology. The system required you to use IRIX, took up a lot of space, and because of patents wasn’t easy to implement. In 2000 the engineers behind the original decided to develop an open source alternative know as LavaRnd (note the capital “L” and “R” ;-). This iteration doesn’t use a lava lamp. Its source of chaos is camera with the lens cap on. The gain on the CMOS sensor is cranked all the way up to create a really noisy image. The image data is then sent through an algorithm to generate the random numbers. If you want to see the original project you’re going to have to ask the Wayback Machine.

Recent Posts



Reader Comments

Leave a Reply

Hack a Day serves up fresh hacks each day, every day from around the web and a special How-To hack each week.

Send us your hacks











Hacks

Resources

RSS newsfeeds

Powered by WordPress

Most commented on (30 days)

Recent comments