Circle packing is almost always an iterative problem. Unless if you
want to get a crystalline packing, in which case the position of each
circle is governed by an equation.

Paul Bourke has an interesting application on his site regarding
circle collisions:
http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/fluid/index.html

(It's got source code as well, but only in Windows C, so it's pretty
hard to read.)

Packing is almost never a straightforward succession of commands, so
it will be difficult to accomplish in Grasshopper. If I had to do this
today, I'd use either RhinoScript or the Rhino SDK to make a tool for
this.

--
David Rutten
Robert McNeel & Associates


On Oct 23, 8:02 pm, sabrina <[EMAIL PROTECTED]> wrote:
> i'm a student and just started working in rhino and grasshopper this
> semester to explore circle packing as well. (so there is a lot out
> there i don't know). but I did something similar where I offset the
> circles I wanted to pack and then set the points of intersection of
> the offset circles as the centerpoints for the next circle I wanted to
> pack whose radii is equal to the offset amount. (I think it would be
> much easier with a tangent-tangent-radius circle in grasshopper...but
> this still wouldn't solve the problem of more than 2 tangencies. The
> solution i've come up with is on a very small scale, and when i
> increase the number of circles whose radii vary, then i'm struggling
> maintaning points of tangency beyond 4 circles (they start to overlap
> at somepoints...and i don't know how to prevent this). And then i
> wanted to explore this pheonomenon 3 dimensionally as well. Is there
> any suggestions on sphere packing...I don't know how to generate the
> 3d close-packing lattices (hexagonal and cubic)...much less looking at
> randomized close packing of spheres with changing radii (what i've
> been working on with circles). thanks!
> sabrina
> On Oct 20, 3:21 am, David Rutten <[EMAIL PROTECTED]> wrote:
>
> > Hi Leaf,
>
> > then yes, you need to measure the radius (or the circumference,
> > whatever fits best into your maths) of the large circle, then use that
> > value to control the number and radii of the small circles. I'm not
> > quite sure which equation is simplest, but it sounds like you already
> > have one.
>
> > --
> > David Rutten
> > Robert McNeel & Associates
>
> > On Oct 17, 10:12 pm, tealeaf <[EMAIL PROTECTED]> wrote:
>
> > > I use a big circle and make smaller circle inside using the bigger
> > > circle's tangent points by dividing the circle curve.
>
> > > On Oct 16, 4:06 am, David Rutten <[EMAIL PROTECTED]> wrote:
>
> > > > How do you pack them?
>
> > > > --
> > > > David Rutten
> > > > Robert McNeel & Associates
>
> > > > On Oct 15, 9:29 pm, tube <[EMAIL PROTECTED]> wrote:
>
> > > > > what is a good way to make packed circles adjust proportionaly when
> > > > > the either the packed cirlces or outer cirlce have thier radii
> > > > > changed.
>
> > > > > -Thanks- Hide quoted text -
>
> > - Show quoted text -

Reply via email to