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 · 2025

Read Pendulum Tracker – SimuFísica ® : A Web-based Tool for Real-time Measurement of Oscillatory Motion by Marco P. M. de Souza, Juciane G. Maia, Lilian N. de Andrade (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-07301.txt.

Introduction

Marco de Souza, Juciane Maia, and Lilian de Andrade present Pendulum Tracker, a browser tool that films a swinging pendulum and measures its motion live, in a paper from 2025. The app is part of the SimuFísica teaching platform. It runs in a web browser on computers, tablets, and phones, with no install.

Computer vision spots the pendulum's position through the device camera. The screen plots angle against time as the swing unfolds, and estimates the period on the spot. Class tests used it to measure periods, derive the value of gravity, and study damped swings. Results matched theory closely. Users can export the raw data, which suits the tool for hands-on physics teaching.

Catalog record

CREATORMarco P. M. de Souza, Juciane G. Maia, Lilian N. de Andrade
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE13 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2506-07301

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

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 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. Keywords : computer vision, pendulum motion, physics education, real-time measurement, web-based application 1 Introduction The study of the pendulum plays a central role in physics education, offering an accessible and visually clear way to introduce fundamental concepts such as harmonic motion, energy conservation, damping, and the determination of gravitational acceleration. Due to its conceptual simplicity and ease of experimental setup, the pendulum has been widely used in classrooms and educational laboratories at different educational levels [ 1 , 2 , 3 ] . Its use also extends to more advanced investigations, including the Foucault pendulum [ 4 ] , nonlinear oscillations, chaotic dynamics, and dissipative effects [ 5 ] . In recent decades, digital tools such as the Tracker software have been employed for experimental physics studies involving video analysis [ 6 , 7 ] . Tracker enables data collection from camera-captured images, promoting greater interactivity and conceptual understanding. However, its use typically requires prior recording and often manual frame-by-frame analysis, which can limit its adoption in some educational settings — especially for real-time experiments. In this work, we present Pendulum Tracker, a computer vision-based application integrated into the SimuFísica educational platform. Designed to run directly in the browser, the system allows automatic, real-time measurement of the angular motion of simple pendulums. Section 2 provides an overview of the Pendulum Tracker and its features. Section 3 presents three usage examples: oscillation period measurement, experimental determination of gravitational acceleration, and analysis of damped oscillations. The results demonstrate the tool’s robustness and its usefulness as a complementary resource for experimental physics teaching at both high school and undergraduate levels. 2 The Pendulum Tracker – SimuFísica ® 2.1 Overview Pendulum Tracker is a tool developed for the detailed experimental study of the oscillatory motion of pendulums, using computer vision to capture and analyze the angular position of the object in real time. Based on the OpenCV.js library [ 8 ] , an implementation of OpenCV for JavaScript, Pendulum Tracker is integrated into the SimuFísica platform, which offers a wide range of applications and simulators aimed at teaching and learning physics in areas such as mechanics [ 9 ] , electromagnetism [ 10 ] , thermodynamics [ 11 ] , and quantum mechanics [ 12 ] . Designed as a web-based application, Pendulum Tracker is easily accessible through any modern browser and is compatible with various devices such as computers, tablets, and smartphones, requiring only an integrated or external camera for video capture. Although the Pendulum Tracker is already available in the online version of SimuFísica, it is not yet included in the offline versions distributed through app stores. A future update will add the application to the downloadable packages for Android (Play Store), iOS (App Store), Windows (Microsoft Store), and Linux (Snapcraft), enabling its use without an internet connection. 2.2 Interface and functionality Figure 1 shows the application interface in operation. After fixing the capture device on a stable support and properly aiming it at the pendulum, the user activates the camera by clicking the Turn on button located on the toolbar. Then, the user must set the pendulum into motion, and it is recommended to maintain small angles (less than 20°) to ensure agreement with the theoretical expression for the period T of a simple pendulum of length L : T=2\pi\sqrt{\frac{L}{g}}, (1) Figure 1: Pendulum Tracker application from the SimuFísica ® platform. Access link: https://simufisica.com/en/pendulum-tracker/ . where g is the local acceleration due to gravity. It is also recommended to use a thin black string to minimize interference with automatic detection, and to center the pendulum’s motion in the frame, occupying a good portion of the screen. To assist with this positioning, the user can enable the Grid checkbox, which displays a reference mesh on the screen. The background does not need to be uniform, and the pendulum object does not need to be spherical — tests conducted indicate excellent results in domestic environments using a pendulum composed of a cylindrical object or even a small padlock. One requirement is that no other motion occurs in the background besides the pendulum’s oscillation. After the initial setup, the user clicks the Start button. A short calibration interval (approximately 3 s) begins, during which the maximum and minimum positions of the pendulum are collected so that an angular estimate can be provided on the vertical axis of the graph. After this interval, the angle versus time curve is displayed on the screen. Shortly afterward, the user can observe the pendulum’s period, obtained from the average of five oscillation cycles. Finally, for more precise measurements, as shown in Section 3 , the user has the option to download the curve data using the Download button for analysis in spreadsheets such as OriginLab, Microsoft Excel, or similar software. 3 Application examples In this section, we present three representative examples that illustrate the capabilities of the Pendulum Tracker application from the SimuFísica platform. These activities can be used in the classroom as practical tasks or integrated into home-based experimental work. 3.1 Period measurement In the first example, we used a smartphone (iPhone SE, 2020 model) mounted on a generic holder (Figure 2 ). As the pendulum mass, we used an aluminum cylinder with a hook. The pendulum length was measured with a tape measure and determined to be L=45.8\pm 0.1 cm, from the point of support to the cylinder’s center of mass. After a few oscillation cycles, the application began displaying the average period on the screen, with observed fluctuations between T=1.367 s and T=1.374 s. We compared these results with the theoretical value given by Eq. ( 1 ). The measurements were performed in the city of Ji-Paraná, in the state of Rondônia, Brazil, located at latitude \phi\times 180/\pi=-10.88 °. Considering g=9.7821671 m/s 2 as the local gravitational acceleration, obtained from the equation [ 13 ] g(\phi)=9.780327\left[1+0.0053024\sin^{2}(\phi)-0.0000058\sin^{2}(2\phi)\right]\mbox{m/s}^{2}, (2) we found a maximum error of only 1.1%. Figure 2: Measurements performed using the Pendulum Tracker – SimuFísica application with L=45.8\pm 0.1 cm. Figure 3 presents a more detailed analysis of the obtained data. In panel (a), we show the time evolution of the pendulum angle. Panel (b) shows a zoom of the first 4.7 s, revealing a sinusoidal curve with approximately 40 data points per cycle — this number depends on the device’s frame rate and

Read the complete text