Tuesday, 16 December 2008

What can you Write in 128 Bytes?

In contrast to the ever increasing memory available, a number of programmers are choosing to demonstrate their coding prowess by squeezing as much as possible into an incredibly tiny program. It has become a popular passtime to code an impessive graphical display in either 128 or 256 bytes.

Before zooming off to try this for yourself, why not check out some of the competition? Five of the best are listed below, and also my own contribution.

OKOOKO by Ind. The coloured rings sway gently. Good use of colour.
InterferenceInterference by New Generation Crew. A fast moving interference pattern between two sets of rings. Supplied with source code.
CtvereckyCtverecky by RRRola. A chaotic, spiralling pattern. Only 93 bytes long. Supplied with source code.
CorkscrewedCorkscrewed by lord Kelvin - a smooth, gentle swirl slowly draws you in. Great use of colour. Supplied with source code.
Color DreamColor Dream by Digimind - a chaotic looking swarm of spheres. Impressive in motion.
Plasma WavePlasma Wave by John Metcalf - my own contribution. A display of flowing plasma. Supplied with source code.
If there's a program you think I should have included, or you want to show off your own demo, please leave a comment below.

7 comments:

Shashank said...

Cool... Im a stumbler, and I liked your blog! Im adding your blog to my favorites!!

-Shashank
http://shashankrlz.co.nr
(My technology blog)

Anonymous said...

All 128b intros submitted to pouet.net:

http://www.pouet.net/prodlist.php?type%5B%5D=128b&order=&page=1&order=&x=12&y=7

Cristian said...

And where is the source code?

John | English Wilderness said...

Hi Cristian,

The screenshot links to the Pouet page. If you download the zip files, some of them contain asm source.

John

L. Venkata Subramaniam said...

I guess the old microprocessor programmers (8085 and 8086) will be able to appreciate this.

But even today, those programming for embedded devices, have to be very smart in terms of memory usage.

Algorithm Share said...

This is so cool. Didn't know such things could be created with such small code. it's also nice to have a historical review of programming such as this site. Great work!

Aywren said...

This post has been featured on my blog's Sunday Spotlight. Thank you for a great post!

Post a Comment