JavaScript code accompanying the essay "My God, It's Full of Dots".
For the full story and explanation, please see that essay. You can also run the code at https://bit-player.github.io/dotster/
The program was inspired by the work of John Shier, especially his book _Fractalize That: A Visual Essay on Statistical Geometry (World Scientific, 2019).
The aim is a space-filling algorithm that satisfies two rules:
- There's always room for one more object.
- As the number of objects goes to infinity, the space is fully covered.
A sequence of disks that satisfy these requirements comes from a certain range of zeta functions, based on the idea of summing the reciprocals of powers of integers.
Copyright 2019 Brian Hayes. MIT license.