I am trying to make a definition that basically rotates all individual elements of any given pattern grid in way that they are all perpendicular to an attractor point. just like the picture i have uploaded here.
to be more specific, I want the longest side (if it is an rectangle) or the longest diagonal (if it is an ellipse) to be perpendicular to the attractor point.
i'd really appreciate it if you could help me with this definition.