Live data from Hacker News

JS1k, 1k Javascript demo contest

js1k.com

1–10 of 20 posts

Re: JS1k, 1k Javascript demo contest

#4
post #2

Looks like a burgeoning Javascript demoscene. Good luck to everyone who wants to top the 284 byte ray marcher, though: http://www.p01.org/releases/512b_jspongy/ It runs super slow on Firefox, it does much better in Chrome.

That is really impressive. I wish the guy would release some notes about how he did it, or what his code means...

Edit: I started looking into it. He does some really bizarre things, like having all of his assignments and statements in the parens of a for loop, assigning Math.cos to $, and some tricky bit ops. Unfortunately, I don't think I understand the math well enough to totally understand it.

Re: JS1k, 1k Javascript demo contest

#8
I can't tell you guys how happy this makes me, it is the kind of programming that I really think should be done more often because it really makes you a better programmer to be able to work within such a restrictive environment.

Some of the demos are absolutely stunning for their size. I'm more and more convinced that javascript will be the dominant 'starter' language for new programmers in the future and these small programs are just the right size for enthusiastic kids to pry apart and learn from.

Re: JS1k, 1k Javascript demo contest

#9
post #2

Looks like a burgeoning Javascript demoscene. Good luck to everyone who wants to top the 284 byte ray marcher, though: http://www.p01.org/releases/512b_jspongy/ It runs super slow on Firefox, it does much better in Chrome.

Hopefully, http://js1k.com/demo/49 will top JSpongy ;)

This time I wrote a Quaternion Julia fractal raymarcher using the Hubbard-Douady distance estimation and tried to wrap the all thing with a nice design.

Hope you like this first entry to JS1K and appreciate the efforts.

PS: It works at a good 20fps in Firefox on my 2yo machines.

Post reply on HN