Efficiency of Javascript Animation, clearRect()?

Viewed 273

in preparation for the fall of Flash, I'm attempting to transition between AS3 and Javascript.

However, some things confuse me (probably due to lack of knowledge). In Flash, I could create and explicitly modify the physical properties of objects I drew on the stage. In Canvas/HTML5, I can use fillText() and fillRect(), but I can't "animate" without having to clear the entire stage first then redraw everything, which strikes me as really inefficient. In addition to this, I don't have explicit access to these objects so I can modify their physical properties without having to delete everything in the first place.

How should I approach this differently?

1 Answers
Related