How hard can this simple concept be to program?Frosted Glass BF4 website
battlefield.com/battlefield-4?utm_source=face...Posted Mar 26, 2013, 2:19 PM UTC
44
Posted Mar 26, 2013, 2:19 PM UTC
What do you mean?
click and drag your mouse on the rain background
Well, it would just depend on if Swiper.js that they use is something they custom wrote (ie, not legal to just copy and use), or if it is an open source item.
In trying to do a search for it, boy that is tough since most results with "Swipe" and JS have to do with code to handle reacting to swiping on a touch device...
Its interesting, they break your movements up into straight lines. The lines begin to fade after a moment or two. Also, the whole thing starts to fade if you stop. It seems there are a couple of fading rules at play here that help to create the effect.
I keep trying to write "Bill" but it's not working well... would love to see a good screen shot (and will desktop it) if someone manages a quality copy.