Langtons ant v2.0

by loucheman
See Code Download Embed
2 simple rules: 
1) if the current pixel is white: charge the color to blue, turn 90 degrees clockwise and move 1 pixel in this direction
2) if the current pixel is blue: charge the color to white, turn 90 degrees counter-clockwise and move 1 pixel in this direction

Created June 9, 2024

Last updated June 9, 2024

Published June 9, 2024