add figs 7 and 8

This commit is contained in:
Scott Richmond 2024-12-02 12:42:08 -05:00
parent c7c970d5cc
commit ce3ef8fbbb

View File

@ -571,17 +571,21 @@ Will `spingon!` ever stop? Try it out.
spingon! (30, 2, inv (36), 1.02, 95)
```
{{Figure 7: Snail-ish spingon. Top of p. 21.}}
<img src="fig_7.svg" alt="Snailish spingon." width="400" />
##### Figure 7: Snail-ish spingon.
```
repeat 3 {
spingon! (4, 120, 0, 0.95, 50)
right! (0.25)
}
spingon! (40, 120, 0, 0.25, 19)
spingon! (4, 120, 0, 0.95, 19)
```
{{Figure 8: Frame-ish spingons. Bottom of p. 21.}}
<img src="fig_8.svg" alt="Framelike spingons." width="400" />
##### Figure 8: Frame-ish spingons. Bottom of p. 21.
### Stopping recursive functions
One last procedural writing point to review.