Self-organizing curves

Minimal path systems by Frei Otto.
Grasshopper / C# / Rhino common script is based on Algortihmicdesign.net.


Download Grasshopper definition



00. Vector operations:

- vector substraction – find the vector/direction between two points
- vector multiply – multiply direction
- vector addition – move point

Recursive_1024x683

01. Nurbs curve control points:

- access curve’s control points with c# Rhino Common

Recursive_1024x683

02. Attractor:

- loop through curve’s control points
- attract point if the distance is smaller then treshold
- replace nurbs control point with new one

Recursive_1024x683

Recursive_1024x683

03. Multiple attractors:

- loop through curve’s control points
- find the closest attractor
- attract point with defined value if the distance is smaller then threshold
- replace nurbs control point with new one

Recursive_1024x683

Recursive_1024x683

04. Curve self attraction:

- loop through curves
- loop through curve’s control points
- find closest point in other curves
- attract selected point with defined value if the distance is smaller then threshold
- replace nurbs control point with new one

Recursive_1024x683

Recursive_1024x683

05.Self-organizing curves:

- Attractors + Curve self-atrraction

Recursive_1024x683



Comments are closed.