Each experiment shares the same transport bar: play, pause, 0.25× slow motion, a single step, reset, and a CSV download that stays on this device. Parameters that belong to the active experiment appear in the right-hand rail on a wide screen.
A point mass is launched from the origin. In vacuum, apex, range, and flight time have closed forms. Optional linear drag is integrated with RK4. The trail, the live (x, y, vx, vy) figures, and both simulated and vacuum readouts stay on the stage.
Double pendulum
A planar double pendulum is stepped with classical RK4. Angles are measured from the downward vertical. The lower bob leaves a phase trail, and the live display shows both angular velocities and the total mechanical energy.
Spring-mass
A horizontal spring-mass-damper sits on the left of the canvas. The right half is a live x(t) oscilloscope. The desk reports the natural frequency ω0, the damping ratio ζ, and whether the motion is underdamped, critically damped, or overdamped.
Collisions
Rigid pucks collide in a 1D track or a 2D chamber. Restitution e defaults to 1 (perfectly elastic). After each puck-puck hit, the desk shows total momentum |p| and kinetic energy Ek before and after the impulse. Walls are infinite-mass planes, so total puck momentum can change at a wall even when e is 1.
Orbital gravity
A central star pulls satellites with softened Newtonian gravity, stepped with Velocity Verlet. Drag on the canvas to aim a velocity-vector slingshot and launch a new body. The readout lists speed, distance, and completed orbits.
Questions
Can I change parameters while the run is going?
Gravity, damping, stiffness, restitution, and masses update live. Launch angles and initial velocities apply on Reset if a run is already in progress.
What does Slow-Mo 0.25× do?
It multiplies simulated time by one quarter so a collision or a close approach is easier to watch. A single step advances 1/60 s of simulated time at 1×.