RUN ON TURBO MODE (SHIFT+click green flag) so that the grid at the start can load faster, Turbo mode not needed for the rest of simulation (although makes it a tiny bit faster). Red dot at beginning signifies where the ant will start. Click to place blozck; z to toggle between placing block and removing block. Space to start simulation
Thanks, @bob6. I used pretty much all your code for this, but I altered the number of colors.