About the library

A modular javascript library for interactive simulations1 by Pascal Grafe

What does it do?

If you see an animated SpiMoSim logo on top of this page, SpiMoSim is running right now in your browser! 2

Every application built with SpiMoSim will 3 run in every modern browser on desktop computers as well as on smartphones and tablet computers because it only relies on web technologies like HTML, Javascript and CSS.

What is its purpose?

Use SpiMoSim if you want an easy way to create a fast web based simulation1. SpiMoSim will take care of as much as possible:

How to build applications with SpiMoSim?

You do not need to be a web developer to get startet with SpiMoSim. You need to know a little Javascript (JSON for the configuration + enough to calculate a simulation step). Download the example application (Ising model) and give it a try!

It is free software!

SpiMoSim is published under the terms and conditions of the MIT-LICENSE.

1Simulation meaning something that is calculated step by step, usually based on some settings chosen by the user and presented graphically. This includes physical, mathematical, financial and biological models, numerical calculations and more. It was primarily developed with physical models (mostly agent based models) in mind.

2What you see is the Multiple Epidemics Model by K. Sneppen et al. run on a 2D lattice (connections between the text and the background were removed):

Sneppen K, Trusina A, Jensen MH, Bornholdt S (2010) A Minimal Model for Multiple Epidemics and Immunity Spreading. PLoS ONE 5(10): e13326. doi:10.1371/journal.pone.0013326

3Let me know if it does not!




More demonstrations can be found at Complex Systems Lab.

Please let me know if you use SpiMoSim for your own projects.

4S. Bornholdt, Expectation bubbles in a spin model of markets: Intermittency from frustration across scales, Int. J. Mod. Phys. C, Vol. 12, No. 5 (2001) 667-674.