Open syonfox opened 2 years ago
window.addEventListener('mouse-move', ()=>{ })
type something. move the mouse. if they do that enough on the page call them not a robot and don't ask.
if not enough info is gathered. fall back to a game
looking for seasoned vets with a snip-it to share lol could do it myself but ehh :)
nice idea, I would use pointermove or touchmove event.
pointermove
touchmove
Feel free to PR.
I recently forked this nice mouse effect https://github.com/fibo/webassembly-wave
Demo here
@syonfox sorry for the outdated syntax in this repo
type something. move the mouse. if they do that enough on the page call them not a robot and don't ask.
if not enough info is gathered. fall back to a game
looking for seasoned vets with a snip-it to share lol could do it myself but ehh :)