Lol nice! I laugh because I never thought of programmatically creating full structures in code.
You must never had played around with Apple Basic on an old Apple IIe. We would use it to make structures of sorts. It was amazing! Not as amazing as these though. Images uses to be made by using straight up code and math.