Head tracking circularity: balance diagonal movement with horizontal/vertical movement #46
Labels
affects:desktop-app
Affects the Electron app
affects:web-library
Affects usage of the tracky-mouse.js library
enhancement
New feature or request
I've found that moving diagonally requires too much head movement compared to horizontal/vertical movement.
Acceleration curves may be playing a role in this. Currently the acceleration curve is applied to
deltaX
anddeltaY
independently, with thedistance
parameter being ignored here:If you picture the head as a sphere, it makes sense that diagonal movements are weakened, due to the projection, in combination with the acceleration curves.
Tilting up, down, left, or right, the projected point is moved in a single axis, whereas tilting diagonally moves sqrt(2)/2 in each axis.
When spread across two axes, with the acceleration curves applying separately, the exponentiation isn't as high.
That said, there may be a reason why I didn't use the
distance
parameter here; maybe it even makes it worse somehow.I might need a separate sort of filter to compensate for diagonal movement feeling subdued, reminiscent of the pin-cushion adjustment on old CRT monitors.
Related:
The text was updated successfully, but these errors were encountered: