The red square follows 2 rules: at a black square, turn 90 degrees right and move 1 block forward, and at a white square, turn 90 degrees left and move 1 block forward. At the start, use your mouse to set the starting direction, and click to begin. At any time, press space to draw. You can make trails and see if the red block goes on your path. Have fun playing around with it!
Inspired by Langton's arts. Love and fav!