Random Linear Growth – Hoopsnake

This example shows an animation of my ‘work-in-progress’ Grasshopper definition that uses Hoopsnake to recursively perform a ‘copy by mirror’ function on a geometric form. The two examples are based on a cube and a tetrahedron. The growth is linear; expanding by one module with each step. The position of each new module is determined by a new randomly selected face of the preceding module.

I would like to develop the definition so that it doesn’t self intersect, so any comments with ideas on how to achieve this would be appreciated!

7 thoughts on “Random Linear Growth – Hoopsnake”

  1. To solve the self intersection, you could define for each step to create a boolean union of your cubes or whatever, then check if the centroĂ¯d of your new geometry is or is not in the volume. If not : geometry is created if yes ask for the last face randomly choosen by grasshopper in your list +1…
    The centroĂ¯ds could be then used to draw the path line of your growing structure…
    By the way, it is a very nice work!…

  2. You can also think about giving the growth a direction – growing the structure based on one or some cures. You could then always analyze the t parameter and compare.

Leave a comment