Build. Share. Explore.

Artistoo (Artificial Tissue Toolbox, formerly called CPMjs) is a framework that lets you build interactive, explorable simulation models of cells and tissues in the web browser.

Example Gallery

Click the images below to see a simulation, or get its source code from the examples/html/ folder in our code repository.

Note: Simulations may not work properly in some versions of Internet Explorer. We recommend opening them in Chrome (which is fast), but any standards-compliant web browser will do. Some simulations will take a few seconds to load because they contain many cells..

CPM examples

We have implemented examples showing various processes that can be simulated with a CPM. You can mix and match elements from these example simulations to build your own simulation. Scroll down for examples of how to make simulations interactive.

Inspiring Magnets

This model of self-organising spins inspired the CPM.

Staying Single

A simple CPM cell with only adhesion/volume constraints.

Just Keep Swimming

A "cell" with modified volume constraint does a random walk.

Back To The Classics

The first CPM: cells sorting through differential adhesion.

Let It Grow

A growing mass of proliferating cells.


Cells aligning their preferred directions.

Dora The Explorer

A cell migrating actively by forming membrane protrusions.

One-Lane Traffic

A migrating cell confined in a microchannel.


Two cells rotating on a micropatterned surface.

A Choreographed Dance

Cells move in a global direction that changes over time.

Attraction At First Sight

Cells move towards a specified target point.

Diffuse And Conquer

A discrete approximation of Diffusion.

Bull's Eye

Cells moving up a chemokine gradient.

Catch Me If You Can!

Cells attracting other cells through specific chemokines.

Holding Tight

A tightly packed layer of epidermal cells.

I'm Just Browsing

T Cells patrolling in the epidermis.

Licence To Kill?

Immune cells invading (but not killing) a growing tumour.

CA examples

Cellular Automata (CA) models are a slightly simpler class of grid-based models. Since a grid is implemented in Artistoo anyway, you can also use the framework to build CAs. Here are some examples.

The Prequel

Before Game of Thrones, there was Conway's Game of Life.

Going Viral

The SIR model of a spreading infection.

Crystal Clear

A crystal growing through diffusion-limited aggregation.

Interactive examples

Learn how to make your simulations interactive? A tutorial will follow soon in the manual, but in the mean time, you can look at these examples for inspiration.

Click Flick

Stop and restart this simulation via a simple mouse click.

Playground Slide

Control this migrating cell's parameters via input sliders.

Control Room

Control many different parameters via input fields.

3D examples

Be warned: things become difficult once you go 3D. But to get you started, have a look at the example code in the examples/3D/ folder.

More Dimensions For Dora To Explore!

An example of a 3D CPM.