PaulHax / spin-controls

Arcball style controls for three.js Object3Ds and Cameras. Featuring pointer to trackball accuracy and unlimited rotation.
https://paulhax.github.io/spin-controls/
MIT License
78 stars 12 forks source link

Damping on pointer up with no movement #9

Closed PaulHax closed 3 years ago

PaulHax commented 3 years ago

When the user releases the pointer, but did not move the pointer in the last frame, attenuate the angular velocity rather than zeroing it. With trackpads and touch interfaces it is now easier to give gentle spins without a forced pointer movement follow through.

Also: Demo has a Box instead of a knot and removed the trackball at center checkbox.