p01 information 5252 glöps
- general:
- level: user
- personal:
- first name: mathieu
- last name: henri
- portals:
- demozoo: profile
- cdcs:
- cdc #1: Flip-O-Demo by Oxygene [web] & Diamond Design
- cdc #2: Ooh Crikey Wot A Scorcher by The Lost Boys
- cdc #3: Blood by Holocaust [web]
- cdc #4: Cuddly Demos by The Carebears [web]
- cdc #5: The Union Demo by The Union
- cdc #6: Fantasia by Dune & Sector One [web]
- cdc #7: Flashback by The Carebears [web]
- wild Wild The Hardware Chiptune Project by Kryo [web]
- GREAT!
AFAIR gwEm did something similar for the Wild compo of Outline 2oo6 - rulezadded on the 2007-05-23 09:56:34
- demo MS-Dos tao by Satori [web]
- rulezadded on the 2007-05-21 23:47:27
- demo PHP Spinning Jenny by Kryo [web]
- ok. Just had a look at the code. Cool, I didn't know about the Content-Type: multipart/x-mixed-replace.
Why is there 2 ob_flush(); flush(); ? Shouldn't one be enough ? According to the comments on php.net this streaming techinque works at least in IE 6, FF 1.0 and Safari 2.0 - isokadded on the 2007-05-20 14:17:04
- demo PHP Spinning Jenny by Kryo [web]
- it's more along the lines of using Amiga instead of Atari.
- isokadded on the 2007-05-20 13:18:34
- 64k JavaScript redbug by Shingebis
- and check other JS prods. It's no longer a slow vector balls, simple scroller and proprietary effects show.
- isokadded on the 2007-05-20 11:40:23
- demo PHP Spinning Jenny by Kryo [web]
- using Flash or DHTML you'd have achieve full frame rate, and music.
Thanks for providing a kkapture :) what do yo mean by streaming the images. Is the connection kept open and the images flushed to the client ? also wouldn't it be a bit faster using PNGs ?
- isokadded on the 2007-05-20 11:26:21
- demo Windows Tengomenas by Traction [web]
- rulezadded on the 2007-05-20 04:38:18
- 256b JavaScript JS Kefrens Bars 256b by Clash
- Sorry. FWIW the page is only ruined in IE :p
Good catch with the b=0. Going one step further leads to b=i=90 which allows to use a 49 bytes image \o/ - isokadded on the 2007-05-19 22:22:10
- 256b JavaScript JS Kefrens Bars 256b by Clash
- Skate:Thanks.
Sure JS, and web standards in general, have lots of limitations making it non trivial to do demo coding. But it's a fun challenge.
The version I mentionned above( 210b of JS/html + XXb for the image ) :Code:<body bgColor=0 id=B><script>setInterval("b='';i=90;S=Math.sin;while(i--)b+='<img src=i style=position:absolute;width:6%;bottom:0;height:'+i+'%;left:'+(46+32*S(A+=88)*S(A+i/6))+'%>';B.innerHTML=b",A=9)</script>
The no image version ( 256b of JS/html ) :Code:<body bgColor=0 id=B><script>setInterval("b='';i=90;S=Math.sin;while(--i)b+='<p style=\"position:absolute;background:red;border:outset red;width:6%;bottom:0;border-width:0 9;height:'+i+'%;left:'+(47+36*S(A+=88)*S(A+i/6))+'%\">';B.innerHTML=b",A=9)</script>
/!\ pouët's comment parser, introduces undesired whitespaces, line breaks and badly split html entities breaking the code. - isokadded on the 2007-05-19 15:35:35
- 256b JavaScript JS Kefrens Bars 256b by Clash
- Another option, is to get rid of the image and use a tag with a background color + left/right borders. It's not difficult to fit that and a black bg in 256b.
- isokadded on the 2007-05-19 14:22:54
account created on the 2000-07-30 00:31:20
