Re: Tiny update to one of my tracker demos

Neat.
FYI backingStorePixelRatio isn't needed anymore in current browsers.  In fact you'll find that the property doesn't even exist anymore.  You only need to scale canvas rendering based upon devicePixelRatio now. --Brandon
http://www.palladiumconsulting.com/ 


     On Monday, November 9, 2015 11:43 AM, Rick Byers <rbyers@google.com> wrote:
   

 Very cool, thanks!
Note that if you use touch + mouse events at the same time (eg. on a Chromebook pixel) it flips back and forth between showing touch only and showing mouse only.
Rick
On Mon, Nov 9, 2015 at 8:14 AM, Patrick H. Lauke <redux@splintered.co.uk> wrote:

Nothing groundbreaking, but just wanted to share this: made a (very hacky) change to my mouse/touch events/pointer events tracker demo to now output some event information, visually.

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

Performance is abysmal, as I obviously still do far too much calculating/drawing per event...but this is meant more for quick presentation demo purposes, rather than production.

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 Monday, 9 November 2015 17:58:05 UTC