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... šŸš€ Watch this video ad-free on Nebula https://nebula.tv/videos/codingtrain-... p5.js Web Editor Sketches: šŸ•¹ļø Wolfram Cellular Automata: https://editor.p5js.org/codingtrain/s... šŸ•¹ļø Wolfram CA with color: https://editor.p5js.org/codingtrain/s... šŸ•¹ļø Wolfram CA infinite scroll: https://editor.p5js.org/codingtrain/s... šŸ•¹ļø 3D Grid: https://editor.p5js.org/codingtrain/s... šŸŽ„ Previous:    • CodingĀ ChallengeĀ 178:Ā ClimateĀ SpiralĀ Ā  šŸŽ„ All:    • CodingĀ ChallengesĀ Ā  References: šŸ”— A New Kind of Science: https://www.wolframscience.com/nks/ šŸ”— Elementary Cellular Automaton: https://mathworld.wolfram.com/Element... šŸ”— 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:    • CodingĀ ChallengeĀ 85:Ā TheĀ GameĀ ofĀ LifeĀ Ā  šŸš‚ 123 Chaos Game:    • CodingĀ ChallengeĀ #123:Ā ChaosĀ GameĀ PartĀ 1Ā Ā  šŸš‚ 119 Binary to Decimal Conversion:    • CodingĀ ChallengeĀ #119:Ā BinaryĀ toĀ DecimalĀ C...Ā Ā  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/pas... 🚩 Suggest Topics: https://github.com/CodingTrain/Sugges... šŸ’” GitHub: https://github.com/CodingTrain šŸ’¬ Discord: https://thecodingtrain.com/discord šŸ’– Membership: http://youtube.com/thecodingtrain/join šŸ›’ Store: https://standard.tv/codingtrain šŸ–‹ļø Twitter: Ā Ā /Ā thecodingtrainĀ Ā  šŸ“ø Instagram: Ā Ā /Ā the.coding.trainĀ Ā  šŸŽ„ Coding Challenges:    • CodingĀ ChallengesĀ Ā  šŸŽ„ Intro to Programming:    • StartĀ learningĀ here!Ā Ā  šŸ”— 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-o... This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod... #natureofcode #wolfram #ca #cellularautomata #binarytodecimalconversion #sierpinskitriangle #p5js #javascript