(horribly hacky) Leap Motion -> Pointer Events demo

Possibly of interest: my code is fairly dreadful, but demonstrates the 
(slightly hacky) use of a shim for Leap Motion's proprietary API to then 
fire programmatic Pointer Events (with a made-up pointerType 'leap')

https://twitter.com/patrick_h_lauke/status/714954314113019905

(with thanks to Jacob for inspiration and suggestion to use 
document.elementFromPoint(x,y).dispatchEvent(e) to make this slightly 
more generic/adaptable to other scenarios in future)

P
-- 
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Tuesday, 29 March 2016 23:47:19 UTC