kennethcachia / background-check

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
http://kennethcachia.com/background-check/
MIT License
3.27k stars 282 forks source link

requestAnimationFrame support #73

Open zslabs opened 8 years ago

zslabs commented 8 years ago

Have any thoughts on integrating a scroll listener with requestAnimationFrame? https://gist.github.com/paulmillr/3118943