Playground

Simulations that run in your browser

These are small simulations and machine learning demos, written in plain JavaScript and sorted into five rooms. You can change the sliders, and in many of them, you can also click or drag on the picture. The ideas behind them are explained on the learn pages, and eight similar simulations also run on an iPhone, in Bead Lab.

Rooms

44 demos

A good one to start with is the same liquid moved by Newton's equations and by four thermostats. Push the time step up, and see which one breaks first.

molecules in motion →