Go to bottom

JS1k, 1k Javascript demo contest

category: code [glöplog]
I see your 1K ZX81 chess and 1K Javascript chess and raise you 1.5K chess in Befunge :-)
added on the 2010-09-28 14:44:14 by gasman gasman
New contest of js1k:


I'm part of the jury. Please, send something!

The current money prize is 400$ (the website shows 300$, but it has to be corrected). Not so much right now, but expect it to be higher at some point.

added on the 2011-03-06 00:00:47 by texel texel
Anybody submitting something for the 2013 edition? Deadline is March 31st
added on the 2013-03-13 09:13:30 by Inopia Inopia
Hulde voor je entry, inopia!
added on the 2013-03-13 09:30:15 by Rob Rob
Still haven't decided what to do, but yes, I'm in!

I've got two ideas but only time for one:
  • A "tool" similar to some other entries but with a different twist
  • [*] A "big gun" entry kinda like WOLF1K or the CHESS1K were.
added on the 2013-03-13 10:55:04 by p01 p01
I found that other people were using a compressor that does recursive global replacement. I wrote my own version of it and got another ~100 bytes to play with. New version: http://pastie.org/6470981

@p01: I'm looking forward to your entry. js1k needs more demoscene :D
added on the 2013-03-13 14:10:12 by Inopia Inopia
i'm divided to participate or not, don't have anything in my mind worthy of the effort right now. but if i get a nice idea and am too tired of working on other stuff, i guess i might.
added on the 2013-03-13 14:36:36 by psenough psenough
I'm sending something. Get ready :P
added on the 2013-03-14 00:16:11 by texel texel
Let's see which way Texel twists my arm with his entry. Man, knowing you I would hardly be surprised by some BeautyPi kind of thing.

Inopia: It's getting really nice! If you really run out of space you can always switch to a normal eval(_) ( instead of the global eval (1,eval)(_)
added on the 2013-03-14 10:04:57 by p01 p01
@p01: thanks! I think this version is the final though, I shaved off a few bytes but I don't really have any use for them atm. I used (1,eval)(_) because it's supposed to be slightly faster?

@texel: it'd better not be the umpteenth JS low-res raymarching toy :P
added on the 2013-03-14 10:34:12 by Inopia Inopia
added on the 2013-03-14 11:08:36 by __ __
1019 bytes, fixed the gaps between the polygons. I had to squeeze quite a bit before I could add the additional a.stroke and a.strokeStyle calls.


uncompressed: http://pastie.org/6495708
added on the 2013-03-14 18:33:26 by Inopia Inopia
Inopia: why don't you mix the color for and the line for in the same?
added on the 2013-03-14 20:07:29 by texel texel
@texel: haha, oh wow, missed that one :D
added on the 2013-03-14 21:18:52 by Inopia Inopia
great stuff as usual texel
added on the 2013-03-26 14:09:51 by psenough psenough
quite slow though, hope some browser devs use this example to optimize their stuff.
added on the 2013-03-26 14:10:46 by psenough psenough
now *that* is impressive texel. Brilliant work.
added on the 2013-03-26 14:28:33 by auld auld
texel: Nice iteration of the technique and spot on with the topic of the contest! Well done sir!
added on the 2013-03-26 14:29:30 by p01 p01
Aaawwh. Sweet ;)
added on the 2013-03-26 15:04:33 by raer raer
Texel: that's beyond cool!
added on the 2013-03-26 15:11:28 by ara ara
@texel: we have a winner :)
added on the 2013-03-26 15:43:42 by Inopia Inopia
Nice bee! :]
added on the 2013-03-26 20:49:01 by ham ham
That's excellent!
added on the 2013-03-26 21:01:33 by Rob Rob
Great bee.
added on the 2013-03-26 23:05:35 by xernobyl xernobyl


Go to top