diff --git a/docs/lib3x-mz_hamiltonian.md b/docs/lib3x-mz_hamiltonian.md index 0590f15d..7733f095 100644 --- a/docs/lib3x-mz_hamiltonian.md +++ b/docs/lib3x-mz_hamiltonian.md @@ -9,6 +9,7 @@ Creates a hamiltonian path from a maze. The path is the result of maze traversal - `rows` : The rows of a maze. - `columns` : The columns of a maze. - `start` : The start point to travel the maze. Default to `[0, 0]`. +- `init_cells` : You can define your own initial cell data, a 2-dimension list of `[x, y, type, visited]`. `visited` means the cell is visited or not. A visited cell won't be visited when traveling the maze. If you don't provide `init_cells`, `mz_square` will generate one automatically. If you provide `init_cells`, `rows` and `columns` will be ignored. **Since:** 3.3 - `seed` : The maze is traveling randomly. Use `seed` to initialize the pseudorandom number generator. ## Examples diff --git a/src/experimental/note.md b/src/experimental/note.md index d68fed40..6fa9e64b 100644 --- a/src/experimental/note.md +++ b/src/experimental/note.md @@ -1,12 +1,9 @@ to_do: -- doc: sf, stereographic_extrude add convexity new: -- mz_hamiltonian supports init_cells - - update doc mz_square_initialize +- update doc mz_square_initialize - surface/sf_cylinder? - noise/worley_sphere? @@ -32,3 +29,5 @@ doc-ed - lsystem2, lsystem3, add seed param - t3d - roll/pitch/turn/forward + - sf, stereographic_extrude add convexity + - mz_hamiltonian supports init_cells \ No newline at end of file