Fantastic js1k Submissions
An anonymous reader writes "With just five days left in the current competition to write an app in only 1kb of JavaScript, the submissions are becoming increasingly impressive. Take for instance a beautiful 3D animation drawing on a 2D canvas. Or a mine cart animation. If you wait long enough you'll actually get to caves! Can you manage to write a demo that fits on the hall of fame before the deadline closes?"
No luck with the demo #1451 (it errors out) but the "mine cart" is unbelievable. Never having "programmed" in javascript, I hadn't realized it was so versatile and powerful and certainly had no idea that 9,000 zeros and ones could go so far, even in such obviously skilled hands...
Slashdot devs seem in no hurry to fix this problem and it's been driving me nuts. So for anybody who values viewing at -1 and uses greasemonkey here's a Script. There's a chance of false positives and it's not the most optimized. But I value not having to scroll through > 10 paragraphs of APK, custom hosts files, or 'acceptable ads' spam.
As has been said, the minecart is amazing.
I was looking at some of the other ones, and I managed to break the ball drop one - once the ball goes beyond the bottom of the screen, it continues infinitely.
Fuck Beta
The fact that a lot of the work is being done by the javascript language itself makes this somewhat less impressive.
You shut your whore mouth. Did you look at the demos mentioned in the summary? There's a fucking a mine cart ride. It goes up and down while accounting for acceleration due to gravity. Some of the overhead lights randomly flicker. There's goddamn caves. With stalactites.
So go ahead and shrug it off if you're not interested. But I'll be fucked by a pineapple before I let you dismiss them as anything less than the accomplishments they are.
Three-d city tour and rebirth with the trees in it is pretty cool. That's really great to have a bunch of cool demos to examine for their source code and workings!
:>)
Pac man in the park is very pretty too.
Hear hear! I'll also be fucked by a pineapple!
"You can justify anything by putting it in quotes, adding a famous name and making it a sig" - Albert Einstein
Obviously not.
No externals
That means no linking, no including and so no using of any external resources. You are free to submit your 5 minute intro video or coffeescript interpreter in your submission though, as long as the server permits you to. And no, you may not use another submission in your submission. Your submissions should be able to be put in a single script tag (see the shim) and should work offline from the start.
I challenge any basher to produce something even half as cool as the minecart demo following the official rules.
Put up or shut up.
Required reading for internet skeptics
Assuming you're aware that comparing a 1k source to a binary is a pretty weak comparison I have to point out another thing. The himalaja demo uses DirectX 9 whereas these demos aren't even allowed to use WebGL. Demos like this might not be as impressive but the author had to calculate the lighting himself instead of just calling iCanHasLightSource.
Román Cortés has written a nice, detailed explanation of how he made his Furbee demo:
http://www.romancortes.com/blog/furbee-my-js1k-spring-13-entry/
Very interesting read.
Me
Back in my day, we programmed with one bit... uphill... both ways.
I am very small, utmostly microscopic.