algorithmic modeling for Rhino
Hi !
I am working on the quite extensive script which embraces complexity of attracting, moving objects, attracting each other and so on.
I was wondering if you might know some techniques for increasing efficiency of the script.
The basic version relies on the tutorial Nature of Code translated into Python
https://www.youtube.com/watch?v=hKHrXuSV7rE&index=13&list=P...
As objects are stored in the list which relies on 3 stage for loop it takes quite a while to compute more members (I am interested in up to 200). Moreover if I add external attraction to points, some separation it is even worse to that extend that estimation of computation is up to 5 minutes on my laptop with 20 members.
Please see the attached file of the basic version. It represents a specific logic that is the bases for the next steps. How to decrease necessary time to compute?
Best,
Radek
Tags:
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by