1j01 / tracky-mouse

Mouse control via head tracking, as a cross platform desktop app and JS library. eViacam alternative.
https://trackymouse.js.org/
MIT License
25 stars 4 forks source link

Slow processing leads to build up of latency, unclosable app #7

Open 1j01 opened 2 years ago

1j01 commented 2 years ago

May also be causing #3 — I'm getting this terrible lag on a MacBook Air (Early 2014), and it could be stopping the global toggle shortcut from working as well. May be clogged IPC tubes.

I could try to measure the latency, and reduce processing accordingly.

1j01 commented 2 years ago

Interestingly, it works fine on the web demo in Chrome on the same Mac.

But in Electron, it lags and gets worse and worse, and I have to force quit the app with shift + ⌥ option + ⌘ command + esc.