# I need help to create an algorithm for this example

**URL:** <https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163>\
**Category:** Grasshopper\
**Created:** [May 30, 2020, 7:40am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163 "2020-05-30T07:40:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rh-3d-p](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rh-3d-p/32/485582_2.png) [@Rh-3d-p](https://discourse.mcneel.com/u/Rh-3d-p)\
**Post date:** [May 30, 2020, 7:40am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163/1 "2020-05-30T07:40:59Z")

</div>

i need help to create an algorithm for this example  
Waves are like fabric wrinkles. I know it’s possible with curve Attractor, but these fabric wrinkles are not created with this quality. Can anyone write this algorithm?

 ![photo_2020-05-30_11-58-15](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/d/7/d7512cc35d8b58aa50a08f885ccceef556c1ce23.jpeg)

---

<div class="post-metadata">

**Author:** ![ajarindia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ajarindia/32/496286_2.png) [@ajarindia](https://discourse.mcneel.com/u/ajarindia)\
**Post date:** [May 30, 2020, 7:54am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163/2 "2020-05-30T07:54:37Z")

</div>

Hi,  
Check this plugin:

> **[SeaGrass](https://www.food4rhino.com/en/app/seagrass)**
>
> Seagrass is a tool, that helps create Louvered Panels on the go.

 ![eccentricity_animation](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/b/4/b4b0dd9aa045e1031c9aebf1de7d81acaca830d0.gif)

Cheers,  
BVR

---

<div class="post-metadata">

**Author:** ![Holo](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/holo/32/496872_2.png) [@Holo](https://discourse.mcneel.com/u/Holo)\
**Post date:** [May 30, 2020, 7:55am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163/3 "2020-05-30T07:55:27Z")

</div>

Welcome to the forum.

First of all writing a script to simulate fabric is maybe one of the most difficult things to do and is maybe why that milled feature wall was created in the first place, as a show off for 3D skill level.

So if you want someone to help you do that then people need to know a bit about you, your project and needs.

Is it a paid job for you and/or for them?  
What is you skil level?  
Is that you design or do you want a replica? (If so why and what about copy rights?)  
Have you started the process and if so share your script/gh definition.  
Have you any sketches?  
Are you a student?  
Will you contribute to the forum in the future?

Good luck 🙂

---

<div class="post-metadata">

**Author:** ![ajarindia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ajarindia/32/496286_2.png) [@ajarindia](https://discourse.mcneel.com/u/ajarindia)\
**Post date:** [May 30, 2020, 8:07am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163/4 "2020-05-30T08:07:25Z")

</div>

> [@Holo](#):
>
> Is it a paid job for you and/or for them?  
> What is you skil level?  
> Is that you design or do you want a replica? (If so why and what about copy rights?)  
> Have you started the process and if so share your script/gh definition.  
> Have you any sketches?  
> Are you a student?  
> Will you contribute to the forum in the future?

@Rh-3d-p as @Holo said all these are important points to note. Before posting try to do little research about the image your using. Because now you have all possibilities with **Google**  **Google lens** etc… and read Forum’s rules before posting.

> [@Help Us Help You](https://discourse.mcneel.com/t/how-to-ask-effective-questions/50034):
>
> Asking questions and getting answers is what this forum is all about. Although people are generally very helpful, there are things you can do to improve your chances of getting good and quick answers. Below you will find some suggestions, but don’t think of them as rules and especially don’t think of them as guarantees. 1. Choose a descriptive title for your post Don’t title your question Help! or I have a problem or Deadline tonight!, but actually describe the problem you are having. 2. Be s…

Info about the image you referred above is here:

[https://corkworks.co.uk/product/corkwirl-corkpattern/](https://corkworks.co.uk/product/corkwirl-corkpattern/)

[https://www.palissandre.ru/gencork/corkwirl/](https://www.palissandre.ru/gencork/corkwirl/)

 ![GENCORK-CORKWIRL-01-1024x683_2x](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/f/8/f84a2b39a5ca41e8ab7f1741e6202e1b781140dc.jpeg)

---

<div class="post-metadata">

**Author:** ![Rh-3d-p](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rh-3d-p/32/485582_2.png) [@Rh-3d-p](https://discourse.mcneel.com/u/Rh-3d-p)\
**Post date:** [May 30, 2020, 8:31am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163/5 "2020-05-30T08:31:35Z")

</div>

I asked this question to improve my skills and I wrote the following algorithm myself, but I haven’t learned much about the quality of fabric waves yet. If anyone can help, thank you.

 ![cc](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/7/5/755f9db3fbb684d4bb98295990e6c624480e7aab.jpeg)  
[step1.gh](https://discourse.mcneel.com/uploads/short-url/9gy4A3I2Xu1520xg1u20iFlSNSh.gh) (29.3 KB)

---

<div class="post-metadata">

**Author:** ![Rh-3d-p](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rh-3d-p/32/485582_2.png) [@Rh-3d-p](https://discourse.mcneel.com/u/Rh-3d-p)\
**Post date:** [May 30, 2020, 8:35am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163/6 "2020-05-30T08:35:43Z")

</div>

This plugin only creates a simple sinusoidal wave that can be written with an absorption point and does not have the quality of the fabric at all.

---

<div class="post-metadata">

**Author:** ![ajarindia](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ajarindia/32/496286_2.png) [@ajarindia](https://discourse.mcneel.com/u/ajarindia)\
**Post date:** [May 30, 2020, 8:56am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163/7 "2020-05-30T08:56:33Z")

</div>

Check this thread:

> [@Describe this force field type pattern please](https://discourse.mcneel.com/t/describe-this-force-field-type-pattern-please/84304):
>
> Im sure I’ve e seen a GH def for a pattern like this but i cant find it anywhere on either forum now. Similar to the wave interference patterns but it lioks more like a force field / height field than the water drop interference patterns. Can anyone locate a link or suggest any info to help me create a definition. [https://pin.it/oowo5iphe7xuic](https://pin.it/oowo5iphe7xuic)

---

<div class="post-metadata">

**Author:** ![Rh-3d-p](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rh-3d-p/32/485582_2.png) [@Rh-3d-p](https://discourse.mcneel.com/u/Rh-3d-p)\
**Post date:** [May 30, 2020, 8:59am UTC](https://discourse.mcneel.com/t/i-need-help-to-create-an-algorithm-for-this-example/103163/8 "2020-05-30T08:59:24Z")

</div>

thank you
