Browse Source

Notes for next chapters.

Herbert Wolverson 4 years ago
parent
commit
60ace5d9b8
3 changed files with 1 additions and 2 deletions
  1. 1 0
      book/src/SUMMARY.md
  2. BIN
      book/src/c30-s1.gif
  3. 0 2
      chapter-30-dla/src/map_builders/dla.rs

+ 1 - 0
book/src/SUMMARY.md

@@ -33,6 +33,7 @@
     - [Drunkard's Walk Maps](./chapter_28.md)
     - [Mazes and Labyrinths](./chapter_29.md)
     - [Diffusion-limited aggregation maps](./chapter_30.md)
+    - Symmetrical DLA
     - Voronoi
     - Noise
     - Quantum Waveform Collapse

BIN
book/src/c30-s1.gif


+ 0 - 2
chapter-30-dla/src/map_builders/dla.rs

@@ -62,8 +62,6 @@ impl DLABuilder {
     fn build(&mut self) {
         let mut rng = RandomNumberGenerator::new();
 
-        // DLA goes here
-
         // Carve a starting seed
         self.starting_position = Position{ x: self.map.width/2, y : self.map.height/2 };
         let start_idx = self.map.xy_idx(self.starting_position.x, self.starting_position.y);