
I am trying to create a new custom GUI element for Nexus Plane System, and I need to fill up a “plus” type shape with frames, ideally as efficient as possible. The example above shows the border with a,b,c,d and 8 xn, which is bounded below by 0 with no real upper bound. In this case, 5 frames are the most efficient way to fill this. How could I efficiently create the frames to fill the shape? The frames may be transparent, so they can’t overlap.

