ScratchData LogoScratchData
Back to papipupepappa's profile

Langton's Ant (4-Color Deluxe)

PApapipupepappa•Created April 15, 2021
Langton's Ant (4-Color Deluxe)
23
20
226 views
View on Scratch

Instructions

Click the arrows to set the turning rule for tiles with the same color as the button. Then click start and watch the ant do its work.

Description

In this version, there are 4 colors for each tile, and you get to decide which way the ant will turn when stepping on those tiles. When stepping on a tile, the color changes in the following order: White ➔ Light gray ➔ Dark gray ➔ Black ➔ White Each turn, the ant will check the color of the tile it is standing on, turn in the direction you have set, change the tile color, and move one tile. Some patterns, like the one I have set as default, are symmetrical. Some have recurring patterns, and some look completely random. What cool patterns can you come up with? Thanks to @Smol_Crewm8 for telling me about Langton's ant. Learn more about Langton's ant here: https://en.wikipedia.org/wiki/Langton%27s_ant

Project Details

Project ID516238986
CreatedApril 15, 2021
Last ModifiedApril 16, 2021
SharedApril 15, 2021
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root