Coding Challenge #89: Langton's Ant

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=G1EgjgMo48U



Duration: 20:58
151,685 views
2,773


Langton's Ant is a cellular automaton that starts off with simples rules but takes on complex emergent behavior. Code: https://thecodingtrain.com/challenges/89-langtons-ant

πŸ•ΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/svbAzt8sb

πŸŽ₯ Next video: https://youtu.be/0L2n8Tg2FwI?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
πŸ“„ Langton's Ant on Wikipedia: https://en.wikipedia.org/wiki/Langton's_ant

Videos:
πŸš‚ Pixels! (Processing Tutorial): https://youtu.be/EmtU0eloTlE
🐜 Langton's Ant: https://youtu.be/NWBToaXK5T0

Related Coding Challenges:
πŸš‚ #85 The Game of Life: https://youtu.be/FWSR_7kZuYg
πŸš‚ #102 2D Water Ripple: https://youtu.be/BZUdGqeOD0w

Timestamps:
0:00 Introduction and setup code!
1:46 Writing the algorithm for the motion of Langton's ant
9:09 Visualizing Langton's Ant
12:33 Debugging and testing!
14:53 Refactoring the code!
20:06 Things to try!
20:46 Outro!

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://discord.gg/hPuGy2g
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: https://p5js.org
πŸ”— p5.js Web Editor: https://editor.p5js.org/
πŸ”— Processing: https://processing.org

πŸ“„ Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#langtonsant #cellularautomata #processing #java







Tags:
live
programming
daniel shiffman
creative coding
coding challenge
tutorial
coding
challenges
coding train
the coding train
live stream
itp nyu
class
langton's ant
langton's ant processing
processing coding challenge
challenge
ant
codingtrain
cellular automata
processing
code challenge