I want to draw an arbitrary number of wireframe cubes over each top of each other.
I’ll do this in processing python mode. I’m wondering what the most ‘pythonic’ way to do this is.
I suspect at the very least, I make code to draw the inner cube, and instead of writing different code for the outer layers, I just scale()
the canvas/reference frame larger, and redraw.
But I wonder if there is a clever way to draw the walls of the cube, rather than me specifying 9 distinct line segments to draw.
Any tips for clean code on this ?