Hi, I’m a beginner to Grasshopper / Rhino and i’m trying to create a picture frame using an organic growth simulation on Grasshopper. Currently the shapes continue to flow into the centre of the shape but I want the organic shapes to be bound to a frame shape.
Can you be more specific? I can’t watch the whole tutorial, if you upload your.gh file people can help more easily.
You could just scale what you have until it is bigger than the red rectangle.
Something is making the growth form in a rectangle… In the tutorial, is there a base rectangle that the growth stays inside of? You might be able to adjust that part of the model to constrain the growth to be between 2 rectangles.
In general search “differential growth” (But in 99.99999% of cases solutions are carried over strictly via code - as they should).
I would suggest:
If you have plans to walk the C# walk I could provide some hints on that matter (plus the restrict in boundary option - see Image N2). That said this IS NOT the ideal start point for a novice (by any means).
Search this (and maybe the other - alas dead- Forum) : maybe someone has posted some working solution on 2/3D DF (Laurent, for instance).
Maybe this is also a task for K2 (but I expect delays).
the basic principle in 2D is, given a segment of length L and end-points a, b, apply a repulsion force to a, b in such a way to extend the length of the segment itself
it’s easier to explain by visualizing the forces applied to each end-point of each segment as single vectors, but the “hands-on” scenario is that those are colliding spheres of set radius, and each of them can collide with all the other ones: not only pushing the others out, but also keeping the minimum distance of sphere_diameter between neighbor polyline vertexes, in a circle-packing fashion
for instance, screenshot taken from Peter’s videos, all those spikes that look like very evenly spaced and would never become thinner than they are now, comes from the fact that polyline vertexes can’t get closer than that, they have reached the minimum distance and the circles built on their vertexes are tightly packed against each other (see this at current time, a beautiful C# webinar from Long Nguyen https://youtu.be/urWRRpy1fCw?list=PLapoQ_9M-ujfYGOsZProIXPGx-HRfjJ9C&t=9899 )