ded / morpheus

A Brilliant Animator
504 stars 57 forks source link

feature detect matching scale of timestamp & now() #54

Closed rvagg closed 10 years ago

rvagg commented 10 years ago

fixes #53

building on @karlwestin feature-detect for now() vs ts scale (epoch vs highres)

rvagg commented 10 years ago

http://jsfiddle.net/YefkC/3/ for live test of this

danro commented 10 years ago

Really like this approach. Since rAF stores each callback in an ordered list, it's safe to assume that the feature detect frame() will occur before the first render.

ded commented 10 years ago

heyo guys. looks good. I'll merge now and then cut a new npm release when I return home tomorrow.