Premonish - A library for predicting what element a user will interact with next.

A screenshot of the Premonish page, with different coloured squares in the center, top left, bottom left, and bottom right, along with the Premonish header and some descriptive text " Premonish - A library for predicting what element a user will interact with next."

This is really cool. This library seems to use the pointer’s trajectory to predict what you’re heading towards, and highlights the appropriate cube. I suspect this only works with pointers that can be detected as moving, like mice and styluses that have that capability, but probably does nothing useful with touch in most cases. Either way, give it a shot, it’s eerie. The most obvious use case for this is to pre-load a link if the user starts to head for it, but of course that has the side effect of possibly wasting the user’s data if they’re on a capped connection.