r/programming • • Dec 20 '10

A Christmas Tree in 1k of Javascript

http://www.romancortes.com/blog/how-i-did-the-1kb-christmas-tree/
1.1k Upvotes

221 comments sorted by

View all comments

42

u/ImTheGuyWithTheGun Dec 20 '10 edited Dec 20 '10

Amazing how much smoother this runs in Chrome compared to Firefox. And IE8 - forget about it.

EDIT: Safari 5 seems even worse than Firefox. My system is a core-i5 w/ 6GB on Win7 - should be plenty of horsepower.

2

u/IllBeBack Dec 20 '10

In IE8 all I get is a javascript error.

4

u/imadork32 Dec 20 '10

What did you expect?

2

u/IllBeBack Dec 20 '10

I thought maybe it would work, just excruciatingly slowly.

4

u/imadork32 Dec 21 '10

I was kinda expecting that myself, but trust me I had anything short of a shockface when I saw that error.

1

u/[deleted] Dec 21 '10

IE 8 entirely lacks canvas support, doesn't it?