ScratchData LogoScratchData
Back to MrTomec's profile

Langton's Ant

MRMrTomec•Created November 15, 2021
Langton's Ant
1
1
27 views
View on Scratch

Instructions

How do tiny-brained creatures like ants, bees and termites manage to construct gigantic, complex structures with no blueprints, and no set of instructions? The surprising answer might lie in the world of math and coding. In this project, we'll be looking at a famous coding simulation called Langton's Ant which demonstrates how order can emerge from seeming chaos. INSTRUCTIONS: Press a number key to see variations of this experiment. 1. A slowed-down version of the experiment, on a 16px grid, which illustrates how the logic works. 2. A speeded up version of #1 3. Run the experiment on a smaller 4px grid, allowing space for an ant "highway" to form. 4. Place a grid of random black and white squares in the center of the screen to illustrate how the ants navigate pre-existing terrain. 5. Place additional ant clones on the screen

Description

Music track: Cosmic Imagination This is a project by Chromeworks, a teacher-led, non-profit initiative aimed at transforming children from passive consumers of technology into active creators. Our camps, in-school workshops and YouTube content harness kids' natural love of video games and challenge learners to make ever more complex projects that inspire growth and learning. For more fun and free technology lessons, subscribe to our YouTube channel or visit our website at chromeworks.ca.

Project Details

Project ID601573649
CreatedNovember 15, 2021
Last ModifiedNovember 24, 2021
SharedNovember 20, 2021
Visibilityvisible
CommentsAllowed