256b JavaScript demos

Everybody that has a fascination with computers and programming will have seen “demos”; programs intended to show off some cool graphics that are supposed to be the cutting edge of what’s possible in that specific language. I personally particularly like size-restricted demos, which do some really cool stuff in the least number of bytes possible. Most of such demos choose a power of 2 for the size limit, particularly as 256 bytes, 1Kb, 4Kb, or 64Kb.

I’ve been working on a browser demo, written in JavaScript and HTML, for quite a bit now. I’m hoping that at some point I can combine all the “scenes” I created into one coherent demo. Until then, here are two small 255 byte demos to have a look at:

I got the idea for these from two other 256b JavaScript demos by bonz and shr respectively.

These have been tested with various browsers and seem to work on all but FireFox 2.

1 Comment to “256b JavaScript demos”

  1. Tyler Oderkirk
    September 4, 2008

    These produce no output in my Firefox 3.0.1 on Linux.
    —snip
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1)
    —snip

    They run great simultaneously in their own tabs in Google Chrome 0.2.149.27 on Windows XP however.

    Thanks for sharing,

    -Tyler

Leave a Comment

*

*