Thu Le's Project 10

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


 My base string is the outside wall of the maze, which is as follows:

(1)F-(1)F[<-w(0.125)f>] - (1)F-(1)F[<-w(0.125)f>]Image Added

The part [<--w(0.125)f>] tells the turtle to go back by a short distance and color that part white (“w” stands for the color white), which creates the entrance and exit of the maze. In addition, I use f instead of F because I want to create new branches from F, but not from the white space drawn by f.

...