The Turtle draws an Octagon Grid via a Random Path. Idea and rules for valid turns to draw path by me. * Run at normal speed. The path is random, so you can use Turbo Mode to finish drawing the grid quickly. The turtle repeatedly draws a line then makes a valid turn randomly. The selection of valid turns depend on the direction that the turtle is currently moving. If the turtle is moving diagonally, it may randomly turn 45 or -45 degrees. If the turtle is moving vertically or horizontally it may randomly turn 45 degrees in the current turn direction, or turn 90 degrees in the opposite direction. If a line goes off the screen, the turtle reverses direction and retraces the line (and also reverses the turn direction).