Hosted using Github Pages: https://srirajbehera.github.io/Apollonian-Gasket-p5js/
This project uses random() method to create new internal circles therefore on every refresh to the page, new Apollonian Gaskets will be created.
HTML, CSS, JavaScript, p5.js
- Canvas size 400 x 400
- Canvas size 300 x 300
- Canvas size 200 x 200
- Canvas size 100 x 100
March 15 is celebrated as PI day in the world and to celebrate, I created an Apollonian Gasket using the Descartes Circle Theorem and complex numbers.
In mathematics, an Apollonian gasket or Apollonian net is a fractal generated by starting with a triple of circles, each tangent to the other two, and successively filling in more circles, each tangent to another three. It is named after Greek mathematician Apollonius of Perga.
Frederick Soddy, an English radiochemist, was awarded the Nobel Prize in Chemistry in 1921 for his significant contributions to our understanding of the chemistry of radioactive substances and his investigations into the origin and nature of isotopes. He penned a poem titled "The Kiss Precise" as a reflection of his fascination with the Problem of Apollonius, and his various efforts in contributing to its solution.
The challenge posed by the Problem of Apollonius involves determining the circle or circles,
Curvature (or bend),
Now, from the poem, The Kiss Precise, and Descartes Theorem, we get an equation of curvature defined as:
where
Therefore,
Next, we calculate the centers of the new circles using the Complex Descartes Theorem and we would have complex coordinates of the centers, essentially the equation:
where
We can calculate
where
-
Apollonian Gasket: https://en.wikipedia.org/wiki/Apollonian_gasket
-
A Tisket, a Tasket, an Apollonian Gasket: https://www.americanscientist.org/article/a-tisket-a-tasket-an-apollonian-gasket
-
Apollonian Gaskets: https://mathlesstraveled.com/2016/04/27/apollonian-gaskets/
-
Beyond the Descartes Circle Theorem: https://arxiv.org/pdf/math/0101066.pdf
-
The Kiss Precise: https://www.nature.com/articles/1371021a0#preview
-
Frederick Soddy: https://en.wikipedia.org/wiki/Frederick_Soddy
-
Problem of Apollonius: https://en.wikipedia.org/wiki/Problem_of_Apollonius
-
Four Proofs of a Generalization of the Descartes Circle Theorem: https://www.jstor.org/stable/2316373
-
Beyond the Descartes Circle Theorem: https://arxiv.org/pdf/math/0101066.pdf
-
Descartes' theorem: https://en.wikipedia.org/wiki/Descartes%27_theorem
-
Complex.js: https://www.npmjs.com/package/complex.js
-
p5.js: https://p5js.org
-
p5.js Web Editor: https://editor.p5js.org/
-
Processing: https://processing.org