I want to search color pattern on the grid like this.
I can not paint cell under the following conditions
・two consecutive horizonal rows
・3 or more consective vertical rows
when I can choose cell to paint, I choose randamly.
Any suggestions or hints will be greatful!
thanks in advance
Hello the idea could be
Make an array of empty cell n * m
It is possible to add a shape like =>1 cell or 2 cells in column,
When you add this shape on free place suppress the possibility to add shape on adjacent cells … redo that until it is OK
I made something like this here
Hello dear grasshopper users,
I am currently working on a large scale facade and would like to solve the following problem:
let’s say I have defined a number of rectangular shaped blocks, in this case I have seven ,shaped like shown in the attached picture (1:1, 2:1, 1:2, )
Now I would like grasshopper to automatically create a random pattern which would fill out the large rectangle (In this case 17m X 110).
Is there already such a thing? I did not find something yet, I think I remember that…
I have been struggling with this logic for a little while now, I am trying to create a definition to produce surfaces similar to the image attached. I have a feeling I might be approaching it from the wrong angle so would like to get another perspective if possible?
RandomMeshDivide.gh (16.5 KB)
It was not too difficult to modify the script, without a lot of test.
pattern of color.gh
thank you so much!!
I try it!
Hope it helps. You have done a clear description of what you want.
If you need it could be possible to change the number ratio between shapes.