# How to bend the surface according to the attractor

**URL:** <https://discourse.mcneel.com/t/how-to-bend-the-surface-according-to-the-attractor/142022>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [May 3, 2022, 6:21am UTC](https://discourse.mcneel.com/t/how-to-bend-the-surface-according-to-the-attractor/142022 "2022-05-03T06:21:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![이혜민](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/%EC%9D%B4%ED%98%9C%EB%AF%BC/32/375757_2.png) [@이혜민](https://discourse.mcneel.com/u/%EC%9D%B4%ED%98%9C%EB%AF%BC)\
**Post date:** [May 3, 2022, 6:21am UTC](https://discourse.mcneel.com/t/how-to-bend-the-surface-according-to-the-attractor/142022/1 "2022-05-03T06:21:03Z")

</div>

I did the lines move according to the attractor.  
But I want to bend these straight lines according to the circle attractor  
Like this picture

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/d/1/4d1639bebdd54afa95e71137bdb54909fad966f9.jpeg)  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/5/9/8/5985e2022f44ca766eef266d74b7ff859ad72fc9.jpeg)  
How can I make my script similar to that?  
Thankyou  
[round.gh](https://discourse.mcneel.com/uploads/short-url/hrAR6iWsJU528C7SKRyqPY2ccnY.gh) (21.3 KB)

---

<div class="post-metadata">

**Author:** ![mohovilka](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mohovilka/32/770674_2.png) [@mohovilka](https://discourse.mcneel.com/u/mohovilka)\
**Post date:** [May 31, 2022, 4:53am UTC](https://discourse.mcneel.com/t/how-to-bend-the-surface-according-to-the-attractor/142022/2 "2022-05-31T04:53:18Z")

</div>

Hi  
You may wish to explore this discussion and find this solution useful

> [@Attractor problem](https://discourse.mcneel.com/t/attractor-problem/107570/23):
>
> [fenellaelms.gh](https://discourse.mcneel.com/uploads/short-url/Aw1dsE2Lzi1JLXiZaYGZZWwM3XP.gh) (7.5 KB)
