Also nice to see mrdoob on there. I like his canvas experiments.
JS1k, 1k Javascript demo contest
11–20 of 20 posts
Re: JS1k, 1k Javascript demo contest
#12Wow, big fan of http://js1k.com/demo/15 Also nice to see mrdoob on there. I like his canvas experiments.
Re: JS1k, 1k Javascript demo contest
#13Looks 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.
http://news.ycombinator.com/item?id=1227936
As I understand it, the trig calls are just to establish the camera position and direction. The rest of the calculation (the two inner loops) is marching along a ray to find a depth value.
Re: JS1k, 1k Javascript demo contest
#14Looks 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.
Re: JS1k, 1k Javascript demo contest
#15Looks 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.
Re: JS1k, 1k Javascript demo contest
#16Re: JS1k, 1k Javascript demo contest
#17My first version was about 990bytes, my second did the same stuff in 934. I then spent about 6 hours trying to squeeze a blur routine into the last 90 bytes. I've now got everything I want in and I've got 8 bytes to spare.
Of course, now I'm wondering what I can get into those last 8...
I've only just submitted the last verion (with blur) so it's not on yet but the previous one is here: http://js1k.com/demo/59
Re: JS1k, 1k Javascript demo contest
#18"4. Must work on current fx, sa, ch and o. (Let's level the playing field)"
Re: JS1k, 1k Javascript demo contest
#19Can somebody please explain rule #4 to me? Thank you. "4. Must work on current fx, sa, ch and o. (Let's level the playing field)"
Re: JS1k, 1k Javascript demo contest
#20I love this stuff.