Spider Web Script

Hi everyone,

I’m trying to create a spider web form-finding setup in Grasshopper using Kangaroo, but I’m stuck. I’ve created a polygon base, divided it, and generated lines, but I’m struggling to connect the points and curves correctly before sending them into Kangaroo.

My setup isn’t producing a stable web, and the logic isn’t fully working yet. Any advice on fixing the workflow would really help. Thanks!

Not immdiately relevant to a solution, but it reminded me of this:

@Salomo Post your file.

1 Like

Sorry, I forgot to attach the script file earlier, I’ve included it now.

Spider web digital form finding.gh (21.5 KB)

I mean, I dont know how you are expecting the geometry to look like before you send it to Kangaroo…

want it to look like this, before it goes to Kangaroo.

So you want the web done before you take it through Kangaroo components? What is the optimization here?


I am really not that great at math, but luckily, I recently put some effort into understanding and creating spirals:

Of course, there is probably some plugin with all the spirals. (Like Nautilus)

The math to finding inscribing / circumscribing radii of a regular polygon can be found here:

Spiderweb Script VR 1.gh (47.9 KB)

2 Likes

Probably the best example of web construction is that, of, well, a spider. If you study time lapse’ videos of a spider doing just that, you will see the sequence, based on 300 million years of optimization. Interested to see what you come up with

I made such algorithm long time ago

spiderweb.gh (34.0 KB)

Something interesting starts happening from 30 min of the video

Min 35 and on shows final results. looking back at it, it could be done better, but still looks awesome. Especially that you can achieve different topology depending on sizes of initial circle.

7 Likes

I updated the component so you dont need wombat, and retriggering of kangaroo happens automatically

spiderweb.gh (32.9 KB)

5 Likes

I came for the spider webs. I stayed for the lounge jazz. :laughing:

3 Likes

… and crack

image

1 Like

Oh. Lol. I was trying to figure out what lounge jazz had to do with crack.

Sad to know. :cry:

1 Like

Yeah i did not have a license at the moment

I tried to get student license, but Ukraine was not in the list

1 Like

Thanks for helping with the script, I appreciate it. sorry but when l bring the script in grasshopper it seems to be missing some staff did you use any other plugins apart from kangaroo. thanks again.

I forgot to internalize starting breps

spiderweb (2).gh (41.2 KB)

1 Like

Hello
you miss some Grasshopper basics skills, here on the left there is a component in Orange, it needs to be feed with Brep that will serve as anchor to the spiderweb.
Make some shapes around the point

3 Likes

Laurent if you are looking at the algorithm and can suggest improvements that would be HUGE

Hello
I just tried it now for 2 minutes. I didn’t try to understand it at the moment but the result is awesome. Congratulation for this tool.

Perhaps one day I must try to cut it in steel !

2 Likes

one thing I notice, the outside of a web appears to be a ‘catenary’ although it is not hanging vertically, that is, a parabolic arc divided into segments at the connection points of radial tensioners.. Bonjour Laurent comment ca va?

1 Like