Fantastic js1k Submissions 70
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?"
Re: (Score:3)
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 [pastebin.com]. 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.
Re: (Score:2)
No doubt; I agree the schmeer oughta be on it's own somewhere. A simple post with link would then suffice, no?
But I was thinking of those links that led me to some places where I did more reading of a few things that I found useful or informative. Separating wheat from chaff was non-trivial, of course. "Time well spent" may've been an over-reach, but learn stuff I did. I think. Time stamp shows 0817; for me it was more oh-dark-thirty at the end of a very long day. And I did preface all by admitting 's
Gödel it up (Score:1)
Lets assign numbers to every nice app starting from one to 2^1024 and call a library for the tedious stuff..
Re:Uses massive libraries (Score:5, Insightful)
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.
Re:Uses massive libraries (Score:5, Funny)
Hear hear! I'll also be fucked by a pineapple!
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Your level of stupidity is truly groundbreaking.
Re: (Score:2)
The fact that a lot of the work is being done by the javascript language itself makes this somewhat less impressive.
The fact that IT IS done with only 1KB of javascript is even more impressive! If anything, it illustrates the power of javascript.
Hmm... (Score:5, Insightful)
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...
Re: (Score:3)
1451 is really pretty cool. It runs like a dog in Safari (0.5 FPS if lucky), but ran great for me in Chrome (probably closer to 20). It's very impressive.
I agree about the minecart. They did a fantastic job with that one as well.
Re: (Score:3, Insightful)
Re: (Score:1)
All browsers' 3D implementations aren't quite ready for prime time just yet; they are just lacking in different aspects.
Re:Hmm... (Score:4, Informative)
ah, Chrome just happens to be the only browser with a fast 3D renderer right now.
Are we talking about WebGL here? You know, the thing that is explicitly *disallowed* [js1k.com] in js1k demos?
Re: (Score:2)
Re: (Score:2)
No, I'm talking about 3D transforms, which are plain CSS3. Should've been more precise about that.
Ah, I see. But I still don't see demo #1451 using CSS3, it looks like all canvas to me.
Re: (Score:2)
My point still stands, though: It's not a slashvertisement to point out that Chrome happens to be faster than
Re: (Score:3)
Yeah, they should have to write their own OS in javascript in under 1k to qualify. And browser.
Re: (Score:3)
Re: (Score:2)
I'll check those out; thanks!
Re: (Score:2)
Don't forget Debris [pouet.net], which at a moderate 197kB beat a lot of multi-megabyte sized other demos at Breakpoint 2007...
Also, it comes with full source [github.com].
Re: (Score:2)
That is the best demo ever, another link : http://archive.org/details/Fr-041Debris [archive.org]
That they fitted the demo into 177KB is mind-boggling.
Re: (Score:2)
Never the less, it's really impressive!
Why did you put “programmed” in quotes (Score:1)
Are you one of these people who suggests JavaScript isn't a “real” language? Would it help to know that I have applications in production that service thousands of requests per second [nodejs.com], accessed through rich, stateful clients [angularjs.org] that are loaded once and talk to the server without reloading the page?
JavaScript is probably the most powerful, versatile, and accessible language around these days.
Errata. (Score:1)
That should be http://nodejs.org/ [nodejs.org] not .com.
Re: (Score:2)
Better yet perhaps some JavaScript to block egomaniacal social network ramblings about the wonders of the hosts file?
Re: (Score:2)
The spam for hosts files is >1K bytes.
Not sure what the big deal is just anonymous ftp to 10.0.0.73 every so often to get an update.
intersting (Score:5, Insightful)
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.
Re:does my java shortcut to start Doom III count? (Score:4, Insightful)
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 [js1k.com].
Put up or shut up.
Re: (Score:2)
Sure, if you want to be disqualified and made a laughingstock for not understanding simple rules.
Good demos, IMHO (Score:5, Informative)
:>)
Pac man in the park [js1k.com] is very pretty too.
Re:Not bad... (Score:5, Informative)
Furbee demo explanation (Score:5, Interesting)
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/ [romancortes.com]
Very interesting read.
Re: (Score:2)
Seems pretty obvious what it means: it is begging for someone to comment with that comment (exactly like the new definition for "begs the quest", which at least to my mind, makes way the frack more sense than the supposed correct definition). Read it the same way you would read "in before".
1kb??? (Score:3)
Back in my day, we programmed with one bit... uphill... both ways.
Re: (Score:1)
Back in my day, we programmed with one bit... uphill... both ways.
You mean one way uphill until you wrapped around the universe back to the bottom of the hill!