Omni Bridge

Superellipsoid Contact Lab

2D Superellipsoid Contact Dynamics

Live JS port of the Fortran superellipsoid_contact program — 4 anisotropic particles, gravity + wall/pair spring contacts, velocity-Verlet integration, forces via numerical gradient. Shapes drawn with the same radius function the physics uses.

Frame 3 / 3001 · t = 0.0008 s
Particle 1

a=0.4 · b=0.25 · ε=0.5

Particle 2

a=0.3 · b=0.3 · ε=1

Particle 3

a=0.5 · b=0.3 · ε=2

Particle 4

a=0.35 · b=0.2 · ε=3

Energy conservation (velocity Verlet)

0.020.070.1220.170.220.270.320.370.420.470.520.570.620.670.720.770.820.870.920.971.021.0741.121.161.2time (s)09182736
  • KE
  • PE
  • Total

The gold Total line is the energy-conservation check — a stable Total means the integrator is behaving. Drift indicates contact activity (springs storing/releasing energy) and numerical error.