LaTeX Periodic table - With pool / billard balls

This was posted to Twitter,from Overleaf (https://www.overleaf.com) another example of how LaTeX can be used to draw some really nice things.

In this case, a periodic table made from pool balls to represent the different groups / elements