Coding Challenge 182: Apollonian Gasket

Happy Pi Day 2024! In this video, I attempt to create an Apollonian Gasket using the Descartes Circle Theorem and complex numbers. So many circles! Code: πŸš€ Watch this video ad-free on Nebula Web Editor Sketches: πŸ•ΉοΈ Apollonian Gasket: πŸ•ΉοΈ Colorful Recursive Gaskets in Gaskets: πŸŽ₯ Previous: πŸŽ₯ All: References: πŸ”— Apollonian Gasket: πŸ”— A Tisket, a Tasket, an Apollonian Gasket: πŸ”— Apollonian Gaskets: πŸ”— Beyond the Descartes Circle Theorem: πŸ”— The Kiss Precise: #preview πŸ”— Frederick Soddy: πŸ”— Problem of Apollonius: πŸ”— Four Proofs of a Generalization of the Descartes Circle Theorem: πŸ”— Beyond the Descartes Circle Theorem: πŸ”— Descartes’ theorem: ’_theorem πŸ”— : Related Coding Challenges: πŸš‚ 21 Mandelbrot Set with : πŸš‚ 22 Julia Set in Processing: πŸš‚ 77 Recursion: πŸš‚ 50 Circle Packing: πŸš‚ 95 Approximating the Value of Pi: πŸš‚ 96 Visualizing the Digits of Pi: πŸš‚ 97 The Book of Pi: πŸš‚ 139 Calculating Digits of Pi with Collisions: πŸš‚ 140 Leibniz Formula for Pi: πŸš‚ 141 Calculating Digits of Pi with Mandelbrot Set: πŸš‚ 169 Pi in the Sky Game: πŸš‚ 176 Buffon’s Needle: Timestamps: 0:00 Happy PI Day!! 1:40 References 3:22 Describe the Apollonian problem 5:51 Curvature 10:08 Start coding! 11:53 Write a function to find the fourth curvature 15:31 Complex numbers 21:11 Create a complex number class 22:52 Square root of -1 25:32 Square root of a complex number 27:57 Implement complex Descartes theorem 33:50 Make the circles in the complexDescartes function 36:26 Use an array to add recursion 41:04 Validate the circles 42:35 Check if all 4 circles are tangent 48:04 Stop adding circles when radius falls below a threshold 49:20 Implement arbirtary arrangement of circles 53:14 Debug 55:32 Possible variations 56:34 Outro Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound πŸš‚ Website: πŸ‘Ύ Share Your Creation! 🚩 Suggest Topics: πŸ’‘ GitHub: πŸ’¬ Discord: πŸ’– Membership: πŸ›’ Store: πŸ–‹οΈ Twitter: πŸ“Έ Instagram: πŸŽ₯ Coding Challenges: πŸŽ₯ Intro to Programming: πŸ”— : πŸ”— Web Editor: πŸ”— Processing: πŸ“„ Code of Conduct: This description was auto-generated. If you see a problem, please open an issue: #apolloniangasket #pi #circlepacking #complexnumbers #curvature #descartestheorem #p5js #javascript =====================================================
Back to Top