jeremyckahn / shifty

The fastest TypeScript animation engine on the web
https://jeremyckahn.github.io/shifty/doc/
MIT License
1.54k stars 88 forks source link

requestAnimationFrame #28

Closed jeremyckahn closed 11 years ago

jeremyckahn commented 12 years ago

Might as well support it.

drizzlecloudy commented 11 years ago

@jeremyckahn , i've published a 'play-safe' requestAnimationFrame . It provides requestAnimationFrame, cancelAnimationFrame, requestTimeout, clearRequestTimeout, requestInterval, clearRequestInterval Check it here I would love to use shifty with requestAnimationFrame method

jeremyckahn commented 11 years ago

@drizzlecloudy Thanks for pinging this issue. Supporting rAF is pretty high on my list of priorities, and in fact I am planning to implement it once the tween-config-only branch is merged.

draf looks cool! I don't think I'll incorporate it wholesale into Shifty, as I want to keep Shifty dependency free, and I don't think it needs all of the functionality that draf provides. I will likely use it as a resource, however.

jeremyckahn commented 11 years ago

Fixed in 60b42f2f79f5032e5f158e87e88f9eca67629eb2.