Soft Matter Demos

This website is aimed at distributing interactive simulation demos that illustrate the wonderful world of soft matter physics.

Self-Assembly Demo

Version 3.0 is available now (for most platforms)! This version includes the ability to simulate polygonal particles with custom shapes, as well as additional plotting features. Changelog

This is an interactive simulation demonstrating self-assembly: particles organizing themselves into different structures. You can use it to simulate the behavior of a box full of particles, and see how they form gases, liquids, and crystals based on the density and temperature. The included models are:

For all models, system parameters can be changed on the fly, and the demo can plot various characteristics of the system (radial distribution function, structure factor, potential energy).

Below is a video of a demonstration of the program, showing the crystallization of hard spheres. More videos can be found on the same channel.


Try the WebGL version »

Please note that the Linux, Mac, and Android versions are somewhat experimental... Please let us know if you encounter any problems!

Zip file instructions: simply download the .zip file, unpack it, and run the executable program found inside (Self-Assembly Demo.exe for Windows, Sim.x86_64 for Linux). Alternatively, you can download the Windows installer, and execute it.

An experimental WebGL version of the demo is also available. Not recommended for mobile devices. Note that performance will be worse than in the downloadable versions.

Note that the MacOS package should work for macOS High Sierra and above (10.13+).

If you have any questions or comments, please contact us at