After some works on Gilbert Tessellations

I found some problems with my script, the logic was not very good to handle multiple cracks and curve in general (not just lines). It was quite long to find the good algorithm. Here is one version, that I am pretty happy with. Not very fast but it seems to work. The logic is quite simple.

Take curves, says that a curve represant the trajectory of a crack, this crack begins at the start point of the curve, it goes at constant velocity and continue until it touches another crack. As curves are finite I add an extension factor. If 0 no extension if 1 the extension has the length of the diagonal of the bounding box of all the input curves. I choose here to extend curves with line. It is easy to change it. And donâ€™t forget curves are on XY planes and are projected on the XY plane inside the script.

So here a GH with simple script, and a ghuser (not possible to post ghuser). Note that Human plugin is not mandatory.

Gilbert Tessellation Example.gh (21.0 KB)

For a simple Gilbert Tessellation

Take some random point, with some random direction and propagrate the crack in 2 opposite directions

With a constant direction and multiple cracks

A serie with a palette choosen from a painting from a relative

https://www.instagram.com/p/BkPV0iXlUzx/?taken-by=kitou_art

Edit 24/06/2018

Some new tests