Waxy.org
Waxy.org is the sandbox of Andy Baio, a journalist/programmer living in Portland, Oregon. I'm the CTO of Kickstarter, created Upcoming.org, and some other stuff too.

Contact Me: log@waxy.org or waxpancake on AIM

Mooncheese, Old-School Graphic Demo in Pure DHTML/Javascript

Posted Aug 9, 2004

The Assembly demo party in Helsinki is one of the largest geek gatherings in the world, where thousands converge to watch and compete in graphic demo competitions. (View the panorama photo from last year's event, with over 5,000 attendees.)

This year, the winner of the "Browser Demo" category was Mooncheese, written in pure Javascript and DHTML. Several classic real-time demo effects are represented, such as copper bars, tunnels, voxels, Mandelbrot zooms, and various vector effects. In Javascript!

You can view the Mooncheese demo mirrored locally on my server, or download the source locally.

It works well in Firefox 0.9 and Internet Explorer 6, but not Safari. Read the release notes for more information.

13 Comments (Add Yours)

Aug 9, 2004
3:54 PM  
Michael wrote:

That is so cool!

Now all I want to see is a Second Reality remake in JS! :P


Aug 9, 2004
5:16 PM  
Ilya Haykinson wrote:

I think it'll still be a while before something of Second Reality's magnificence, given the fact that this little demo was keeping my CPU steadily at 100% :-)

But it's really impressive nevertheless.


Aug 9, 2004
6:10 PM  
Smackfu wrote:

Heh, that sure does remind me of old-school demos: it didn't work right. Firefox just showed a black screen after loading and IE managed not to load all of the images so I got neato animated placeholder boxes moving around.


Aug 10, 2004
2:48 AM  
Milo wrote:

Cool, but ridiculously oversized at 3.6MB: almost every scene consists of pre-rendered pngs. Honestly, 179 pngs to show some copperbars? Could've at least generated them with css border styles instead...


Aug 10, 2004
3:01 AM  
Mathieu 'P01' HENRI wrote:

Indeed, pretty cool. But to avoid the many problems of preload, one must download the sources and run it locally. The demo as a whole is nice, but the effects seems slow and badly optimized ( in term of execution speed and size ). Now I suppose that after moaning like I just did, I'll have to release a complete demo in DHTML. ^___^


Aug 10, 2004
8:19 AM  
Andy Baio wrote:

In Firefox, you may need to select "No Sound" to get it to work.


Aug 10, 2004
1:54 PM  
Shingebis wrote:

Woo, I'm famous :-)

As far as optimisation goes: the size limit in the competition was 5Mb, so size optimisation wasn't really my priority - no reason to compromise the eye-candy for the sake of practicality. We've got the 5K competition for that - well, when it isn't in limbo anyway.

Speed optimisation - hmm, possibly. This is the first time I've implemented proper 3D algorithms on any platform, so I may well have missed a trick or two. The strange thing about Javascript, though, is that the hard number-crunching takes up comparatively little time in comparison to the pixel-pushing. Anyway, Mathieu... yes, you certainly will :-)

Incidentally, the demo will grab as high a frame rate as it can (up to a maximum of 50fps), so 100% CPU usage is to be expected.


Aug 11, 2004
11:23 AM  
Andrew Wooldridge wrote:

This is great stuff! I'm going to show this to the folks at mozilla.org and see if they can use it as a benchmark for dhtml...

Anyway, if you are looking for like minded folks - there are many folks doing pure javascript and dhtml demoscene kinda stuff here:

http://www.ozoneasylum.com/

For instance someone created a wolfenstein-style raycasting engine, and there's some 3d metaballs, etc.


Aug 25, 2004
1:15 AM  
darren wrote:

as a follow up:

tomorrow (thurday august 26th) is "art night" here in helsinki. there is something on that is related to the assembly demo party:

"IT AND ART
Computer music and graphics demos and a mood-lit room with background music made up of the most peculiar ring tones. Demo team rep to answer questions. Note! Doors close at 6.45.
WTC • ALEKSANTERINKATU 17 •6 to 7.30 pm "

i'm hoping to have a look and take some pictures.

dw


Sep 4, 2004
7:56 AM  
samrolken wrote:

Over a dialup connection, no music, in Firefox 0.9 on Windows, I get nothing but moving image placeholders.


Sep 10, 2005
3:19 PM  
Mathieu 'P01' HENRI wrote:

