imjasonh / ideas

A place for me to file issues against myself for things I want to build when I'm bored
5 stars 0 forks source link

Physically accurate mouse cursor #111

Open imjasonh opened 1 year ago

imjasonh commented 1 year ago

https://gist.github.com/imjasonh/8089501

Move the cursor around in a realistic way when you move it, like the point is pinned to a point in space and the rest is hanging loose.

The gist above is really rudimentary, I bet JS physics engines have gotten really good.

edit: https://brm.io/matter-js/