Pendula is a real-time motion tracking and physics
visualization tool.
It captures your raw 2D mouse or stylus movements and automatically
determines your swing's primary angle using
Principal Component Analysis (PCA).
Simultaneously, a live machine-learning optimization algorithm runs
in the background to fit your imperfect human motion to the ideal
mathematical equation for
Damped Simple Harmonic Motion:
x(t) = A * e^(-ฮณt) * cos(ฯt + ฯ)
How to interpret the tracker:
-
Blue Trace:
The raw input data from your mouse/stylus.
-
Orange Trace:
The Live Predictive model (calculating rapidly during your swing).
-
Red Trace:
The Final Post-Processed fit (calculated using rigorous simulated
annealing once the pen stops).
Try placing your drawing tablet pen on its side and giving it a
gentle nudge. You will see its natural decay perfectly match the
math!