A browser-based finger tapping test built with JavaScript and MediaPipe. This tool measures tap frequency, inter-tap interval (ITI), and variability between taps, providing quantitative metrics that can be useful for motor and cognitive research.
- Real-time tracking of index finger and thumb taps using a webcam.
- Calculates tap count, mean inter-tap interval, and variability.
- Fully browser-based, no installation required.
- Lightweight and easy to integrate into studies or experiments.
- Open `index.html` in a modern web browser with camera access.
- Allow webcam access when prompted.
- Tap your index finger and thumb together in front of the camera.
- Real-time metrics will be displayed on the screen.
- Modern web browser (Chrome, Edge, Firefox, or Safari) with WebRTC camera support.
- Webcam.
- `index.html` — Main HTML file.
- `style.css` — Styling for the interface.
- `script.js` — Core logic for the finger tap test.
- `fingertap.js` — Finger tap detection and metrics calculation.
This project is released under the MIT License.