Photoshop Extendscript written to create varying orientation of lines based on X & Y line length. Multidimensional array used to log the placement of the lines.
Line Script 2
Published:

Line Script 2

Published: