Maybe you can find inspiration there:
https://www.mathsisfun.com/geometry/polyhedron-models.html?m=Rhombicuboctahedron
There see e.g.
view-source:https://www.mathsisfun.com/geometry/images/poly-models.js
Interesting at line 644 and following.
Maybe you make a tree.js addon like I did.
Addon. Produces almost infinite many time-varying geometries with functions
hofk (Klaus Hoffmeister) · GitHub
enjoy it