Natural Simulations

Independent Particle Approximation

This simulation displays the location of the innermost electron in a lead (pb) atom. We are the IPA method which neglects the accumulative effect of the outer electrons.

View Source Code Here

Snells Law

See the angle of refraction as light travels from air (n=1) into a medium of n=1.4, which is a typical value for standard glass. You must click on screen to adjust the angle of incidence.

Random Walk - Brownian Motion

You may notice that as the particles leave the space, their size and velocity increase by some amount and reset to the center positioon. When they share the exact same point the particles annihilate eachother.

Theater Square Solution

As described by Codeforces problem 1A