Rotation and translation algorithm

Hi, I’m working on an algorithm where n elements are moved from y -0.5 to 0.5 while rotating around their own axis. each element is supposed to have a distance of 90° to the next (I’ve already solved that). but the start and end angle of each element is supposed to be 0° (that’s where it’s stuck right now).

rotation-logic.vl (50.1 KB)

i’m afraid from your description and patch i don’t get an idea of what you’re trying to achieve. please try to rephrase…