Twirl Attractor! New GH User object


Several times I have been in the situation where I wanted to deform a grid or the elements on a surface in a radial way. I thought of compiling this routine into a GH User Object.. The Twirl GH User object receives as an input an array of 3d points and creates a twirl effect by rotating them by a specific angle from a given point-centre. The field of interaction is parametrically defined and so is the force of the twirl (clockwise + counter-clockwise).


For more info regarding GH user Objects please refer to the previous posts. To download the Twirl GH User Object go here. I will upload a few examples on how to use the GH User Objects in the future since several people have requested..




19 thoughts on “Twirl Attractor! New GH User object

  1. hi, thank you again for these user objects, im confised about the inputs can you post an example on how to make it work? thanks

    • Sir,is there any way where i can get hands on the definition please ? im a student,and it would be of a tremendous help in my learning endeavor . thank you . .

      • Hi Kaazim,
        I have published the twirl routine as a Grasshopper User Component. You can download it from the [Sub]Code page of this blog. I have posted some info on how to install GH User objects in some previous posts. If you want to replicate the definition shown at the images you will have to replicate the image posted above as a reply to David. I don’t have the definition in hand, but the image is pretty clear. Just make sure you download also the rectangular panels GH User object. Let me know if you have any problems.


        ps. You might get the old tag on some components as I haven’t found the time to update them to the latest build using GUI, but they function like usual..

  2. Hi sir,
    half way through in replicating the definition, thanks for all your support, but ,there’s a small hitch which im unable to get out ,its the [1-x] , and [N] components, im a newbie , would u please elaborate those components for me please ? as,in where i can locate them in the componets panel and its function behind it (in short)..
    Hoping that u would be able to deliver your skilfulness by virtue of possessing special knowledge,

    thank you .

    • Hello again Kaazim,
      The 1-x it’s just the f(x) component with the expression of f(x)=1-x and x as the input, I just renamed it to be clear. The N component is actually a Z-axis direction so its the vertical axis..I hope it’s all comprehensible now…

  3. Sir,hi there again,
    I don’t understand to express my gratitude towards the tremendous help which you’ve been delivering it on me , all done replicating the definition , but again , don’t know where i’am going wrong , iv attached the rhino file and the ghx to ur mail id ,i,e , hope u will catch and recognize my mistake in solving this problem .

    thank you .

    • Check your mail. You should study this definition really hard in order to understand it and of course reference it properly because it contains some advanced components.

  4. sir,
    i’am out of words , dint really expect your reply as striking as a thunderbolt , i thank you wholeheartedly,
    and yeah, do i get to know my mistake please >? 🙂

    thanking you again .!

    • They where actually a few of them. Not important but they had to do with data tree manipulations (ie flatten the point input in my rectangular panels component, accessing list items by number –> check the i value, grafting the move point) Don’t worry about them as I suspect you are still in a novice level. Try to read more on data trees an how they do operate within GH. Enable fancy wires to view which data are organized in trees is my suggestion.
      All the best,

  5. oops, i think that was quite a mouthful for my level , , hahha 🙂 but will surely look ahead at the implication on your suggestions .
    thanks a ton again ..!

  6. Hi Marios, I love you website…

    Thank you very much for your user components, they are very helpful for me and my research…

    Regards from Colombia and all the best for you…


  7. I wanna download the twirl routine form this blog .But , the download page can’t be opened .

    • Hi boris,

      Please use the tool from my plug-in nudibranch called twirl attractor. Its much more advanced and can work rotating along vectors oriented in many directions.


      Ps. I am not sure weather i understand what vertical means

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s