# Python Algorithm: Frei Otto Wool Thread Experiments

**URL:** <https://discourse.mcneel.com/t/python-algorithm-frei-otto-wool-thread-experiments/66223>\
**Category:** Rhino Developer\
**Tags:** ghpython, python\
**Created:** [July 3, 2018, 8:47am UTC](https://discourse.mcneel.com/t/python-algorithm-frei-otto-wool-thread-experiments/66223 "2018-07-03T08:47:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lei\_Yang1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lei_yang1/32/51138_2.png) [@Lei\_Yang1](https://discourse.mcneel.com/u/Lei_Yang1)\
**Post date:** [July 3, 2018, 8:47am UTC](https://discourse.mcneel.com/t/python-algorithm-frei-otto-wool-thread-experiments/66223/1 "2018-07-03T08:47:56Z")

</div>

Hello guys,

anyone knows where find the python code about simulating ‘ **Frei Otto Wool Thread Experiment** ’?

Thanks,  
Lei

---

<div class="post-metadata">

**Author:** ![tim.stark](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tim.stark/32/704108_2.png) [@tim.stark](https://discourse.mcneel.com/u/tim.stark)\
**Post date:** [July 3, 2018, 10:51am UTC](https://discourse.mcneel.com/t/python-algorithm-frei-otto-wool-thread-experiments/66223/2 "2018-07-03T10:51:44Z")

</div>

Look up for „wooly paths“ or „edge bundling“ on google or the old/new gh forum. There are some scripts around. I know there are c#‘s maybe also phyton. Maybe you can translate the c# to phyton

---

<div class="post-metadata">

**Author:** ![Lei\_Yang1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lei_yang1/32/51138_2.png) [@Lei\_Yang1](https://discourse.mcneel.com/u/Lei_Yang1)\
**Post date:** [July 4, 2018, 6:40am UTC](https://discourse.mcneel.com/t/python-algorithm-frei-otto-wool-thread-experiments/66223/3 "2018-07-04T06:40:02Z")

</div>

Thanks Tim!

---

<div class="post-metadata">

**Author:** ![Lei\_Yang1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lei_yang1/32/51138_2.png) [@Lei\_Yang1](https://discourse.mcneel.com/u/Lei_Yang1)\
**Post date:** [July 5, 2018, 5:59am UTC](https://discourse.mcneel.com/t/python-algorithm-frei-otto-wool-thread-experiments/66223/4 "2018-07-05T05:59:08Z")

</div>

Hi Tim,

Found one of your post Nov, 2017.

> [@From edge bundling / wooly paths to surface between](https://discourse.mcneel.com/t/from-edge-bundling-wooly-paths-to-surface-between/50253):
>
> Hello everyone, I got a bunch of nurbs out of an edge bundling (every point connected with all other Points). Now I want the area between them. Michael Pryor told me that the best way is by splitting a surface with the curves. But yeah, splitting is slow and my computer is not able to calculate that with this amount of curves. Is there a way to reduce the lines? I also thought about makeing a really small metaball around them so I can split with fewer lines? I just don’t know how to go on. I…

what I am doing, well.. I think has similarity of yours, which is create a urban network based on certain algorithm. I tried Wooly Path, however, maybe its my problem, I found wooly path logic of creating pattern in a quite random way. So I turn to Bundling Path logic and found KDE(Kernel Density Estimation by @Laurent Delrieu). Anyhow, curious about whether you r still in the reaserch of network creation and if possible, what you think of KDE implementation on the urban planning level and how reasonable it is?

Thanks again!  
Lei
