A non-transitory, computer-readable medium storing instructions thereon that, when executed by one or more processors of a computing system, cause the computing system to perform operations for generating an unbounded graphic design system II (GDSII) file, the operations comprising:
- receiving, at the computing system, a target layout of a GDSII file, wherein the target layout includes multiple unit cells that each have a geometric shape and oriented at an angle;
- upon receiving the target layout, dividing the target layout into blocks of one or both of equal size and unequal size;
- for each block, calculating a position, rotation, and scaling of at least one geometric shape associated with each block;
- generating one or more shapes associated with each block using matrix multiplication of one or more transformation matrices and one or more unit cell vectors;
- and
- converting the generated one or more shapes into a GDSII file format.