It's the second episode of Coding in the Cabana! Here I attempt to visualize the Collatz Conjecture in Processing. Code: https://thecodingtrain.com/challenges/c2-collatz-conjecture
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/XjLDE7gu6
🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
🗄 Collatz Conjecture Wikipedia: https://en.wikipedia.org/wiki/Collatz_conjecture
💻 Collatz Graph: All Numbers Lead to One: https://www.jasondavies.com/collatz-graph/
💻 Trying to visualize the Collatz conjecture: http://mathematica.stackexchange.com/questions/85718/trying-to-visualize-the-collatz-conjecture
💾 Primitive Data Types in Java (more information about the long type): https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
Videos:
🎥 Collatz Conjecture in Color: https://www.youtube.com/watch?v=LqKpkdRRLZw
🎥 Golan Levin's Modulo Operator video: https://www.youtube.com/watch?v=r5Iy3v1co0A
🎥 UNCRACKABLE? The Collatz Conjecture: https://www.youtube.com/watch?v=5mFpVDpKX70
Related Coding Challenges:
🚂 #14 Recursive Fractal Trees: https://youtu.be/0jjeOYMjmDU
Timestamps:
0:00 The Collatz Conjecture
4:10 Programming in Processing
6:46 Checking The Number of Steps
9:23 Visualizing The Collatz Conjecture
20:44 Rendering to a PDF File
22:24 Conclusions and Goodbyes
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://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
#collatzconjecture #modulo #processing