Home▸Algorithms & AI▸Indexxd (2D): Dimensional Collapse in a Coupled-Oscillator Chain

Indexxd (2D): Dimensional Collapse in a Coupled-Oscillator Chain

A 2D top-down companion to the 3D Indexxd sim: watch a full mass-spring chain get index-weighted collapsed into a lumped reduced-order model, with a live error readout against the full-fidelity ground truth.

Algorithms & AI2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-indexxd ↗ Open standalone

Every degree of freedom you simulate costs compute. This 2D companion to the 3D Indexxd sim makes that trade-off tangible: a chain of N masses and springs runs as full-fidelity ground truth, while a second, index-weighted reduced model collapses the least important (farthest-from-excitation) DOFs into a single lumped mass, following the "assign an index, average by weight, collapse" recipe. Excite the chain, tune N and K, and watch the live RMS error track how much accuracy the reduction is really costing.

⚙ Under the hood

A 2D top-down companion to the 3D Indexxd sim: a full N-mass spring chain runs as ground truth while a second, index-weighted reduced model collapses the least important degrees of freedom into one lumped mass, with a live RMS error readout showing what the approximation costs in accuracy.

dimensional reductioncoupled oscillatorsmodel order reductionspring chainnumerical methodsalgorithms2d

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

What did you find?

Add reproduction steps (optional)