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 281 forks source link

requestAnimationFrame support #73

Open zslabs opened 9 years ago

zslabs commented 9 years ago

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