Skip to content

necoder27/langtons-ant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

langtons-ant

this is a simple visualization of langton's ant that i made using pygame. to make it a little more interesting i added two more colors and a function that allows the ant to move diagonally too. the spawn position of the ant is random and it warps around the window which creates really cool effects. the color scheme can be switched by specifying a theme with four colors and selecting it in the main function.

previews

traditional version:

traditional langton's ant generated image with four colors pink version
blue version purple version

diagonal movement on one color:

langton's ant generated image with four colors and diagonal movement on one color pink version
blue version purple version

About

Visualization of Langton's ant.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages