Rules of this game:
- move toward SE by 2 cm
- move toward the center by 25%
Randomize between rule 1 and 2 and plot it on HTML canvas. (The following JS implementation took rules from wikipedia instead of the lecture.)
| w | a | b | c | d | e | f | p |
|---|---|---|---|---|---|---|---|
| f1 | |||||||
| f2 | |||||||
| f3 | |||||||
| f4 |
Iterations count: 0
References:
- Coursera lecture
- Wikipedia on Barnsley fern
- Clojurescript implementation