Brick pattern (I want to move only bricks in even lines.)

Hi. I am student from Korea and I am trying to make some pattern of brick but I can’t find the way.

GH that I made is pattern that decreases in density as it rises from bottom to top.

I want to move only bricks in even lines 150 to x direction. I tried with dispath, but it’s inconsistent and muddled.

Brick pattern.gh (13.8 KB)

Hi Danechz,

the trick is to work with the tree structure you already have. The rectangular pattern is sorted in columns. If you want to move every second column, you can do this by looking at the paths. Flip the table so they are sorted in rows rather than columns. Then take only every second item. The gradient then has to be applied afterwards.

As a rule of thumb: Whenever you want to bring some “randomness” in your workflows, try to bring it in as late as possible.

Brick pattern_HL.gh (21.0 KB)