Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Remnants by Alcatraz - similar 256-byte MS-DOS demo - youtube link included: https://www.pouet.net/prod.php

I think this one is more impressive for being in Javascript, which often has worse density than 16-bit x86 machine code.



I think the correct link is: https://www.pouet.net/prod.php?which=96536 The source code is also included


I'm a moron. Somehow I read "width" and deleted the irrelevant parameter because people have different screen sizes and the site should auto-detect instead of using my one.


'Spongy' does something similar in 128 bytes, half the size.

https://www.pouet.net/prod.php?which=53871

http://www.youtube.com/watch?v=36BPql6Nl_U

The name comes from the 'Menger Sponge' fractal it's based on:

https://en.wikipedia.org/wiki/Menger_sponge


Not necessarily worse density - variables are 1 byte names vs 2+ byte load instructions (often 3).

But the thing that gives JS a huge advantage here is the “standard (dweet) library” which has sin/cos/fill/line etc whereas x86 bios has “switch mode” and then it’s just a pixel array.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: