Jump to content

filling grid with circle shapes?


Recommended Posts

Hi, I am trying to fill up a grid with circles with random radius like below rough drawing but the actual circle counts has to be about 300,000.

What would be ideal way to do this in houdini?

I've tried to use bullet to throw bunch of sphere primitives and let me fille a box and flat it to get the shape but if there is more procedural way to do this, please let me know!

Link to comment
Share on other sites

Hi, I am trying to fill up a grid with circles with random radius like below rough drawing but the actual circle counts has to be about 300,000.

What would be ideal way to do this in houdini?

I've tried to use bullet to throw bunch of sphere primitives and let me fille a box and flat it to get the shape but if there is more procedural way to do this, please let me know!

post-3325-134366752958_thumb.png

Link to comment
Share on other sites

  • 2 weeks later...

I was thinking that you might get a "better" looking distribution of points if you ran an iteration or two of Lloyd's relaxation on it before calculating the circle radii.

Cool! That's a very interesting technique - thanks for sharing it!

I was also considering using noise to color the geo before scattering points or applying a particle system with basic magnetic properties to get some intersting arrangements.

What do you think would be the best way to get all the circles to be mutually tangent? I was thinking of using a solver sop with a foreach loop and slowly growing each circle, but I'm not sure if there's a less "brute force" method?

Edited by jkunz07
Link to comment
Share on other sites

You can try using closest the neighbour point after the Triangulate2D as your radius.

Er, scratch that, it doesn't work that well. Although you could try using it as your initial guess before incrementally expanding your radii.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...