hello everyone how can i make a 2d staggering circle pattern thats applicable to any surface i give it to?,right now i did a little gh script that does it but i dont get perfect circle, i always need to adjust the parametrs to make the circles really close to a criclular shape but they never are perfect circles any help please?? circles.gh (17.0 KB)
It would be easier for others to diagnose if your script didn’t require a PufferFish component. This might require a different approach depending on the nature of the surface you are attempting to map the circles to. You have shown two different geometries.
It’s not perfect, but here is a quick attempt at the cylinder. It still needs some maths to determine the correct UV division and cirlce Radii, but hopefully it gets you going in the right direction.
That is to be expected given the limitations of the script I posted. As mentioned, you will need to do some math to determine the correct UV division and circle Radii. I posted the script to get you on the right direction without fully solving your issue, that way you can learn.
The UV division and it’s relationship to the circle radii are highly dependant on the surface geometry you are mapping onto. In the case of the cylinder, I would start by getting the UV dimensions of the surface and dividing that by a factor of the circle radii to determine the correct UV spacing.