Physics Simulations Hub

Browser-based simulations of physics phenomena. All implemented directly in HTML Canvas with no external libraries; they run live in any modern browser.

For static step-by-step problems see the calculator library.

What simulations are good for

A simulation makes a model visible. It lets a reader change one quantity at a time and watch how the system responds. That is especially useful in physics because many relationships are proportional, inverse, squared, or periodic, and those patterns are easier to understand when they move.

The simulations linked here are best used alongside formulas rather than in place of them. In projectile motion, the path shows how horizontal and vertical components behave differently. In orbital motion, the animation turns Newton's law of gravitation into a curved trajectory. In wave interference, the bright and dark regions make phase difference concrete.

How to check a simulation

Every simulation should be tested against limiting cases. If gravity is set to zero, a projectile should not curve downward. If two wave sources are in phase and equally spaced, the interference pattern should have symmetry. If a pendulum starts with a small angle, its motion should approach the familiar small-angle period.

Readers should also compare the visual result with a numerical estimate. Use the calculator library for quick checks: projectile range, pendulum period, wave speed, blackbody wavelength, and time dilation all have formulas that can be evaluated independently. When the simulation and the estimate disagree, the first question should be whether the assumptions are the same.

Future simulations should include clear inputs, stable units, accessible labels, and a short note describing the model's limits. That keeps the page useful for study instead of becoming a visual toy without physics context.

Where to go next

Model limits

Every browser simulation is a simplified model. Air resistance may be ignored, objects may be treated as point masses, waves may be drawn in two dimensions, and numerical time steps may introduce small errors. Those simplifications are acceptable when the page states what is being modeled and gives readers a way to compare the result with a known formula.

The best use of a simulation is to change one control, predict the direction of the change, then run the model. If the result surprises you, pause and identify whether the surprise came from the physics, the units, or the assumptions built into the simulation.

For classroom or self-study use, record the input values before changing them. That makes the simulation repeatable and turns visual exploration into evidence-based reasoning.