Hello community!

I am trying to represent a function we found after some studies in urban settlements. Is something simple but I can find the way to represent it.

I have this equation that represent the amount of cells on a block, a rectangle in this case. I used a vonoroi to place random cells on the rectangle. The more area the rectangle have the more random cells inside. no prob with that.

Then I have an equation of the amount of breaks inside the block according to the amount of cells on it.

I managed to select random points and lines to represent the breaks but I would like to deform the vonoroi cells… and create cracks on the rectangle.

what I actually would like to have

I hope some of you find this interesting and can give me a hand with that.

I have this feeling this should be extremely easy and fast but I don’t know why I am stuck here

I would appreciate a lot your help.

here I attach the gh file

cells on a block.gh (24.7 KB)