setTimeout, the basic thing that works (I want to do a thing after n milliseconds. When I do it, do another thing after n milliseconds, and so on):
setAnimationFrame. Basic thing you generally want instead of
This almost has full rollout, and the polyfill works fine where it isn’t supported. Covers basically all CSS animation API + some more
Canvas for other stuff, games for example. Super robust, fairly easy to use…
…and allows WebGL, which can be used for interactive 2d/2d graphics:
oooo… I’m bookmarking that WebGL one. Something to scope out next weekend.