WebAppers

/ 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!

christmas-tree-javascript

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

4 Comments
Supported By

Deals

Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons