How many Oldschool Demo Effects can we pack into 4K ?
A CODEF submission for the WAB Contest #1, released on June 30 2016
The WAB Contest #1 was launched in 2016 by NoNameNo, the author of CODEF and of WAB, its demo gallery. The main rule was the size: a single index.js file of 4 KB at most, minified or not, while the libraries, images, music and 3D models did not count. The canvas had to be 800 × 600, JavaScript files could only be loaded from the CODEF server, the entry had to run in at least two common desktop browsers, and one last rule closed an obvious loophole: “Do not store anything other than image into compressed PNGs to cheat ;)”.
The deadline was June 30th 2016, and 18 entries were published that day in the WAB gallery, by Ayoros, NewCore, SoLO, TotorMan, NoNameNo, Mellow Man and Frutbunn, and me. They were voted on by clicks on their posts, but no trace of the result remains, and there was never a second edition.
This screen is the oldschool one of my three entries: 16 classic demo effects in less than 4 KB of code, on the music “Lap 22” by Lap of NeXT, also heard in the Black Monolith Team screen of Punish Your Machine. The other two are a newschool screen and a 4K Sokoban.
Run it in your browser
- On Aldabase
- On WAB, the CODEF demo gallery (click “CLICK HERE” to start it)
More about it

