p01 information 5317 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]
- 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
- 256b JavaScript JS Kefrens Bars 256b by Clash
- Too bad the background isn't black. It sort of ruin the visual :\
Using the same image I managed to squeeze the fx ( it's flickering a bit in Opera, but perfectly fine in FF and IE ) into 244b and have a black background. Using another image I'm 2 bytes over the limit. Even when trimming the GIF.
Too bad position:fixed; is so slow/buggy in most browsers. It could really help for JS byte-tros.
Nice and dirty trick with the trimming of the GIF ;) - isokadded on the 2007-05-19 14:01:06
- 256b JavaScript Mandelbrot Rotozoom by Ribbon [web]
- Oh well, glad you like this tiny prod anyway.
- isokadded on the 2007-05-17 22:28:11
- 128b Commodore 64 I'm sorry by Limp Ninja [web]
- nice, but piggy
- isokadded on the 2007-05-17 11:59:04
- 512b Atari ST Ooma 2 by Ribbon [web]
- havoc: sorry, I didn't realized you were driving when I called you :\
- isokadded on the 2007-05-16 23:36:32
- demo Commodore 64 Krestage 3 - More Weird Stuff by Crest
- I'll trust the c64'ers on the 9 50px wide sprites breakthrough. At least the multicolor + fli image scrolling is slick, even to my unexperienced eyes.
- rulezadded on the 2007-05-16 11:12:45
- demo Windows 솥 by Limp Ninja [web]
- cool but short
- rulezadded on the 2007-05-15 23:41:10
account created on the 2000-07-30 00:31:20
