Hello, welcome to the forum.
- Question about attractor are quite classical and there are tons of example on this forum and on old forum https://www.grasshopper3d.com. So it is a good start to search on these forums.
- The second point is that you are encouraged to post the script with geometry (internalized geometries). There is an upload button. You will find lot of advices here :
How to ask effective questions