Ant algorithm
UPDATE: You can now hold down [Left mouse button] to spawn ants at the cursor location
Rules:
-if pixel is black: move forward, then turn right
-if pixel is white: move forward, then turn left
-always swap color of current pixel
[Please log in to post a comment]