@@ -79,7 +79,7 @@ an array of cells that are connected together with the notion of neighbour and
7979their vectorization is straightforward. Let me first define the game and we'll
8080see how to vectorize it.
8181
82- .. admonition :: **Figure**
82+ .. admonition :: **Figure 4.1 **
8383 :class: legend
8484
8585 Conus textile snail exhibits a cellular automaton pattern on its shell.
@@ -185,7 +185,7 @@ The figure below shows 4 iterations on a 4x4 area where the initial state is a
185185`glider <https://en.wikipedia.org/wiki/Glider_(Conway%27s_Life) >`_, a structure
186186discovered by Richard K. Guy in 1970.
187187
188- .. admonition :: **Figure 1 **
188+ .. admonition :: **Figure 4.2 **
189189 :class: legend
190190
191191 The glider pattern is known to replicate itself one step diagonally in 4
@@ -278,7 +278,7 @@ If you look at the `birth` and `survive` lines, you'll see that these two
278278variables are arrays that can be used to set `Z ` values to 1 after having
279279cleared it.
280280
281- .. admonition :: **Figure 2 **
281+ .. admonition :: **Figure 4.3 **
282282 :class: legend
283283
284284 The Game of Life. Gray levels indicate how miuch a cell has been active in
@@ -349,7 +349,7 @@ Zebrafish 0.16 0.08 0.035 0.060
349349The figure below show some animation of the model for a specific set of parameters.
350350
351351
352- .. admonition :: **Figure 3 **
352+ .. admonition :: **Figure 4.4 **
353353 :class: legend
354354
355355 Reaction-diffusion Gray-Scott model. From left to right, *Bacteria 1 *, *Coral * and
@@ -417,7 +417,7 @@ which, if the number is still within some bounds, it is considerered non
417417divergent. Of course, the more iteration you do, the more precision you get.
418418
419419
420- .. admonition :: **Figure**
420+ .. admonition :: **Figure 4.5 **
421421 :class: legend
422422
423423 Romanesco broccoli, showing self-similar form approximating a natural fractal.
@@ -555,7 +555,7 @@ escape cutoff. See reference below about the renormalization of the escape
555555count. Here is a picture of the result where we use recount normalization,
556556and added a power normalized colormap (gamma=0.3) as well as light shading.
557557
558- .. admonition :: **Figure 4**
558+ .. admonition :: **Figure 4.6 **
559559 :class: legend
560560
561561 The Mandelbrot as rendered by maplotlib using recount normalization, power
@@ -584,7 +584,7 @@ the exercise is to write a function using Numpy that takes a two-dimensional
584584float array and return the dimension. We'll consider values in the array to be
585585normalized (i.e. all values are between 0 and 1).
586586
587- .. admonition :: **Figure 5 **
587+ .. admonition :: **Figure 4.7 **
588588 :class: legend
589589
590590 The Minkowski–Bouligand dimension of the Great Britain coastlines is
@@ -623,7 +623,7 @@ update at each iteration. This the case for example in particle systems where
623623particles interact mostly with local neighbours. This is also the case for
624624boids that simulate flocking behaviors.
625625
626- .. admonition :: **Figure**
626+ .. admonition :: **Figure 4.8 **
627627 :class: legend
628628
629629 Flocking birds are an example of self-organization in biology.
@@ -656,7 +656,7 @@ rules. The rules applied in the simplest Boids world are as follows:
656656 local flockmates
657657
658658
659- .. admonition :: **Figure 7 **
659+ .. admonition :: **Figure 4.9 **
660660 :class: legend
661661
662662 Boids are governed by a set of three local rules (separation, cohesion and
@@ -874,17 +874,17 @@ velocity and position:
874874
875875 We finally visualize the result using a custom oriented scatter plot.
876876
877- .. admonition :: **Figure 6 **
877+ .. admonition :: **Figure 4.10 **
878878 :class: legend
879879
880880 Boids is an artificial life program, developed by Craig Reynolds in 1986,
881881 which simulates the flocking behaviour of birds.
882882
883883.. raw :: html
884884
885- <video width =" 100%" class =" bordered" controls >
886- <source src =" data/boids.mp4" type =" video/mp4" >
887- Your browser does not support the video tag. </video >
885+ <video width =" 100%" class =" bordered" controls >
886+ <source src =" data/boids.mp4" type =" video/mp4" >
887+ Your browser does not support the video tag. </video >
888888
889889
890890
0 commit comments