Super cool! It took me too long to realize that you can drag the focus point while attracting or repelling; that makes a few of the jumps much easier.
You might want to look into Pointer Capture API: https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture
As is, it’s easy to accidentally drag out of the iframe and then things get a bit confused. Pointer Capture addresses exactly that use case.


Leave a comment
Log in with itch.io to leave a comment.