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.

9

u/causticmango Dec 21 '10

Must be specific to Windows. On OS X, Safari is noticeably smoother (for this demo, at least).

2

u/[deleted] Dec 21 '10

Not surprising, Safari probably uses HW acceleration for canvas on OS X, but not on Windows.