sometimes when I am floating around world economic forum, I see this great algorithmic diagram that links all relative keywords (or sub related topics). Especially, I am looking at curves. What curvatures make this, how connection curves behave or what the logics to make those curves. If you have any hints or ideas, please share some of your thoughts. Thanks!
That looks like a Bezier curve. It has 4 control points. Two define the ends and the other two define the tangent direction at the respective ends.
I don’t use that a lot but I believe in Rhino it is called ‘lever curve’
It is widely used simply as ‘spline’ in text and image processing software.
You can also use Tangent Curve component that only needs start and end point of the curve and a tangent vector for each point.
Curves_2Pts2Vectors_V1.gh (17.5 KB)
It’s code but the logic is:
- Divide 2 inner/outer circles into 2 pts arrays (or lists).
- For each index in outPts, get the outPt and find the closest index in innerPts.
- “Shift” according, say, a random range (kinda: left/right) that closest index and get the inner Pt.
- Define an interpolated curve using the out/inner Points and 2 tangent (start/end) vectors (i.e circleCenter - point) - use an amplitude var for the vector lengths
my bad there, apparently it is called handle curve. I did not have Rhino in front of me back then
This is also called
cubic bezier spline
If math is what you want here is it: