# Incremental rotation of elements in branch

**URL:** <https://discourse.mcneel.com/t/incremental-rotation-of-elements-in-branch/176081>\
**Category:** Grasshopper\
**Tags:** mac\
**Created:** [February 20, 2024, 12:28am UTC](https://discourse.mcneel.com/t/incremental-rotation-of-elements-in-branch/176081 "2024-02-20T00:28:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ct.rhino](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ct.rhino/32/632414_2.png) [@ct.rhino](https://discourse.mcneel.com/u/ct.rhino)\
**Post date:** [February 20, 2024, 12:28am UTC](https://discourse.mcneel.com/t/incremental-rotation-of-elements-in-branch/176081/1 "2024-02-20T00:28:33Z")

</div>

I am trying to rotate a repeated element at incrementally larger angles, but there is an elemental offset in each column so that elements along the red lines would have the same angle of rotation:

 ![Screenshot 2024-02-19 at 7.24.55 PM](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/3/6/1365be9b1132e1fe75155e9c19101cfe0ac82bda.jpeg)  
Is part of the issue my elements being flattened? Do I need to rebuild them into a tree and move elements around to get desired effect?

Thanks

---

<div class="post-metadata">

**Author:** ![Quan\_Li](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/quan_li/32/679256_2.png) [@Quan\_Li](https://discourse.mcneel.com/u/Quan_Li)\
**Post date:** [February 20, 2024, 1:37am UTC](https://discourse.mcneel.com/t/incremental-rotation-of-elements-in-branch/176081/2 "2024-02-20T01:37:58Z")

</div>

[Help Us Help You - Grasshopper - McNeel Forum](https://discourse.mcneel.com/t/help-us-help-you/50034)

---

<div class="post-metadata">

**Author:** ![ct.rhino](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ct.rhino/32/632414_2.png) [@ct.rhino](https://discourse.mcneel.com/u/ct.rhino)\
**Post date:** [February 20, 2024, 2:44am UTC](https://discourse.mcneel.com/t/incremental-rotation-of-elements-in-branch/176081/3 "2024-02-20T02:44:37Z")

</div>

[unnamed\_new.gh](https://discourse.mcneel.com/uploads/short-url/mj7TYYQwQJgD1RpmZrF2TVfNZic.gh) (20.8 KB)

---

<div class="post-metadata">

**Author:** ![ct.rhino](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ct.rhino/32/632414_2.png) [@ct.rhino](https://discourse.mcneel.com/u/ct.rhino)\
**Post date:** [February 20, 2024, 4:10am UTC](https://discourse.mcneel.com/t/incremental-rotation-of-elements-in-branch/176081/4 "2024-02-20T04:10:37Z")

</div>

> [@ct.rhino](#):
>
> I am trying to rotate a repeated element at incrementally larger angles, but there is an elemental offset in each column so that elements along the red lines would have the same angle of rotation:

Allow me to clarify - I am trying to shift the elements of each column “up” one element as the columns move left to right, so that the diagonal condition described is achieved. I would also ultimately like to rotate elements across rows rather than up the column.

---

<div class="post-metadata">

**Author:** ![kev.r](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/kev.r/32/766021_2.png) [@kev.r](https://discourse.mcneel.com/u/kev.r)\
**Post date:** [February 20, 2024, 6:38am UTC](https://discourse.mcneel.com/t/incremental-rotation-of-elements-in-branch/176081/5 "2024-02-20T06:38:21Z")

</div>

> [@ct.rhino](#):
>
> I am trying to shift the elements of each column “up” one element as the columns move left to right, so that the diagonal condition described is achieved.

You can partition and shift your list of rotation angles to achieve this result.

 ![rotate_elements](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/5/2/752ce174d632770dbafc59a65f09cc6a6ca0352e.jpeg)

[240219\_rotate\_elements.gh](https://discourse.mcneel.com/uploads/short-url/iRxckehmM9kYl7aKPO14tW54bWS.gh) (16.6 KB)

-Kevin
