Coding Challenge 179: Elementary Cellular Automata

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



Duration: 21:40
143,676 views
6,295


How is nature hidden in a pile of 0s and 1s? Let's find out by coding a p5.js visualization of the Wolfram Elementary Cellular Automaton! Code: https://thecodingtrain.com/challenges/179-wolfram-ca

๐Ÿš€ Watch this video ad-free on Nebula https://nebula.tv/videos/codingtrain-wolfram-elementary-ca

p5.js Web Editor Sketches:
๐Ÿ•น๏ธ Wolfram Cellular Automata: https://editor.p5js.org/codingtrain/sketches/IE77UYZ-G
๐Ÿ•น๏ธ Wolfram CA with color: https://editor.p5js.org/codingtrain/sketches/1w8yOaaDS
๐Ÿ•น๏ธ Wolfram CA infinite scroll: https://editor.p5js.org/codingtrain/sketches/u6ALWY0Kt
๐Ÿ•น๏ธ 3D Grid: https://editor.p5js.org/codingtrain/sketches/m4XoXiWOa

๐ŸŽฅ Previous: https://youtu.be/rVBTxnRyOuE?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ All: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
๐Ÿ”— A New Kind of Science: https://www.wolframscience.com/nks/
๐Ÿ”— Elementary Cellular Automaton: https://mathworld.wolfram.com/ElementaryCellularAutomaton.html
๐Ÿ”— Pre-Order Nature of Code: https://nostarch.com/nature-code
๐Ÿ”— The Nature of Code: https://natureofcode.com

Related Coding Challenges:
๐Ÿš‚ 85 The Game of Life: https://youtu.be/FWSR_7kZuYg
๐Ÿš‚ 123 Chaos Game: https://youtu.be/7gNzMtYo9n4
๐Ÿš‚ 119 Binary to Decimal Conversion: https://youtu.be/meGcdIoTYgw

Timestamps:
0:00 Hello!
2:09 What is an elementary cellular automata?
5:41 Explaining the rulesets
7:52 Calculating the next generation.
10:35 Visualizing the CA
14:25 Rule 90
16:45 Wolfram Classification.
19:19 Adding wrap-around
20:37 Suggestions for variations!
21:07 Goodbye!

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

๐Ÿš‚ Website: https://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://thecodingtrain.com/discord
๐Ÿ’– 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

#natureofcode #wolfram #ca #cellularautomata #binarytodecimalconversion #sierpinskitriangle #p5js #javascript