Рет қаралды 140,351
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: thecodingtrain.com/challenges...
🚀 Watch this video ad-free on Nebula nebula.tv/videos/codingtrain-...
p5.js Web Editor Sketches:
🕹️ Wolfram Cellular Automata: editor.p5js.org/codingtrain/s...
🕹️ Wolfram CA with color: editor.p5js.org/codingtrain/s...
🕹️ Wolfram CA infinite scroll: editor.p5js.org/codingtrain/s...
🕹️ 3D Grid: editor.p5js.org/codingtrain/s...
🎥 Previous: • Coding Challenge 178: ...
🎥 All: • Coding Challenges
References:
🔗 A New Kind of Science: www.wolframscience.com/nks/
🔗 Elementary Cellular Automaton: mathworld.wolfram.com/Element...
🔗 Pre-Order Nature of Code: nostarch.com/nature-code
🔗 The Nature of Code: natureofcode.com
Related Coding Challenges:
🚂 85 The Game of Life: • Coding Challenge #85: ...
🚂 123 Chaos Game: • Coding Challenge #123:...
🚂 119 Binary to Decimal Conversion: • Coding Challenge #119:...
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: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/guides/pas...
🚩 Suggest Topics: github.com/CodingTrain/Sugges...
💡 GitHub: github.com/CodingTrain
💬 Discord: thecodingtrain.com/discord
💖 Membership: kzbin.infojoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
#natureofcode #wolfram #ca #cellularautomata #binarytodecimalconversion #sierpinskitriangle #p5js #javascript