Re:Building an Animated HTML5 Rocket in 4 Days – A Kicksend ...
by kylebrown on Thursday June 28, 2012 @09:08PM
(#4174750)
The relative placement of the code excerpts is confusing. The coffeescript is canvas code for drawing the gauge needle, a progress bar for the image upload and therefore not timed with the rocket, if I understand correctly.
The SASS example is a css3 animation for the rocket ship. But it highlights something about css3 transitions I find really frustrating: you can't specify arcs (you can use bezier curves to specify a timing function, but not a positioning function). Animating an arc requires using translation and rotation in combination, which is very kludgy.
Re:Building an Animated HTML5 Rocket in 4 Days – A Kicksend ...
by kmm on Thursday June 28, 2012 @08:52PM
(#4174713)
Forgive my ignorance, but what is the canvas still for? The given CoffeeScript code draws a small arc. But is this necessary if they're doing the final animation with CSS3?
The SASS example is a css3 animation for the rocket ship. But it highlights something about css3 transitions I find really frustrating: you can't specify arcs (you can use bezier curves to specify a timing function, but not a positioning function). Animating an arc requires using translation and rotation in combination, which is very kludgy.
get over yourselves
thanks, truth_dude
I totally expected the camera to "follow" the rocket and all I saw was a sloppy rocket sprite jump off the screen.
You guys have the right idea with this, but poor execution.
You got a sign up coming your way.