Pendulum Tracker -- SimuFísica: A Web-based Tool for Real-time Measurement of Oscillatory Motion
Marco P. M. de Souza, Juciane G. Maia, Lilian N. de Andrade
TL;DR
The paper tackles the need for real-time, accessible pendulum experiments in education by introducing Pendulum Tracker, a browser-based computer-vision tool built on OpenCV.js and integrated into the SimuFísica platform to measure angular motion and derive time-series data, periods, and gravity estimates in real time. It validates the approach through three application examples—period measurement, gravity determination, and damped oscillations—showing close agreement with theoretical predictions within experimental uncertainty, exemplified by the relation $T = 2\pi \sqrt{L/g}$. The work highlights the system's portability, immediate visualization, data export capabilities, and potential for offline deployment, making it a practical and scalable resource for physics pedagogy. All data are openly available, reinforcing transparency and enabling replication and further exploration in educational settings.
Abstract
We present Pendulum Tracker, a computer vision-based application that enables real-time measurement of the oscillatory motion of a physical pendulum. Integrated into the educational platform SimuFísica, the system uses the OpenCV.js library and runs directly in the browser, working on computers, tablets, and smartphones. The application automatically detects the pendulum's position via the device's camera, displaying in real time the angle-versus-time graph and estimates of the oscillation period. Experimental case studies demonstrate its effectiveness in measuring the period, determining gravitational acceleration, and analyzing damped oscillations. The results show excellent agreement with theoretical predictions, confirming the system's accuracy and its applicability in educational contexts. The accessible interface and the ability to export raw data make Pendulum Tracker a versatile tool for experimental physics teaching.