To follow up, the Assembly'05 was great.
Shingebis released REDBUG and I released NEJA ( watch it in FF ).


Oct 3, 2006
6:21 AM  
Chris wrote:

Well - I tried running Redbug on Win XP, IE6, P3-1000 machine, and after about 10 seconds the PC powered-off. On reboot I got a prompt saying overclocking failed, F1 for setup, F2 to continue. I chose F2 and got a disk-read failure message. I rebooted again, and then about 5 seconds into the reboot, before any text was displayed, the PC powered down again. And now I'm here searching for answers. I hope this was purely a co-incidence, but something makes me wonder...


Oct 3, 2006
6:36 AM  
Chris wrote:

Correction. P4-3000. I am thinking the BIOS has been reset and now my boot configurations are wrong. I've seen a similar message before, including NTLDR is missing - which is probably because it's booting to the wrong drive (one of the IDEs instead of the SATA)... but I don't recall the correct configuration.

Whatever. Nasty side-effect, I'll say - maybe it just exposed a hardware bug on my PC. shrug.


 

Leave a comment





Waxy Links
Ads via The Deck
November 7, 2009
NYT visualizes the unemployment rate for different demographics — 48.5% of young black men without a high school degree; 3.6% of college-educated white women over 25
November 6, 2009
Another World level ported to Javascript — in other emulation news, a NES and Gameboy emulator in JS and SNES9x ported to Flash (via)
Blocktronics' ANSI art tribute to RaDMaN — powered by Viewtronics, Peter Nitsch's gorgeous new Flash 10 ANSI viewer (via)
Aaron Straup-Cope leaves Flickr, joins Stamen Design — one of my favorite geeks joins one of my favorite companies
Unreal Engine 3 development kit now free for non-commercial use — huge announcement, along with the recent free release of Unity Indie
The Big Picture's series on Martian landscapes — Kai's Power Tools in real-life (via)
November 5, 2009
Preview of McSweeney's Panorama, their one-shot newspaper — as expected, looks incredibly great (via)
The Grant-Pattishall Award — congrats, Kellan! (via)
Birdhouse for Your Soul — Greg Knauss finds one small piece of the historical web
Google open-sources Closure Tools — JS compiler, along with Google's huge widget library (via)
Video montage of actors speaking the movie's title — great comments with some missed opportunities; "You talkin' to me? You talkin' to The Taxi Driver?"
The Morning News' Cloud of Atlases — impossible to guess, but look at all the pretty colors
American Airlines fires UX designer for explaining why their UX isn't great — a lapse of judgment from both American Airlines and an employee who cared too much
November 4, 2009
Overheating, photo series of gadgets thrown through walls — from issue 6 of Amusement, the incredible French gaming culture magazine (via)
Ricardo Autobahn's The Golden Age of Video — insane pop culture video mashup
November 3, 2009
The Last Days of Gourmet — sad photo series, reminds me of the dot-com carnage photos
Put This On — first episode of Jesse Thorn and Adam Lisagor's Kickstarter-funded video series on clothing
Jono Bacon's The Art of Community released for free download under CC license — looks fantastic and worth buying (via)
Eric Testroete's papercraft portrait Halloween costume — incredibly creepy, like videogames leaking into the real world (via)
November 2, 2009
Mark Pilgrim's history of the IMG element — told through annotated conversations from 1993 (via)
Every vandalism edit to Nickelback's Wikipedia page — I wonder which edits managed to stay in the longest without detection
November 1, 2009
Mike Pusateri's Halloween costume data collection — for the fifth year, he's collected every costume name; this year, "nothing" spiked to #2
XKCD's movie narrative charts — here's a more serious attempt at Primer's timeline
October 30, 2009
GameCity Squared's 15-Pixel Megamix — extremely minimalist interpretations of 12 different games
October 29, 2009
Lauren McCarthy's Happiness Hat — it measures your smile and stabs you if you're not smiling sufficiently (via)
October 28, 2009
Auto Tune de Nieuws — needs an angry Dutch gorilla
Facebook prank memorializes living person — the Facebook team should allow an email veto, or at least require better documentation (via)
2D Boy's pay-what-you-like World of Goo results wrapup — don't miss the breakdown by OS and country (via)
FreeForm's short film on the Open Internet — impressive set of interviewees, directed by Jesse Dylan of Yes We Can fame
Using Flickr as a paintbrush — coloring overhead maps based on the dominant colors of photos taken on the ground (via)

Andy Baio lives here. Some rights reserved, for your pleasure.