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
=====================================================
1 view
76
13
2 months ago 00:13:35 1
Russiaโs DONE With G7 Gold - BRICS Precious Metals Exchange Threatens The U.S. & UK