This model creates 8 cells at each corner of a cube, and one in the middle. The cell in the middle secretes a substance. The cells are modeled to move according to the extracellular gradient; in this case to the middle.

List the extracellular substances

Initialize biodynamo

Define the substances that cells may secrete

Create 8 cells in a 2x2x2 grid setup

The cell responsible for secretion

Run simulation for n timesteps

Let's visualize the output!