is there any idea on how i can create this?

Hello

This is a classical

hey laurent thank you this is great but they seem to be a bit different , in the video i sent the circles are always packed inside of a specific rectangle where as the script you sent always varies the boudnary of the cirlces, can it be fixed?

Yes it can be fixed, there are always lots of solutions to a problem. I am sure you can try to do it.

You video is low quality but it seems the lower circles doesn’t always touch the bottom. So the answer is surely very simple.

yes they always do touch the buttom one second im sending a better quality video, i really really appreciate your help!

HERE Is the better resolution video, ive been trying to think of a way to fix the boundary system on your script but i really couldnt please help me

You’ll have to do the Math. When there is a problem, deconstruct it.

Radius = Width/(2*number of circles per side)

So if for nRow

Height =nRow * Width/2 (1/nSide + 1/(nSide+1) + …1/(nSide+nRow-1))

I don’t say it is simple but if you can write the equations your problem is half solved.

i appreciate this but i really still cant figure it out on my own , i am not that good at grasshopper , and this is a task for school please would you help me figure it out ?

i just cant seem to figure out how to set a boundary rectangle on all the circles just like the video

hello sir thank you so much for trying as this is extremly close to the video it’s still not what it is exactly in the video, i wanted two sliders to control the circles inside and also the circles are always filling the rectangle especially the top side , the script you did doesnt fill the whole rectangle from top side but this is still great! thanks