pouët.net

Go to bottom

JS1k, 1k Javascript demo contest

category: code [glöplog]
inopia, it's dead slow on my pc :-(
Same here but still, AARDBEI!
added on the 2010-08-11 12:12:56 by cg_ cg_
rasmus: have you tried Chrome or FF4?
added on the 2010-08-11 12:20:47 by Inopia Inopia
Inopia: Don't know about fissefisserasmus but running in chrome here.
added on the 2010-08-11 12:38:59 by cg_ cg_
@cg_: no clue then. Running smoothly here on a dual core 1.66Ghz, Ubuntu 10.4, Chrome. Slower but still watchable on FF3.6 though, very slow on Opera 10.6. Works perfectly on pretty much anything I've tried it on, including Windows7 + IE9 beta (which is another thing you could try if you're running windows).

Maybe your browser isn't using hardware acceleration to do the image drawing primitives? If you're running lunix, do you have hardware acceleration enabled? Can't really think of anything else.
added on the 2010-08-11 13:01:28 by Inopia Inopia
Woah, good presentation Inopia :O
added on the 2010-08-11 13:08:26 by mrdoob mrdoob
Thanks trace, although I'm not sure anyone will be able to beat this.
added on the 2010-08-11 13:15:15 by Inopia Inopia
inopia, i'm using chrome on windows.
og hej erik :)
inopia, slow but watchable here (i7 2.80ghz, win7 x64 + Chrome or FF3)... pretty cool may i add!
added on the 2010-08-11 13:35:44 by Jcl Jcl
I think only IE9 has hardware acceleration for these operations.

It runs smoothly here in Chrome/Ubuntu 10.4 too. Maybe rasmus & cg are using running Chrome/MacOS which is, unfortunately, very slow.
added on the 2010-08-11 13:35:56 by mrdoob mrdoob
Oh, maybe they are not.
added on the 2010-08-11 13:36:18 by mrdoob mrdoob
Inopia: Are you in the Dev (Unstable) channel? As far as I know, they are pushing HA there.
added on the 2010-08-11 13:37:36 by mrdoob mrdoob
@Inopia: dual core 1.99ghz, windoze xp

It's at work though will have a lookise at home in either ubuntu or w7 ;)

raaaaaasmus <3
added on the 2010-08-11 13:49:18 by cg_ cg_
The radial blur is recursive, like the one in TPB-3. Every frame there's 16 full-size calls to drawImage, each slightly translated and scaled. Without hardware acc. this could be slow. That's the only explanation I can think of really.

trace: I'm using Chrome 5.0.375.125 (normal), FF 3.6.
added on the 2010-08-11 13:50:08 by Inopia Inopia
inopia, aren't they all? :)
rasmus: try IE9 then, might make a difference.
added on the 2010-08-11 14:46:49 by Inopia Inopia
FWIW Inopia's entry was smooth as a baby bottom in Opera 10.61 ( coming soon ) and 10.70
added on the 2010-08-11 14:54:43 by p01 p01
p01's entry was the editor's choice at http://www.qbn.com/
It even reached qbn. That's interesting :)
added on the 2010-08-11 16:10:29 by mrdoob mrdoob
mr. doob gets a mention too. Nice scene domination there :)
added on the 2010-08-11 16:12:18 by psonice psonice
Mhh... Although I feel it's because "name voting". Time to create yet another name ;)
added on the 2010-08-11 16:56:22 by mrdoob mrdoob
trace: you are gonna end up with severe personality disorder :D
added on the 2010-08-11 17:42:09 by Jcl Jcl
Inopia is back! :D
added on the 2010-08-11 18:48:23 by Rob Rob
I've been able to compress my snowman shit a bit more, about 200 bytes less to 680 bytes. Unfortunately it is much slower, so I'm not going to send it to js1k.

It has been a lot of fun, I never thought there were that big amount of space in 1kb in Javacript.

So, thinking that there is enough room for more than one effect in 1kb, who is going to do the first multi-effect for js1k?
added on the 2010-08-12 06:42:27 by texel texel

login

Go to top