CINXE.COM
Langton's ant - Wikipedia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Langton's ant - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"9de00c4d-0640-49d1-841b-cc3ef1bc7623","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Langton's_ant","wgTitle":"Langton's ant","wgCurRevisionId":1239482896,"wgRevisionId":1239482896,"wgArticleId":105016,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Articles with short description","Short description matches Wikidata","Use dmy dates from April 2018","Artificial life","Cellular automaton rules","Turing machine"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Langton's_ant","wgRelevantArticleId":105016,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia", "wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"wgRelatedArticlesCompat":[],"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q460805","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={ "ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","mediawiki.page.gallery.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents", "ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.cite.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cmediawiki.page.gallery.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/0/01/LangtonsAnt.svg/1200px-LangtonsAnt.svg.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1200"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/0/01/LangtonsAnt.svg/800px-LangtonsAnt.svg.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="800"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/0/01/LangtonsAnt.svg/640px-LangtonsAnt.svg.png"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="640"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Langton's ant - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Langton%27s_ant"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Langton%27s_ant&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Langton%27s_ant"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Langton_s_ant rootpage-Langton_s_ant skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=Langton%27s+ant" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=Langton%27s+ant" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Langton%27s+ant" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Langton%27s+ant" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Rules" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Rules"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Rules</span> </div> </a> <ul id="toc-Rules-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Modes_of_behavior" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Modes_of_behavior"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Modes of behavior</span> </div> </a> <ul id="toc-Modes_of_behavior-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Computational_properties" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Computational_properties"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Computational properties</span> </div> </a> <ul id="toc-Computational_properties-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Extension_to_multiple_colors" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Extension_to_multiple_colors"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Extension to multiple colors</span> </div> </a> <ul id="toc-Extension_to_multiple_colors-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Extension_to_multiple_states" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Extension_to_multiple_states"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Extension to multiple states</span> </div> </a> <ul id="toc-Extension_to_multiple_states-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Extension_to_multiple_ants" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Extension_to_multiple_ants"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Extension to multiple ants</span> </div> </a> <ul id="toc-Extension_to_multiple_ants-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>References</span> </div> </a> <ul id="toc-References-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-External_links" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#External_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>External links</span> </div> </a> <ul id="toc-External_links-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Langton's ant</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 16 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-16" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">16 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Formiga_de_Langton" title="Formiga de Langton – Catalan" lang="ca" hreflang="ca" data-title="Formiga de Langton" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Ameise_(Turingmaschine)" title="Ameise (Turingmaschine) – German" lang="de" hreflang="de" data-title="Ameise (Turingmaschine)" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Hormiga_de_Langton" title="Hormiga de Langton – Spanish" lang="es" hreflang="es" data-title="Hormiga de Langton" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D9%85%D9%88%D8%B1%DA%86%D9%87_%D9%84%D9%86%DA%AF%D8%AA%D9%88%D9%86" title="مورچه لنگتون – Persian" lang="fa" hreflang="fa" data-title="مورچه لنگتون" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Fourmi_de_Langton" title="Fourmi de Langton – French" lang="fr" hreflang="fr" data-title="Fourmi de Langton" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EB%9E%AD%ED%84%B4%EC%9D%98_%EA%B0%9C%EB%AF%B8" title="랭턴의 개미 – Korean" lang="ko" hreflang="ko" data-title="랭턴의 개미" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/%D4%BC%D5%A1%D5%B6%D5%A3%D5%BF%D5%B8%D5%B6%D5%AB_%D5%B4%D6%80%D5%BB%D5%B5%D5%B8%D6%82%D5%B6" title="Լանգտոնի մրջյուն – Armenian" lang="hy" hreflang="hy" data-title="Լանգտոնի մրջյուն" data-language-autonym="Հայերեն" data-language-local-name="Armenian" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Formica_di_Langton" title="Formica di Langton – Italian" lang="it" hreflang="it" data-title="Formica di Langton" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%94%D7%A0%D7%9E%D7%9C%D7%94_%D7%A9%D7%9C_%D7%9C%D7%A0%D7%92%D7%98%D7%95%D7%9F" title="הנמלה של לנגטון – Hebrew" lang="he" hreflang="he" data-title="הנמלה של לנגטון" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/%E3%83%A9%E3%83%B3%E3%82%B0%E3%83%88%E3%83%B3%E3%81%AE%E3%82%A2%E3%83%AA" title="ラングトンのアリ – Japanese" lang="ja" hreflang="ja" data-title="ラングトンのアリ" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Mr%C3%B3wka_Langtona" title="Mrówka Langtona – Polish" lang="pl" hreflang="pl" data-title="Mrówka Langtona" data-language-autonym="Polski" data-language-local-name="Polish" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Formiga_de_Langton" title="Formiga de Langton – Portuguese" lang="pt" hreflang="pt" data-title="Formiga de Langton" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%9C%D1%83%D1%80%D0%B0%D0%B2%D0%B5%D0%B9_%D0%9B%D1%8D%D0%BD%D0%B3%D1%82%D0%BE%D0%BD%D0%B0" title="Муравей Лэнгтона – Russian" lang="ru" hreflang="ru" data-title="Муравей Лэнгтона" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Langtons_myra" title="Langtons myra – Swedish" lang="sv" hreflang="sv" data-title="Langtons myra" data-language-autonym="Svenska" data-language-local-name="Swedish" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%9C%D1%83%D1%80%D0%B0%D1%85%D0%B0_%D0%9B%D0%B5%D0%BD%D0%B3%D1%82%D0%BE%D0%BD%D0%B0" title="Мураха Ленгтона – Ukrainian" lang="uk" hreflang="uk" data-title="Мураха Ленгтона" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/%E5%85%B0%E9%A1%BF%E8%9A%82%E8%9A%81" title="兰顿蚂蚁 – Chinese" lang="zh" hreflang="zh" data-title="兰顿蚂蚁" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q460805#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Langton%27s_ant" title="View the content page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:Langton%27s_ant" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Langton%27s_ant"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Langton%27s_ant&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Langton%27s_ant&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Langton%27s_ant"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Langton%27s_ant&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Langton%27s_ant&action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Langton%27s_ant" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Langton%27s_ant" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Langton%27s_ant&oldid=1239482896" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Langton%27s_ant&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&page=Langton%27s_ant&id=1239482896&wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FLangton%2527s_ant"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FLangton%2527s_ant"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Langton%27s_ant&action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Langton%27s_ant&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Langton%27s_ant" hreflang="en"><span>Wikimedia Commons</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q460805" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Two-dimensional Turing machine with emergent behavior</div> <p class="mw-empty-elt"> </p> <div id="LangtonsAnt" style="float:right;"></div> <figure class="mw-halign-right" typeof="mw:File/Frame"><a href="/wiki/File:LangtonsAnt.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/0/01/LangtonsAnt.svg/184px-LangtonsAnt.svg.png" decoding="async" width="184" height="184" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/01/LangtonsAnt.svg/276px-LangtonsAnt.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/01/LangtonsAnt.svg/368px-LangtonsAnt.svg.png 2x" data-file-width="184" data-file-height="184" /></a><figcaption>Langton's ant after 11,000 steps. A red pixel shows the ant's location.</figcaption></figure> <p><b>Langton's ant</b> is a two-dimensional <a href="/wiki/Turing_machine" title="Turing machine">Turing machine</a> with a very simple set of rules but complex <a href="/wiki/Emergence" title="Emergence">emergent</a> behavior. It was invented by <a href="/wiki/Chris_Langton" class="mw-redirect" title="Chris Langton">Chris Langton</a> in 1986 and runs on a <a href="/wiki/Square_tiling" title="Square tiling">square lattice</a> of black and white cells.<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> The idea has been generalized in several different ways, such as <a href="/wiki/Turmite" title="Turmite">turmites</a> which add more colors and more states. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Rules">Rules</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=1" title="Edit section: Rules"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-halign-right" typeof="mw:File/Thumb"><a href="/wiki/File:LangtonsAntAnimated.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/0/09/LangtonsAntAnimated.gif" decoding="async" width="353" height="353" class="mw-file-element" data-file-width="353" data-file-height="353" /></a><figcaption>Animation of first 200 steps of Langton's ant</figcaption></figure> <p>Squares on a plane are colored variously either black or white. We arbitrarily identify one square as the "ant". The ant can travel in any of the four cardinal directions at each step it takes. The "ant" moves according to the rules below: </p> <ul><li>At a white square, turn 90° clockwise, flip the color of the square, move forward one unit</li> <li>At a black square, turn 90° counter-clockwise, flip the color of the square, move forward one unit</li></ul> <p>Langton's ant can also be described as a <a href="/wiki/Cellular_automaton" title="Cellular automaton">cellular automaton</a>, where the grid is colored black or white and the "ant" square has one of eight different colors assigned to encode the combination of black/white state and the current direction of motion of the ant.<sup id="cite_ref-Gajardo2000_2-0" class="reference"><a href="#cite_note-Gajardo2000-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Modes_of_behavior">Modes of behavior</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=2" title="Edit section: Modes of behavior"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>These simple rules lead to complex behavior. Three distinct modes of behavior are apparent,<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> when starting on a completely white grid. </p> <ol><li>Simplicity. During the first few hundred moves it creates very simple patterns which are often <a href="/wiki/Symmetry" title="Symmetry">symmetric</a>.</li> <li>Chaos. After a few hundred moves, a large, irregular pattern of black and white squares appears. The ant traces a <a href="/wiki/Pseudorandomness" title="Pseudorandomness">pseudo-random</a> path until around 10,000 steps.</li> <li>Emergent order. Finally the ant starts building a recurrent "highway" pattern of 104 steps that repeats indefinitely.</li></ol> <p>All <a href="/wiki/Finite-state_machine" title="Finite-state machine">finite</a> initial configurations tested eventually converge to the same repetitive pattern, suggesting that the "highway" is an <a href="/wiki/Attractor" title="Attractor">attractor</a> of Langton's ant, but no one has been able to prove that this is true for all such initial configurations. It is only known that the ant's trajectory is always unbounded regardless of the initial configuration<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> – this is known as the <a href="/wiki/E.G.D._Cohen" class="mw-redirect" title="E.G.D. Cohen">Cohen</a>-Kong theorem.<sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Computational_properties">Computational properties</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=3" title="Edit section: Computational properties"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>In 2000, Gajardo et al. showed a construction that calculates any <a href="/wiki/Boolean_circuit" title="Boolean circuit">boolean circuit</a> using the trajectory of a single instance of Langton's ant.<sup id="cite_ref-Gajardo2000_2-1" class="reference"><a href="#cite_note-Gajardo2000-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Extension_to_multiple_colors">Extension to multiple colors</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=4" title="Edit section: Extension to multiple colors"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Greg_Turk" title="Greg Turk">Greg Turk</a> and <a href="/wiki/Jim_Propp" title="Jim Propp">Jim Propp</a> considered a simple extension to Langton's ant where instead of just two colors, more colors are used.<sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> The colors are modified in a cyclic fashion. A simple naming scheme is used: for each of the successive colors, a letter "L" or "R" is used to indicate whether a left or right turn should be taken. Langton's ant has the name "RL" in this naming scheme. </p><p>Some of these extended Langton's ants produce patterns that become <a href="/wiki/Symmetric" class="mw-redirect" title="Symmetric">symmetric</a> over and over again. One of the simplest examples is the ant "RLLR". One sufficient condition for this to happen is that the ant's name, seen as a cyclic list, consists of consecutive pairs of identical letters "LL" or "RR". (the term "cyclic list" indicates that the last letter may pair with the first one) The proof involves <a href="/wiki/Truchet_tiles" title="Truchet tiles">Truchet tiles</a>. </p> <ul class="gallery mw-gallery-traditional"> <li class="gallerycaption">Some example patterns in the multiple-color extension of Langton's ants:</li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:LangtonsAnt-nColor_RLR_13937.png" class="mw-file-description" title="RLR: Grows chaotically. It is not known whether this ant ever produces a highway."><img alt="RLR: Grows chaotically. It is not known whether this ant ever produces a highway." src="//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/LangtonsAnt-nColor_RLR_13937.png/120px-LangtonsAnt-nColor_RLR_13937.png" decoding="async" width="120" height="114" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/LangtonsAnt-nColor_RLR_13937.png/180px-LangtonsAnt-nColor_RLR_13937.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/fa/LangtonsAnt-nColor_RLR_13937.png/240px-LangtonsAnt-nColor_RLR_13937.png 2x" data-file-width="496" data-file-height="472" /></a></span></div> <div class="gallerytext">RLR: Grows chaotically. It is not known whether this ant ever produces a highway.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:LangtonsAnt-nColor_LLRR_123157.png" class="mw-file-description" title="LLRR: Grows symmetrically."><img alt="LLRR: Grows symmetrically." src="//upload.wikimedia.org/wikipedia/commons/thumb/2/28/LangtonsAnt-nColor_LLRR_123157.png/120px-LangtonsAnt-nColor_LLRR_123157.png" decoding="async" width="120" height="114" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/2/28/LangtonsAnt-nColor_LLRR_123157.png/180px-LangtonsAnt-nColor_LLRR_123157.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/2/28/LangtonsAnt-nColor_LLRR_123157.png/240px-LangtonsAnt-nColor_LLRR_123157.png 2x" data-file-width="496" data-file-height="472" /></a></span></div> <div class="gallerytext">LLRR: Grows symmetrically.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:LangtonsAnt-nColor_LRRRRRLLR_70273.png" class="mw-file-description" title="LRRRRRLLR: Fills space in a square around itself."><img alt="LRRRRRLLR: Fills space in a square around itself." src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c6/LangtonsAnt-nColor_LRRRRRLLR_70273.png/120px-LangtonsAnt-nColor_LRRRRRLLR_70273.png" decoding="async" width="120" height="114" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c6/LangtonsAnt-nColor_LRRRRRLLR_70273.png/180px-LangtonsAnt-nColor_LRRRRRLLR_70273.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c6/LangtonsAnt-nColor_LRRRRRLLR_70273.png/240px-LangtonsAnt-nColor_LRRRRRLLR_70273.png 2x" data-file-width="496" data-file-height="472" /></a></span></div> <div class="gallerytext">LRRRRRLLR: Fills space in a square around itself.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:LangtonsAnt-nColor_LLRRRLRLRLLR_36437.png" class="mw-file-description" title="LLRRRLRLRLLR: Creates a convoluted highway."><img alt="LLRRRLRLRLLR: Creates a convoluted highway." src="//upload.wikimedia.org/wikipedia/commons/thumb/f/f9/LangtonsAnt-nColor_LLRRRLRLRLLR_36437.png/120px-LangtonsAnt-nColor_LLRRRLRLRLLR_36437.png" decoding="async" width="120" height="114" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/f9/LangtonsAnt-nColor_LLRRRLRLRLLR_36437.png/180px-LangtonsAnt-nColor_LLRRRLRLRLLR_36437.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/f9/LangtonsAnt-nColor_LLRRRLRLRLLR_36437.png/240px-LangtonsAnt-nColor_LLRRRLRLRLLR_36437.png 2x" data-file-width="496" data-file-height="472" /></a></span></div> <div class="gallerytext">LLRRRLRLRLLR: Creates a convoluted highway.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:LangtonsAnt-nColor_RRLLLRLLLRRR_32734.png" class="mw-file-description" title="RRLLLRLLLRRR: Creates a filled triangle shape that grows and moves after 15900~ iterations."><img alt="RRLLLRLLLRRR: Creates a filled triangle shape that grows and moves after 15900~ iterations." src="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/LangtonsAnt-nColor_RRLLLRLLLRRR_32734.png/120px-LangtonsAnt-nColor_RRLLLRLLLRRR_32734.png" decoding="async" width="120" height="114" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/LangtonsAnt-nColor_RRLLLRLLLRRR_32734.png/180px-LangtonsAnt-nColor_RRLLLRLLLRRR_32734.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/da/LangtonsAnt-nColor_RRLLLRLLLRRR_32734.png/240px-LangtonsAnt-nColor_RRLLLRLLLRRR_32734.png 2x" data-file-width="496" data-file-height="472" /></a></span></div> <div class="gallerytext">RRLLLRLLLRRR: Creates a filled triangle shape that grows and moves after 15900~ iterations.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:CA3061-81k7.png" class="mw-file-description" title="L2NNL1L2L1: Hexagonal grid, grows circularly."><img alt="L2NNL1L2L1: Hexagonal grid, grows circularly." src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/CA3061-81k7.png/120px-CA3061-81k7.png" decoding="async" width="120" height="113" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ed/CA3061-81k7.png/180px-CA3061-81k7.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ed/CA3061-81k7.png/240px-CA3061-81k7.png 2x" data-file-width="2560" data-file-height="2420" /></a></span></div> <div class="gallerytext">L<sub>2</sub>NNL<sub>1</sub>L<sub>2</sub>L<sub>1</sub>: Hexagonal grid, grows circularly.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:CA174906.png" class="mw-file-description" title="L1L2NUL2L1R2: Hexagonal grid, spiral growth."><img alt="L1L2NUL2L1R2: Hexagonal grid, spiral growth." src="//upload.wikimedia.org/wikipedia/commons/thumb/c/ce/CA174906.png/120px-CA174906.png" decoding="async" width="120" height="109" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/ce/CA174906.png/180px-CA174906.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/ce/CA174906.png/240px-CA174906.png 2x" data-file-width="3590" data-file-height="3260" /></a></span></div> <div class="gallerytext">L<sub>1</sub>L<sub>2</sub>NUL<sub>2</sub>L<sub>1</sub>R<sub>2</sub>: Hexagonal grid, spiral growth.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:CA50338_animation.gif" class="mw-file-description" title="R1R2NUR2R1L2: Animation."><img alt="R1R2NUR2R1L2: Animation." src="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/CA50338_animation.gif/114px-CA50338_animation.gif" decoding="async" width="114" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/CA50338_animation.gif/171px-CA50338_animation.gif 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/4a/CA50338_animation.gif/229px-CA50338_animation.gif 2x" data-file-width="464" data-file-height="487" /></a></span></div> <div class="gallerytext">R<sub>1</sub>R<sub>2</sub>NUR<sub>2</sub>R<sub>1</sub>L<sub>2</sub>: Animation.</div> </li> </ul> <p>The hexagonal grid permits up to six different rotations, which are notated here as N (no change), R<sub>1</sub> (60° clockwise), R<sub>2</sub> (120° clockwise), U (180°), L<sub>2</sub> (120° counter-clockwise), L<sub>1</sub> (60° counter-clockwise). </p> <div class="mw-heading mw-heading2"><h2 id="Extension_to_multiple_states">Extension to multiple states</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=5" title="Edit section: Extension to multiple states"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="/wiki/Turmite" title="Turmite">Turmite</a></div> <p>A further extension of Langton's ants is to consider multiple states of the Turing machine – as if the ant itself has a color that can change. These ants are called <a href="/wiki/Turmite" title="Turmite">turmites</a>, a contraction of "Turing machine <a href="/wiki/Termite" title="Termite">termites</a>". Common behaviours include the production of highways, chaotic growth and spiral growth.<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup> </p> <ul class="gallery mw-gallery-traditional"> <li class="gallerycaption">Some example turmites:</li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Turmite-111180121010-12536.svg" class="mw-file-description" title="Spiral growth."><img alt="Spiral growth." src="//upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Turmite-111180121010-12536.svg/105px-Turmite-111180121010-12536.svg.png" decoding="async" width="105" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Turmite-111180121010-12536.svg/158px-Turmite-111180121010-12536.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/c0/Turmite-111180121010-12536.svg/211px-Turmite-111180121010-12536.svg.png 2x" data-file-width="204" data-file-height="232" /></a></span></div> <div class="gallerytext">Spiral growth.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Turmite-120121010011-8342.svg" class="mw-file-description" title="Semi-chaotic growth."><img alt="Semi-chaotic growth." src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Turmite-120121010011-8342.svg/106px-Turmite-120121010011-8342.svg.png" decoding="async" width="106" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Turmite-120121010011-8342.svg/158px-Turmite-120121010011-8342.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Turmite-120121010011-8342.svg/211px-Turmite-120121010011-8342.svg.png 2x" data-file-width="512" data-file-height="582" /></a></span></div> <div class="gallerytext">Semi-chaotic growth.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Turmite-121021110111-27731.svg" class="mw-file-description" title="Production of a highway after a period of chaotic growth."><img alt="Production of a highway after a period of chaotic growth." src="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/Turmite-121021110111-27731.svg/105px-Turmite-121021110111-27731.svg.png" decoding="async" width="105" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/88/Turmite-121021110111-27731.svg/158px-Turmite-121021110111-27731.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/88/Turmite-121021110111-27731.svg/211px-Turmite-121021110111-27731.svg.png 2x" data-file-width="204" data-file-height="232" /></a></span></div> <div class="gallerytext">Production of a highway after a period of chaotic growth.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Turmite-121181121020-65932.svg" class="mw-file-description" title="Chaotic growth with a distinctive texture."><img alt="Chaotic growth with a distinctive texture." src="//upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Turmite-121181121020-65932.svg/105px-Turmite-121181121020-65932.svg.png" decoding="async" width="105" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Turmite-121181121020-65932.svg/158px-Turmite-121181121020-65932.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Turmite-121181121020-65932.svg/211px-Turmite-121181121020-65932.svg.png 2x" data-file-width="204" data-file-height="232" /></a></span></div> <div class="gallerytext">Chaotic growth with a distinctive texture.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Turmite-180121020081-223577.svg" class="mw-file-description" title="Growth with a distinctive texture inside an expanding frame."><img alt="Growth with a distinctive texture inside an expanding frame." src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Turmite-180121020081-223577.svg/105px-Turmite-180121020081-223577.svg.png" decoding="async" width="105" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Turmite-180121020081-223577.svg/158px-Turmite-180121020081-223577.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Turmite-180121020081-223577.svg/211px-Turmite-180121020081-223577.svg.png 2x" data-file-width="204" data-file-height="232" /></a></span></div> <div class="gallerytext">Growth with a distinctive texture inside an expanding frame.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Turmite-181181121010-10211.svg" class="mw-file-description" title="Constructing a Fibonacci spiral."><img alt="Constructing a Fibonacci spiral." src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Turmite-181181121010-10211.svg/105px-Turmite-181181121010-10211.svg.png" decoding="async" width="105" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Turmite-181181121010-10211.svg/158px-Turmite-181181121010-10211.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Turmite-181181121010-10211.svg/211px-Turmite-181181121010-10211.svg.png 2x" data-file-width="204" data-file-height="232" /></a></span></div> <div class="gallerytext">Constructing a <a href="/wiki/Fibonacci_spiral" class="mw-redirect" title="Fibonacci spiral">Fibonacci spiral</a>.</div> </li> <li class="gallerybox" style="width: 155px"> <div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:File"><a href="/wiki/File:Turmite_creating_a_growing_diamond.png" class="mw-file-description" title="Constructing a growing diamond"><img alt="Constructing a growing diamond" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Turmite_creating_a_growing_diamond.png/120px-Turmite_creating_a_growing_diamond.png" decoding="async" width="120" height="120" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d5/Turmite_creating_a_growing_diamond.png/180px-Turmite_creating_a_growing_diamond.png 1.5x, //upload.wikimedia.org/wikipedia/commons/d/d5/Turmite_creating_a_growing_diamond.png 2x" data-file-width="200" data-file-height="200" /></a></span></div> <div class="gallerytext">Constructing a growing diamond</div> </li> </ul> <div class="mw-heading mw-heading2"><h2 id="Extension_to_multiple_ants">Extension to multiple ants</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=6" title="Edit section: Extension to multiple ants"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-halign-right" typeof="mw:File/Thumb"><a href="/wiki/File:Langton%27s_Ant_colony.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/8/82/Langton%27s_Ant_colony.gif" decoding="async" width="402" height="265" class="mw-file-element" data-file-width="402" data-file-height="265" /></a><figcaption>A colony (as an absolute oscillator) builds a triangle</figcaption></figure> <p>Multiple Langton's ants can co-exist on the 2D plane, and their interactions give rise to complex, higher-order automata that collectively build a wide variety of organized structures. </p><p>There are different ways of modelling their interaction and the results of the simulation may strongly depend on the choices made.<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> </p><p>Multiple turmites can co-exist on the 2D plane as long as there is a rule that defines what happens when they meet. <a href="/wiki/Ed_Pegg,_Jr." class="mw-redirect" title="Ed Pegg, Jr.">Ed Pegg, Jr.</a> considered ants that can turn for example <i>both</i> left and right, splitting in two and annihilating each other when they meet.<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=7" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Conway%27s_Game_of_Life" title="Conway's Game of Life">Conway's Game of Life</a> – Two-dimensional cellular automaton</li> <li><a href="/wiki/Langton%27s_loops" title="Langton's loops">Langton's loops</a> – Self-reproducing cellular automaton patterns</li> <li><a href="/wiki/Paterson%27s_worms" title="Paterson's worms">Paterson's worms</a> – Family of cellular automata to model feeding behaviour</li></ul> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=8" title="Edit section: References"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite id="CITEREFLangton1986" class="citation journal cs1">Langton, Chris G. (1986). <a rel="nofollow" class="external text" href="https://deepblue.lib.umich.edu/bitstream/2027.42/26022/1/0000093.pdf">"Studying artificial life with cellular automata"</a> <span class="cs1-format">(PDF)</span>. <i>Physica D: Nonlinear Phenomena</i>. <b>22</b> (1–3): 120–149. <a href="/wiki/Bibcode_(identifier)" class="mw-redirect" title="Bibcode (identifier)">Bibcode</a>:<a rel="nofollow" class="external text" href="https://ui.adsabs.harvard.edu/abs/1986PhyD...22..120L">1986PhyD...22..120L</a>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2F0167-2789%2886%2990237-X">10.1016/0167-2789(86)90237-X</a>. <a href="/wiki/Hdl_(identifier)" class="mw-redirect" title="Hdl (identifier)">hdl</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://hdl.handle.net/2027.42%2F26022">2027.42/26022</a></span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Physica+D%3A+Nonlinear+Phenomena&rft.atitle=Studying+artificial+life+with+cellular+automata&rft.volume=22&rft.issue=1%E2%80%933&rft.pages=120-149&rft.date=1986&rft_id=info%3Ahdl%2F2027.42%2F26022&rft_id=info%3Adoi%2F10.1016%2F0167-2789%2886%2990237-X&rft_id=info%3Abibcode%2F1986PhyD...22..120L&rft.aulast=Langton&rft.aufirst=Chris+G.&rft_id=https%3A%2F%2Fdeepblue.lib.umich.edu%2Fbitstream%2F2027.42%2F26022%2F1%2F0000093.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span></span> </li> <li id="cite_note-Gajardo2000-2"><span class="mw-cite-backlink">^ <a href="#cite_ref-Gajardo2000_2-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Gajardo2000_2-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFGajardoMoreiraGoles2002" class="citation journal cs1">Gajardo, A.; Moreira, A.; Goles, E. (15 March 2002). <a rel="nofollow" class="external text" href="http://www.dim.uchile.cl/~anmoreir/oficial/langton_dam.pdf">"Complexity of Langton's ant"</a> <span class="cs1-format">(PDF)</span>. <i>Discrete Applied Mathematics</i>. <b>117</b> (1–3): 41–50. <a href="/wiki/ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/nlin/0306022">nlin/0306022</a></span>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2FS0166-218X%2800%2900334-6">10.1016/S0166-218X(00)00334-6</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:1107883">1107883</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Discrete+Applied+Mathematics&rft.atitle=Complexity+of+Langton%27s+ant&rft.volume=117&rft.issue=1%E2%80%933&rft.pages=41-50&rft.date=2002-03-15&rft_id=info%3Aarxiv%2Fnlin%2F0306022&rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A1107883%23id-name%3DS2CID&rft_id=info%3Adoi%2F10.1016%2FS0166-218X%2800%2900334-6&rft.aulast=Gajardo&rft.aufirst=A.&rft.au=Moreira%2C+A.&rft.au=Goles%2C+E.&rft_id=http%3A%2F%2Fwww.dim.uchile.cl%2F~anmoreir%2Foficial%2Flangton_dam.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span></span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFPratchettStewartCohen1999" class="citation book cs1">Pratchett, Terry; Stewart, Ian; Cohen, Jack (1999). <a href="/wiki/The_Science_of_Discworld" title="The Science of Discworld"><i>The Science Of Discworld</i></a>. <a href="/wiki/Ebury_Press" class="mw-redirect" title="Ebury Press">Ebury Press</a>. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <a href="/wiki/Special:BookSources/978-0091865153" title="Special:BookSources/978-0091865153"><bdi>978-0091865153</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=The+Science+Of+Discworld&rft.pub=Ebury+Press&rft.date=1999&rft.isbn=978-0091865153&rft.aulast=Pratchett&rft.aufirst=Terry&rft.au=Stewart%2C+Ian&rft.au=Cohen%2C+Jack&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span></span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBunimovichTroubetzkoy1992" class="citation journal cs1">Bunimovich, Leonid A.; Troubetzkoy, Serge E. (1992). "Recurrence properties of Lorentz lattice gas cellular automata". <i>Journal of Statistical Physics</i>. <b>67</b> (1–2): 289–302. <a href="/wiki/Bibcode_(identifier)" class="mw-redirect" title="Bibcode (identifier)">Bibcode</a>:<a rel="nofollow" class="external text" href="https://ui.adsabs.harvard.edu/abs/1992JSP....67..289B">1992JSP....67..289B</a>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2FBF01049035">10.1007/BF01049035</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:121346477">121346477</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Journal+of+Statistical+Physics&rft.atitle=Recurrence+properties+of+Lorentz+lattice+gas+cellular+automata&rft.volume=67&rft.issue=1%E2%80%932&rft.pages=289-302&rft.date=1992&rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A121346477%23id-name%3DS2CID&rft_id=info%3Adoi%2F10.1007%2FBF01049035&rft_id=info%3Abibcode%2F1992JSP....67..289B&rft.aulast=Bunimovich&rft.aufirst=Leonid+A.&rft.au=Troubetzkoy%2C+Serge+E.&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span></span> </li> <li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFStewart1994" class="citation journal cs1">Stewart, I. (1994). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20160303211426/http://dev.whydomath.org/Reading_Room_Material/ian_stewart/AntyParticles.pdf">"The Ultimate in Anty-Particles"</a> <span class="cs1-format">(PDF)</span>. <i>Sci. Am</i>. <b>271</b> (1): 104–107. <a href="/wiki/Bibcode_(identifier)" class="mw-redirect" title="Bibcode (identifier)">Bibcode</a>:<a rel="nofollow" class="external text" href="https://ui.adsabs.harvard.edu/abs/1994SciAm.271a.104S">1994SciAm.271a.104S</a>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1038%2Fscientificamerican0794-104">10.1038/scientificamerican0794-104</a>. Archived from <a rel="nofollow" class="external text" href="http://dev.whydomath.org/Reading_Room_Material/ian_stewart/AntyParticles.pdf">the original</a> <span class="cs1-format">(PDF)</span> on 3 March 2016<span class="reference-accessdate">. Retrieved <span class="nowrap">6 May</span> 2013</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Sci.+Am.&rft.atitle=The+Ultimate+in+Anty-Particles&rft.volume=271&rft.issue=1&rft.pages=104-107&rft.date=1994&rft_id=info%3Adoi%2F10.1038%2Fscientificamerican0794-104&rft_id=info%3Abibcode%2F1994SciAm.271a.104S&rft.aulast=Stewart&rft.aufirst=I.&rft_id=http%3A%2F%2Fdev.whydomath.org%2FReading_Room_Material%2Fian_stewart%2FAntyParticles.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span></span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFGaleProppSutherlandTroubetzkoy1995" class="citation journal cs1">Gale, D.; Propp, J.; Sutherland, S.; Troubetzkoy, S. (1995). "Further Travels with My Ant". <i>Mathematical Entertainments Column, Mathematical Intelligencer</i>. <b>17</b>: 48–56. <a href="/wiki/ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/math/9501233">math/9501233</a></span>. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2FBF03024370">10.1007/BF03024370</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:123800756">123800756</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Mathematical+Entertainments+Column%2C+Mathematical+Intelligencer&rft.atitle=Further+Travels+with+My+Ant&rft.volume=17&rft.pages=48-56&rft.date=1995&rft_id=info%3Aarxiv%2Fmath%2F9501233&rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A123800756%23id-name%3DS2CID&rft_id=info%3Adoi%2F10.1007%2FBF03024370&rft.aulast=Gale&rft.aufirst=D.&rft.au=Propp%2C+J.&rft.au=Sutherland%2C+S.&rft.au=Troubetzkoy%2C+S.&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span></span> </li> <li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFPegg,_Jr." class="citation web cs1">Pegg, Jr., Ed. <a rel="nofollow" class="external text" href="http://mathworld.wolfram.com/Turmite.html">"Turmite"</a>. From MathWorld--A Wolfram Web Resource, created by <a href="/wiki/Eric_W._Weisstein" title="Eric W. Weisstein">Eric W. Weisstein</a><span class="reference-accessdate">. Retrieved <span class="nowrap">15 October</span> 2009</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Turmite&rft.pub=From+MathWorld--A+Wolfram+Web+Resource%2C+created+by+Eric+W.+Weisstein&rft.aulast=Pegg%2C+Jr.&rft.aufirst=Ed&rft_id=http%3A%2F%2Fmathworld.wolfram.com%2FTurmite.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span>.</span> </li> <li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBelgacemFatès2012" class="citation journal cs1">Belgacem, S.; Fatès, N. (2012). <a rel="nofollow" class="external text" href="https://hal.inria.fr/inria-00462438/file/AsynchRobustnessTurmites.pdf">"Robustness of Multi-agent Models: The Example of Collaboration between Turmites with Synchronous and Asynchronous Updating"</a> <span class="cs1-format">(PDF)</span>. <i>Complex Systems</i>. <b>21</b> (3): 165–182. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.25088%2FComplexSystems.21.3.165">10.25088/ComplexSystems.21.3.165</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Complex+Systems&rft.atitle=Robustness+of+Multi-agent+Models%3A+The+Example+of+Collaboration+between+Turmites+with+Synchronous+and+Asynchronous+Updating&rft.volume=21&rft.issue=3&rft.pages=165-182&rft.date=2012&rft_id=info%3Adoi%2F10.25088%2FComplexSystems.21.3.165&rft.aulast=Belgacem&rft.aufirst=S.&rft.au=Fat%C3%A8s%2C+N.&rft_id=https%3A%2F%2Fhal.inria.fr%2Finria-00462438%2Ffile%2FAsynchRobustnessTurmites.pdf&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span></span> </li> <li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFPegg,_Jr." class="citation web cs1">Pegg, Jr., Ed. <a rel="nofollow" class="external text" href="http://www.mathpuzzle.com/26Mar03.html">"Math Puzzle"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">15 October</span> 2009</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Math+Puzzle&rft.aulast=Pegg%2C+Jr.&rft.aufirst=Ed&rft_id=http%3A%2F%2Fwww.mathpuzzle.com%2F26Mar03.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span>.</span> </li> </ol></div> <div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Langton%27s_ant&action=edit&section=9" title="Edit section: External links"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1235681985">.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:var(--background-color-interactive-subtle,#f8f9fa);display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}</style><style data-mw-deduplicate="TemplateStyles:r1237033735">@media print{body.ns-0 .mw-parser-output .sistersitebox{display:none!important}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}</style><div class="side-box side-box-right plainlinks sistersitebox"><style data-mw-deduplicate="TemplateStyles:r1126788409">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style> <div class="side-box-flex"> <div class="side-box-image"><span class="noviewer" typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/30px-Commons-logo.svg.png" decoding="async" width="30" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/45px-Commons-logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/59px-Commons-logo.svg.png 2x" data-file-width="1024" data-file-height="1376" /></span></span></div> <div class="side-box-text plainlist">Wikimedia Commons has media related to <wbr /><i><b><a href="https://commons.wikimedia.org/wiki/Category:Langton%27s_ant" class="extiw" title="commons:Category:Langton's ant">Langton's ant</a></b></i> and <wbr /><i><b><a href="https://commons.wikimedia.org/wiki/Category:Turmite" class="extiw" title="commons:Category:Turmite">Turmite</a></b></i>.</div></div> </div> <ul><li><span class="citation mathworld" id="Reference-Mathworld-Langton's_ant"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFWeisstein" class="citation web cs1"><a href="/wiki/Eric_W._Weisstein" title="Eric W. Weisstein">Weisstein, Eric W.</a> <a rel="nofollow" class="external text" href="https://mathworld.wolfram.com/LangtonsAnt.html">"Langton's ant"</a>. <i><a href="/wiki/MathWorld" title="MathWorld">MathWorld</a></i>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=unknown&rft.jtitle=MathWorld&rft.atitle=Langton%27s+ant&rft.au=Weisstein%2C+Eric+W.&rft_id=https%3A%2F%2Fmathworld.wolfram.com%2FLangtonsAnt.html&rfr_id=info%3Asid%2Fen.wikipedia.org%3ALangton%27s+ant" class="Z3988"></span></span></li> <li><a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=w6XQQhCgq5c">Chris Langton demonstrating multiple ants interacting in a "colony"</a></li> <li><a rel="nofollow" class="external text" href="https://web.archive.org/web/20160303211426/http://dev.whydomath.org/Reading_Room_Material/ian_stewart/AntyParticles.pdf">Mathematical Recreations column</a> by <a href="/wiki/Ian_Stewart_(mathematician)" title="Ian Stewart (mathematician)">Ian Stewart</a> using Langton's ant as a metaphor for a <a href="/wiki/Theory_of_everything" title="Theory of everything">theory of everything</a>. Contains the proof that Langton's ant is unbounded.</li> <li><a rel="nofollow" class="external text" href="https://gollygang.github.io/ruletablerepository/downloads/Langtons-Ant-nColor.zip">Golly script for generating rules in the multiple color extension of Langton's ant</a></li> <li><a rel="nofollow" class="external text" href="http://datagenetics.com/blog/september22015/index.html">DataGenetics, Langton's Ant (and Life)</a></li></ul> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐5857dfdcd6‐cqlw7 Cached time: 20241203073127 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.466 seconds Real time usage: 0.612 seconds Preprocessor visited node count: 1425/1000000 Post‐expand include size: 26068/2097152 bytes Template argument size: 1055/2097152 bytes Highest expansion depth: 12/100 Expensive parser function count: 3/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 52870/5000000 bytes Lua time usage: 0.319/10.000 seconds Lua memory usage: 22010771/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 564.827 1 -total 36.11% 203.932 3 Template:Annotated_link 20.52% 115.927 6 Template:Cite_journal 14.58% 82.376 1 Template:Short_description 8.72% 49.279 2 Template:Pagetype 6.63% 37.476 1 Template:Commons_category_multi 6.19% 34.986 1 Template:Sister_project 5.69% 32.129 1 Template:Side_box 4.66% 26.318 1 Template:Main 3.63% 20.510 3 Template:Main_other --> <!-- Saved in parser cache with key enwiki:pcache:105016:|#|:idhash:canonical and timestamp 20241203073127 and revision id 1239482896. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&useformat=desktop" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Langton%27s_ant&oldid=1239482896">https://en.wikipedia.org/w/index.php?title=Langton%27s_ant&oldid=1239482896</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Artificial_life" title="Category:Artificial life">Artificial life</a></li><li><a href="/wiki/Category:Cellular_automaton_rules" title="Category:Cellular automaton rules">Cellular automaton rules</a></li><li><a href="/wiki/Category:Turing_machine" title="Category:Turing machine">Turing machine</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:Articles_with_short_description" title="Category:Articles with short description">Articles with short description</a></li><li><a href="/wiki/Category:Short_description_matches_Wikidata" title="Category:Short description matches Wikidata">Short description matches Wikidata</a></li><li><a href="/wiki/Category:Use_dmy_dates_from_April_2018" title="Category:Use dmy dates from April 2018">Use dmy dates from April 2018</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 9 August 2024, at 15:14<span class="anonymous-show"> (UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Langton%27s_ant&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-7c4dcdbb87-mds67","wgBackendResponseTime":143,"wgPageParseReport":{"limitreport":{"cputime":"0.466","walltime":"0.612","ppvisitednodes":{"value":1425,"limit":1000000},"postexpandincludesize":{"value":26068,"limit":2097152},"templateargumentsize":{"value":1055,"limit":2097152},"expansiondepth":{"value":12,"limit":100},"expensivefunctioncount":{"value":3,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":52870,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 564.827 1 -total"," 36.11% 203.932 3 Template:Annotated_link"," 20.52% 115.927 6 Template:Cite_journal"," 14.58% 82.376 1 Template:Short_description"," 8.72% 49.279 2 Template:Pagetype"," 6.63% 37.476 1 Template:Commons_category_multi"," 6.19% 34.986 1 Template:Sister_project"," 5.69% 32.129 1 Template:Side_box"," 4.66% 26.318 1 Template:Main"," 3.63% 20.510 3 Template:Main_other"]},"scribunto":{"limitreport-timeusage":{"value":"0.319","limit":"10.000"},"limitreport-memusage":{"value":22010771,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-5857dfdcd6-cqlw7","timestamp":"20241203073127","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Langton's ant","url":"https:\/\/en.wikipedia.org\/wiki\/Langton%27s_ant","sameAs":"http:\/\/www.wikidata.org\/entity\/Q460805","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q460805","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2002-10-15T09:04:46Z","dateModified":"2024-08-09T15:14:30Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/0\/01\/LangtonsAnt.svg","headline":"two-dimensional Turing machine with emergent behavior"}</script> </body> </html>