PinchPoint
- 3 Devlogs
- 14 Total hours
Pinch and Point to control your mouse.
Pinch and Point to control your mouse.
So this is the first version of my pinching detection. First I needed to calculate the distance between my thumb and index finger. And if that distance was small enough the mouse clicked.
But just that wasn’t enough for it to smoothly click. No, cause the distance threshold i set needed to be relative to the hand size. So more calculations with hypotenuses until I got this final click detection.
– WilGulf
Last devblog was just to show a concept. Now I have continued to refine the hand tracking and cursor movement.
I have spent the 5 hours finding bugs, fine tuning all values, testing running things on different threads.
I also spent some time implementing a way to catch some false tracking.
With all that the cursor moves much smoother, but not perfect yet.
– WilGulf
This is PinchPoint.
You pinch and point to move your mouse. In the video you can see a demonstration of the mouse following my hand.
I am planning for different hand gestures to trigger things such as pinching clicks with the mouse but we are not there yet.
This is the first devblog of many and this is just the core feature. Hope you follow along on this project.
–WilGulf