Array radially spheres and gradually expand them

Hello.
I want to array radially spheres and gradually expand that I want to make look like the image.
Does anyone know how to make it?


expands radially.gh (15.8 KB)

Just Flatten the Output of Merge and it will work


expands radially.gh (21.4 KB)

2 Likes

This code seemed excessively complicated so I simplified it. Why the unused RevSrf?

I don’t know why there is a 20+ second delay in this code? It doesn’t appear in the profiler.


spheres_2024Jul29a.gh (13.4 KB)

2 Likes

This is surely due to the meshing of sphere breps. It is better to use mesh sphere
image

2 Likes

Added ‘Height’ slider (blue group, can be zero).

Correction using ReMap and renaming ‘Max_D’ and ‘Mind_D’ sliders.


spheres_2024Jul29c.gh (15.8 KB)

1 Like

Thanks for answering👍
If It changes data to Flatten, each additional index number increases in sphere’s size…
But I solved the problem!!
Thanks!!

Thanks for your support!!

Thanks for your help👍
I didn’t think it was possible to make it with such simple code!
I just started ”Grasshopper” and want to keep learning.

incidentally…Component of “RevSrf” should be used to complete the rough appearance.

Simple code is easier to understand, eh? I prefer it.

It didn’t show in your code? There are several ways to create it. (purple group below)


spheres_2024Jul30a.gh (18.8 KB)


spheres_2024Jul30b.gh (22.5 KB)

P.S. While working on a third method, I realized there is no longer any need for the TStat and Branch components! They were there to make Merge work in version ‘29a(a silly reason) and not needed when Merge was dropped in version ‘29c’. Oops!


spheres_2024Jul30aa.gh (18.3 KB)


spheres_2024Jul30bb.gh (21.9 KB)

As for the third method, not important, maybe later.

2 Likes

This third method of creating the surface avoids spheres on the bottom edge.


spheres_2024Jul30c.gh (19.2 KB)

1 Like

Thanks for sharing all the different ways to use component and make it!!
I didn’t realize there were so many ways to create the same shape…
I will refer to it when making various shapes in the future.
I would like to continue my studies👍