/ best free open source web resources /

Graphic Resources

How to Create the 1kb 3D Christmas Tree

Posted · Category: License Free

JS1k is a really nice contest for coding tiny 1 kb Javascript programs and try to do something nice in that few available space. Román Cortés has created a a 3D Christmas tree. He used several tricks to make the code fit in 1 kb.

The most of them are the usual tricks for reducing Javascript code size, like renaming variables to single character names, removing white spaces, unnecesary semi-colons and so on. The Christmas tree looks amazing, however it doesn’t work in IE, and works slow in some browsers. Merry Christmas!


Requirements: Javascript enabled
Demo: http://js1k.com/2010-xmas/demo/856
License: License Free

  • Surely if it takes forever to load it’s missing the point of why we aim for small Javascript files; which is ultimately speed.

  • Realy Nice!

  • Staxx

    Merry Xmass to you too!

  • Wow, I wished I could do things like this, this is EPIC.

Supported By


Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons