MIN04 Lecture, October 2nd 2018
Simple models of dynamic interactions in 2D
Inge Wortel
inge.wortel@radboudumc.nl
Department of Tumor Immunology, Radboudumc
Figure: Mark Gorris, published in The Journal of Immunology ji1701262 (15 November 2017)
Figure adapted from: Frontiers in Immunology volume 6, article 202 (29 April 2015)
Yesterday:
Today:
Cellular automata are simple spatial models:
Example: bacterial colony growth (very simple model):
Think, pair, share (5 min) | |
---|---|
How will the colony in the upper right corner of this slide grow? Is that realistic? Can you think of some way to improve this model? |
You might argue that pixels with more infected
(black) neighbors are more likely
to become infected, so let's change our rule:
$\rightarrow$ chance of becoming black = # black neighbors x 10%
Definition |
---|
We call a model deterministic if the same starting point always leads to the same result. Otherwise, we call it stochastic. |
. |
Key Point |
---|
We can make many different cellular automata by inventing new rules. |
The SIR model: individuals can be
Think, pair, share (5 min) | |
---|---|
How would you convert this model into a cellular automaton? What should the grid represent? And the states? What rules can you come up with, and are they deterministic or stochastic? |
Grid and states:
Rules:
Try it yourself |
---|
Go to computational-immunology.org/sir/, and use the SIR model simulator to answer the questions in the exercise sheet (see Brightspace). |
In Conway's "game of life", pixels on a grid follow 4 simple rules:
Example: | Neighbors: | Result: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
Question | |
---|---|
Is this model deterministic or stochastic? |
Exercise (5 min) |
---|
What will the three grids below look like after one step? Rules:
|
. | . | . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
A
|
B
|
C
|
|
|
|
The rules are pretty simple, so can we predict what will happen in the long run?
Think, pair, share (5 min) | |
---|---|
What will be the end result if we play the game of life long enough? Will we have only black, only white, or both black and white pixels? Will there even be an "end result", or will the grid keep changing? |
The same rules can yield very different behavior depending on initial setup:
Static | Oscillating | Migrating | ||
---|---|---|---|---|
|
![]() |
![]() |
||
![]() |
![]() |
![]() |
Examples from: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
The end result can be pretty complex...
Key Point | |
---|---|
Even with simple rules, it can be hard to predict what happens over time! |
Examples from: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
Try it yourself |
---|
Go to https://bitstorm.org/gameoflife/,
and use the game of life-simulator to answer the questions in the exercise sheet
(see Brightspace).
Please skip exercise 3.2.4. |
.
Question |
---|
How do you think a zebra gets its stripes? |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Alan Turing (1912-1954) |
Movie (2014) |
Turing wondered how symmetry breaking can occur in an organism (morphogenesis). He predicted that a reaction-diffusion system could do the trick if:
Turing himself had to do all computations by hand, but computers can now simulate patterns found in nature!
Another diffusion-reaction model that produces patterns: the Gray-Scott model
The grid:
So what about the rules? They should represent several processes:
Exercise (5 min) | |
---|---|
For each of the processes above, consider a position (pixel) p on the grid. On which grid(s) should the value G(p) at position p be updated (U, V, or both)? Which information (in the current grid of U, V, or both) should we use to determine what the updated value G*(p) should be? |
Diffusion:
Supply of U:
Reaction U $\rightarrow$ V:
Decay of V:
Different patterns are possible in this model:
Try it yourself |
---|
Go to https://mrob.com/pub/comp/xmorphia/ogl/index.html, and use the Gray-Scott simulator to answer the questions in the exercise sheet (see Brightspace). |
Cellular automata:
This afternoon: discuss even more complex models to simulate migrating cells
Discussion |
---|
We have seen that a combination of simple rules can already yield complex behavior, so that it is not always intuitive to predict what will happen over time. What do you think that means for research into the TME? |