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

Show parent comments

1

u/thegeek2 Dec 21 '10

Why can't the rendering be hardware accelerated?

0

u/ascendant512 Dec 21 '10

So much of javascript is un-accelerate-able that just fringe uses like this aren't really worth the effort of splitting up the parts of it that could be.

For something like this, <canvas> or even CSS would work much better, they're designed for handling images and for moving them around. And guess what? They are already hardware accelerated.

Javascript is just not designed to be used for this.