Coding Challenge 179: Elementary Cellular Automata
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
Other Videos By The Coding Train
2024-02-22 | Coding Challenge 181: Weighted Voronoi Stippling |
2024-02-02 | I, Robot |
2024-01-22 | Coding Challenge 180: Falling Sand |
2024-01-20 | Flocking rule 4? #genuary19 |
2024-01-18 | #genuary18 Bauhaus |
2024-01-16 | #genuary16 10,000 snowflakes |
2024-01-15 | #genuary15 physics library! |
2024-01-14 | Lava Lamp #genuary #genuary12 |
2024-01-10 | Hexagonal Cellular Automata #genuary10 #genuary |
2024-01-09 | #genuary9 |
2024-01-09 | Coding Challenge 179: Elementary Cellular Automata |
2024-01-08 | Chaotic System #genuary8 |
2024-01-07 | Throbber #genuary7 |
2024-01-07 | Decade of Code Fundraiser (Celebrating 10 years of Processing Foundation Fellowships!) |
2024-01-06 | Genuary After Dark |
2024-01-05 | Pixels in the Style of Vera Molnรกr #genuary4 #genuary5 |
2024-01-03 | #genuary3 |
2024-01-02 | No palettes! #genuary #genuary2 |
2024-01-01 | Particles! #genuary #genuary1 #genuary2024 |
2023-12-04 | Clustering Sentence Embeddings with transformers.js and umap-js |
2023-11-28 | Coding Train Stickers 2023 Last Call! |