As a little side project this week I’ve put together a simple playground for learning about input pointer latency in web browsers and experimenting with the idea of using path prediction, as demonstrated in this video. Play here: https://rsms.me/pointer-latency/ …pic.twitter.com/FblsI4YulR
-
Show this thread
-
Responsiveness and interface latency is something I’ve been passionate about for decades. The fact that you’re always working on old input data in a web browser—in any windowed app, really—is unfortunate when you want to create something that feels snappy and responsive.
3 replies 0 retweets 49 likesShow this thread -
On pointer events in web browsers, I’ve put together this poster that illustrates what happens in Chromium on macOS: https://www.figma.com/c/file/823955832357164761 …pic.twitter.com/jlDCaeTuzp
3 replies 7 retweets 85 likesShow this thread -
Replying to @rsms
Ryhan Retweeted Andy Matuschak
Neat! Seeing the prediction visualization reminded me of this drawing tools with predicted pathshttps://twitter.com/andy_matuschak/status/955141122677878784?s=21 …
Ryhan added,
Andy MatuschakVerified account @andy_matuschak(it's very interesting how the "feel" of this pen with realtime predictions is totally different from this pen with 200ms predictions, which is totally different from this pen with 2500ms predictions… it's so fertile making discrete systems continuous!) https://twitter.com/andy_matuschak/status/948763069689114624 …Show this thread2 replies 0 retweets 1 like -
Replying to @ryhanhassan @rsms
Ah, thanks for the shout. You can play here: https://andymatuschak.org/scrying-pen/ Fun memory: in ~2013, when I was at Apple, I made all scroll views predict future touches to get a tighter response. We pulled it before shipping—not a big enough diff. There's an API for this now for drawing.
1 reply 0 retweets 5 likes -
Replying to @andy_matuschak @ryhanhassan
iOS does touch prediction I know. Did the scroll code—which sounds very interesting—get ditched because of that perhaps?
1 reply 0 retweets 0 likes
No, the system-level temporal touch prediction is something you have to op into with a special API, or at least it was as of a couple years ago. Was added for drawing (i.e. Pencil). The scroll view predictive stuff simply didn't "feel" enough better to justify the complexity.
-
-
Replying to @andy_matuschak @ryhanhassan
Ah! Interesting. Thanks for sharing :-)
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.