Re:T * sin (t) ≈ Christmas tree
by callmevlad on Friday December 27, 2013 @06:21PM
(#6973083)
Extra credit to anyone who can implement this in HTML/CSS without using the canvas element. Since CSS transformations are hardware accelerated, I bet it can be made to look as smooth as the reference GIF.
[ Parent
| on HN ]
Still canvas, but is that any smoother?: http://jsfiddle.net/rYa5d/8/
Re:T * sin (t) ≈ Christmas tree
by karanbhangui on Friday December 27, 2013 @06:54PM
(#6973199)
Nice touch with the subtle parallax!
Several years ago I made a very silly simple Christmas tree in HTML/CSS, with <blink>ing lights and Unicode ornaments, and my friend made a way to place your own choice of "ornaments": http://unicodexmas.com/
Not as stylish, but in the spirit!