Javascript Motion Detection
1 answer
There's a library called Reallygood for javascript motion detection. Please check it out. The movement can be detected with this code, which is probably similar to what you are looking for:
$('#one').on('motion', function(){
console.log('touched one');
});
Here's github .
-1
source to share