pouët.net

DUCK.3JS.2K by Knox [web]
[nfo]
screenshot added by knox on 2011-01-24 14:33:54
platform :
type :
release date : january 2011
related :
  • 32
  • 5
  • 0
popularity : 60%
 60%
  • 0.86
alltime top: #5251
added on the 2011-01-24 14:33:54 by knox knox

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr bluesky threads

comments

This was supposed to be a simple compression test but I ended up squeezing it some more to have it fit in 2K. It's the same anatidae than in the original DUCK.3JS by Wurst, except it's now twice as small. There are some technical details in the NFO for those interested. Should work on all recent browsers except IE. Disclaimer: no duck was harmed during the compression process.
added on the 2011-01-24 14:36:21 by knox knox
Pretty neat in 2k.
rulez added on the 2011-01-24 14:40:10 by zefyros zefyros
nice
rulez added on the 2011-01-24 15:20:35 by panic panic
There it is :)
rulez added on the 2011-01-24 15:48:31 by ferris ferris
Nice.
Now fix the holes.
added on the 2011-01-24 15:52:25 by hfr hfr
Nice.
rulez added on the 2011-01-24 15:58:09 by raer raer
very sweet tricks ... who's next to break this record?
rulez added on the 2011-01-24 16:03:44 by Weyland Yutani Weyland Yutani
I like
rulez added on the 2011-01-24 16:24:29 by Optimus Optimus
Very nice :)
rulez added on the 2011-01-24 16:35:10 by sensenstahl sensenstahl
INSTANT THUMB! <3
rulez added on the 2011-01-24 17:53:37 by rez rez
Nice deflate friendly code and optimization of the model.
added on the 2011-01-24 18:02:34 by p01 p01
Nice one!
rulez added on the 2011-01-24 18:32:56 by Nitro/Black Sun Nitro/Black Sun
Online version works in latest Firefox and Opera. Offline version works in Opera, but in Firefox only some long horizontal line is displayed.

Would be good to have offline version of 2k-tris.
added on the 2011-01-24 18:49:10 by Pirx Pirx
Unofficial DUCK.3JS Size compo at Revision anyone?
rulez added on the 2011-01-24 20:56:54 by Joghurt Joghurt
Is this harder or easier than dots?
rulez added on the 2011-01-24 21:45:07 by MagikGimp MagikGimp
.
rulez added on the 2011-01-25 00:01:01 by wullon wullon
Ha! Nice job!! A classic!
rulez added on the 2011-01-25 00:02:00 by sim sim
quack!
rulez added on the 2011-01-25 00:02:28 by Saga Musix Saga Musix
DUCK.3DS
rulez added on the 2011-01-25 07:13:59 by 4mat 4mat
nice duck
rulez added on the 2011-01-25 07:19:17 by button button
new worldrecords don't have to be ugly... =)
rulez added on the 2011-01-25 08:26:38 by gentleman gentleman
would have been a cool 256b :p jk, great work. using grayscale png file for compression is an interesting idea.
rulez added on the 2011-01-25 10:04:51 by Skate Skate
I'm feeling ducky!
rulez added on the 2011-01-25 10:41:20 by CiH CiH
for exploiting the png format and all that..
rulez added on the 2011-01-25 11:53:22 by toxie toxie
.
rulez added on the 2011-01-25 13:22:19 by las las
Skate, toxie: The PNG trick is at least 2.5 years old. Here, it's nicely used to pack the code AND the data.

However, for small prods, the PNG compression trick is not always the most efficient. i.e the code of 3D Tomb II goes from 3.1 Kb unpacked to 2.6 Kb packed as PNG vs 2.2 Kb packed in JS.
added on the 2011-01-25 15:44:38 by p01 p01
nice ducky
rulez added on the 2011-01-25 16:34:18 by nekomono nekomono
p01: Was the PNG for 3D Tomb II really optimized? I did a quick test on the 3D Tomb code which went from 3271 bytes for unpacked JS to 1658 bytes for the whole PNG file. That's just slightly above 50%.

BTW: the PNG used for the Mario example contains two useless chunks. There's some text ("Software Adobe Image Ready") and a pretty big palette of about 400 bytes. That's no big deal for a large original file but it becomes -- of course -- unacceptable for a small one.
added on the 2011-01-25 16:51:30 by knox knox
.
rulez added on the 2011-01-25 19:11:04 by Pirx Pirx
knox: Doh, I forgot Jacob Seidelin hadn't optimized ( using pngcrush and the likes ) those PNG :p

With my (WIP) JS packer, 3D Tomb II's code is more like 2 Kb.
added on the 2011-01-25 20:01:43 by p01 p01
Definitely rulez.
Which tool and what settings do you use for PNG encoding/crunching?
rulez added on the 2011-01-25 20:22:39 by chudik chudik
chudik: I just wrote a quick and dirty PHP script. In order to save precious bytes, an important thing is to generate a native 8-bit grayscale PNG file (Color Type = 0 / Bit Depth = 8) with no palette information at all (i.e. no PLTE chunk). I was not able to do that with the native PHP functions, so I had to build it "manually" -- which is still quite easy.
added on the 2011-01-25 23:40:00 by knox knox
oh ... (sniff) ... it's ... it's .... (sniffsniff) A DUCK! A FUCKING DUCK! MY ASS THIS IS COOL!
rulez added on the 2011-01-26 02:12:48 by Salinga Salinga
Amazing.
rulez added on the 2011-01-27 09:40:57 by jonnyram jonnyram
MagikGimp :)
added on the 2011-01-28 22:54:40 by Photon Photon
ducks are always welcome!
rulez added on the 2011-01-28 23:39:06 by Manwe Manwe
duck!
rulez added on the 2011-01-29 01:00:34 by edhellon edhellon
*quack quack ^_^*
rulez added on the 2011-01-29 06:50:15 by mudlord mudlord
Nice. Ernie's rubber duckie?
added on the 2011-01-29 17:50:30 by AntDude AntDude
thumbs up for duck. your polyfiller is not accurate though.
rulez added on the 2011-01-30 23:30:42 by rudi rudi
fast!
rulez added on the 2011-02-13 23:08:45 by bitl bitl
DUCK.3DS!

lists containing this prod

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment