In this multi-part coding challenge, I demonstrate how to use a circle packing algorithm. Code: https://thecodingtrain.com/challenges/50-animated-circle-packing
p5.js Web Editor Sketches:
🕹️ Animated Circle Packing - Text: https://editor.p5js.org/codingtrain/sketches/wxGRAd4I-
🕹️ Animated Circle Packing - Image: https://editor.p5js.org/codingtrain/sketches/tRpryH_um
🎥 Previous video: https://youtu.be/nnlAH1zDBDE?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 Next video: https://youtu.be/aKYlikFAV4k?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
💻 Various Circle Packing Tutorials: http://julienleonard.com/tutorials.html
🗄 Circle Packing on Wikipedia: https://en.wikipedia.org/wiki/Circle_packing
Videos:
🎥 Part 1: https://youtu.be/QHEQuoIKgNE
🎥 Livestream Archive: https://youtu.be/pF0cadg2mg0
Related Coding Challenges:
🚂 #47 Pixel Sorting in Processing: https://youtu.be/JUDYkxU6J0o
Timestamps:
0:00 Introduction
1:10 Pull the color value from the image
1:55 Add color variable to Circle class
2:35 Look up pixel color
3:58 Possible refinements
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://discord.gg/hPuGy2g
💖 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
#loadpixels #circlepacking #processingpixels #processing