Home▸Physics & Mechanics▸Learning a Damped Spring from Noisy Data: Loss Landscape and Fitted Oscillation (2D)

Learning a Damped Spring from Noisy Data: Loss Landscape and Fitted Oscillation (2D)

The same learner in 2D: the real and learned spring rigs side by side, a heat map of the loss over stiffness and damping with the optimiser path, and the sensor record with the current fit. Shared model with the 3D scene: sensitivity-equation gradients, four optimisers, Cramer-Rao standard errors and numerical checks.

Physics & Mechanics2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Learning a Damped Spring from Noisy Data: Loss Landscape and Fitted Oscillation (2D) ↗ Open standalone

A laser sensor records a weight bouncing on a hidden spring, and a small physics-informed learner has to work out the stiffness and damping from the noisy samples alone. Watch gradient descent, momentum, Adam or Levenberg-Marquardt roll a ball across the loss landscape while a cyan twin rig starts to move like the real one. Change the noise, sample count, record length, learning rate and starting guess to see wrong valleys, overshooting steps and standard errors. A Blender-built lab bench with numerical checks of the gradients and the fit built in.

⚙ Under the hood

The same learner in 2D: the real and learned spring rigs side by side, a heat map of the loss over stiffness and damping with the optimiser path, and the sensor record with the current fit. Shared model with the 3D scene: sensitivity-equation gradients, four optimisers, Cramer-Rao standard errors and numerical checks.

Machine LearningSystem IdentificationGradient DescentDamped OscillatorParameter EstimationOptimization

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)