pouët.net

JS1k, 1k Javascript demo contest

category: code [glöplog]
javascript is the new pascal.
added on the 2010-08-07 19:54:58 by xernobyl xernobyl
It's SO slow on htc desire's webkit. But it does work!
added on the 2010-08-07 20:06:34 by Jcl Jcl
[ej]: Hey, glid you like it. Although I'm sure it was already done in that 256b contest 8 years ago ;)
added on the 2010-08-07 23:28:38 by mrdoob mrdoob
glid=glad
added on the 2010-08-07 23:28:55 by mrdoob mrdoob
Dude, glid sounded so much better
Ah, nice stuff. You're probably right, rasmus. Haha.
added on the 2010-08-08 09:57:26 by velusip velusip
So... in a bit more than a week, this contest has received about 180 entries.
added on the 2010-08-09 19:40:00 by mrdoob mrdoob
Am I the onlyone who is not impressed?

We've did more impressive things on a 486 back a decade or so...

added on the 2010-08-09 19:49:22 by torus torus
Well, probably in your country the parties have more and more submissions, but in mine parties have less and less submissions. Even less and less parties.

So, nowadays, a demo-like contest that receives so many entries in one week impresses me.

But yeah, of course, you guys did much better things in 486 and Amigas, lets tell the kids that they are wasting their time. Lets tell them to go back to facebook.
added on the 2010-08-09 19:56:16 by mrdoob mrdoob
Actually, I don't know why I even answered to someone using the minimalanimal icon :)
added on the 2010-08-09 19:58:27 by mrdoob mrdoob
The compo page loads so slow now, i guess it`s getting popular. Any cool stuff besides the ones the demoscene dudes have made?
added on the 2010-08-09 20:29:33 by Zplex Zplex
trace, that is the default Icon that I got at my registration...

Anyway...

BB Image
added on the 2010-08-09 21:34:18 by torus torus
@p01: I've just submitted the code below. Could you tell me why it is working that shitty on Safari? Thanks.

var m=Math,v=A=w=300,T,e,o,u=[],n=10,l=[0,725,0,645,0,0,-67,0,52,0,0,26,0,81,0,-19,-85,45,n,w,19,-85,45,n,w,0,-72,53,n,110,0,-n,69,n,w,0,15,76,n,w,0,39,76,n,w];d=document;k=d.body.children[0];k.height=w;T=k.getContext('2d');e=T.getImageData(0,0,w,w);o=e.data;setInterval("for(p=0;p<w*w;)o[p*4+3]=u[p++]=0;a=m.sin(v++/9)/6+6;b=-A/w;h=m.sin(a);H=m.cos(a);S=m.sin(b);C=m.cos(b);for(n=0;n<45;){x=l[n++];y=l[n++];z=l[n++];R=l[n++];D=l[n++];r=y*h+z*H;X=(x*C-r*S+w/2)>>.5;Y=(y*H-z*h+w/2)>>.5;Z=x*S+r*C+w;j=(X+R>w)?w:X+R;for(i=Y-R;i<Y+R;i++)for(q=(R<X)?X-R:0;q<j&&i<w;q++){b=i-Y;b=R*R-b*b;a=q-X;a*=a;if(a<b)if((c=m.sqrt(b-a)+Z)>u[p=i*w+q]){if(D)o[p*4+3]=(Z-c)*99/R+D;u[p]=c}}}r=20;for(y=r;y<w-r;y++)for(x=r;x<w-r;)if(u[p=x+++w*y]){for(Y=y-11,B=o[F=p*4+3];Y<5+y;Y+=6)for(X=x-12;X<4+x;X+=6)if((h=u[Y*w+X]-u[p])>3)B+=(h<r)?h:r;o[F]=(B>255)?255:B;}T.putImageData(e,0,0)",9);d.onmousemove=function(e){A=e.clientX-w}
added on the 2010-08-10 07:38:56 by texel texel
Code:var m=Math,v=A=w=300,T,e,o,u=[],n=10,l=[0,725,0,645,0,0,-67,0,52,0,0,26,0,81,0,-19,-85,45,n,w,19,-85,45,n,w,0,-72,53,n,110,0,-n,69,n,w,0,15,76,n,w,0,39,76,n,w];d=document;k=d.body.children[0];k.height=w;T=k.getContext('2d');e=T.getImageData(0,0,w,w);o=e.data;setInterval("for(p=0;p<w*w;)o[p*4+3]=u[p++]=0;a=m.sin(v++/9)/6+6;b=-A/w;h=m.sin(a);H=m.cos(a);S=m.sin(b);C=m.cos(b);for(n=0;n<45;){x=l[n++];y=l[n++];z=l[n++];R=l[n++];D=l[n++];r=y*h+z*H;X=(x*C-r*S+w/2)>>.5;Y=(y*H-z*h+w/2)>>.5;Z=x*S+r*C+w;j=(X+R>w)?w:X+R;for(i=Y-R;i<Y+R;i++)for(q=(R<X)?X-R:0;q<j&&i<w;q++){b=i-Y;b=R*R-b*b;a=q-X;a*=a;if(a<b)if((c=m.sqrt(b-a)+Z)>u[p=i*w+q]){if(D)o[p*4+3]=(Z-c)*99/R+D;u[p]=c}}}r=20;for(y=r;y<w-r;y++)for(x=r;x<w-r;)if(u[p=x+++w*y]){for(Y=y-11,B=o[F=p*4+3];Y<5+y;Y+=6)for(X=x-12;X<4+x;X+=6)if((h=u[Y*w+X]-u[p])>3)B+=(h<r)?h:r;o[F]=(B>255)?255:B;}T.putImageData(e,0,0)",9);d.onmousemove=function(e){A=e.clientX-w}
added on the 2010-08-10 07:39:36 by texel texel
Texel: woohooo SSAO snowman is back. Yup it works cross browser. Pouet FUBAR'ed the code ( insert spaces and even break HTML entities )

Rasmus: it is indeed.

My favorite entry remains the #6 and its update with "hypnoglow"
added on the 2010-08-10 11:43:47 by p01 p01
texel wins!
added on the 2010-08-10 13:09:49 by xTr1m xTr1m
I tried to fit a chessboard zommer in under the 'tweet'-limit (140 bytes). Failed miserably (203 bytes) but I sumbitted it anyway. Maybe I'll start over with something new.
added on the 2010-08-10 14:54:52 by Sdw Sdw
Shameless plug

http://js1k.com/demo/250
added on the 2010-08-11 10:37:39 by Inopia Inopia
Sweet :)
added on the 2010-08-11 10:43:13 by p01 p01
p01: your shit is impressive, sir
added on the 2010-08-11 10:44:21 by Inopia Inopia
Merci -_________-
added on the 2010-08-11 10:55:42 by p01 p01
Aardbei is BACK! But not 100% dutch colorscheme, so not optimal :)
added on the 2010-08-11 11:12:04 by Zplex Zplex

login