Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Programming

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?"
This discussion has been archived. No new comments can be posted.

Fantastic js1k Submissions

Comments Filter:
  • Hmm... (Score:5, Insightful)

    by Type44Q ( 1233630 ) on Tuesday March 26, 2013 @09:26PM (#43287481)

    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...

    • by MBCook ( 132727 )

      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.

    • Not JS, but if you are impressed by large results in small code you'll probably love this [archive.org] and maybe this [pouet.net]
    • The author of #1451 has a video of it on his blog [romancortes.com]. Oddly, it does appear to be working on my Browser (Chrome 26.0.1410.43 on Ubuntu 12.04 64-bit) but it is slower than the video and for some reason, the bee's wings don't show!

      Never the less, it's really impressive!
    • 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.

  • intersting (Score:5, Insightful)

    by prehistoricman5 ( 1539099 ) on Tuesday March 26, 2013 @10:07PM (#43287689)

    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.

  • Good demos, IMHO (Score:5, Informative)

    by girlinatrainingbra ( 2738457 ) on Tuesday March 26, 2013 @10:54PM (#43287907)
    Three-d city tour [js1k.com] and rebirth [js1k.com] 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 [js1k.com] is very pretty too.
  • by Ranx ( 28829 ) on Wednesday March 27, 2013 @03:57AM (#43289015) Homepage

    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.

  • by gatkinso ( 15975 ) on Wednesday March 27, 2013 @08:06AM (#43290211)

    Back in my day, we programmed with one bit... uphill... both ways.

    • 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!

It appears that PL/I (and its dialects) is, or will be, the most widely used higher level language for systems programming. -- J. Sammet

Working...