# Bubble Diagram Problem

**URL:** <https://discourse.mcneel.com/t/bubble-diagram-problem/153877>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [January 26, 2023, 3:09pm UTC](https://discourse.mcneel.com/t/bubble-diagram-problem/153877 "2023-01-26T15:09:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbalbastre](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/bbalbastre/32/643080_2.png) [@bbalbastre](https://discourse.mcneel.com/u/bbalbastre)\
**Post date:** [January 26, 2023, 3:09pm UTC](https://discourse.mcneel.com/t/bubble-diagram-problem/153877/1 "2023-01-26T15:09:46Z")

</div>

Hi everyone,

I am trying to construct a bubble diagram using Kangaroo and I came up with this solution.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/d/3/3/d33719c1374c54c39fa796e9f3727bdbf8f60f95.png)

It seems quite nice although there are some issues to be fixed. I am trying to get tangent circles without loosing the line connections between them. I am also trying to preserve the circles inside a boundary, but for the moment I could only maintain the center of them between the boundary.

I wonder if someone more experienced in kangaroo can help me to solve both issues.

Thank you very much in advance!

[Bubble Diagram.gh](https://discourse.mcneel.com/uploads/short-url/urtGHCOmaNGLgbix2bpORlTghfy.gh) (16.9 KB)

---

<div class="post-metadata">

**Author:** ![maje90](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/maje90/32/762888_2.png) [@maje90](https://discourse.mcneel.com/u/maje90)\
**Post date:** [January 26, 2023, 3:43pm UTC](https://discourse.mcneel.com/t/bubble-diagram-problem/153877/2 "2023-01-26T15:43:55Z")

</div>

“Sphere Collide” component use a single radius for all the points:  
 ![2023-01-26 16_36_18-Window](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/c/3/bc340008cb6edf286d6443bed337e8f72497ff5d.png)  
Connecting a list of values results in many “collider” goals, and you’ll notice every point will collide at the same distance of your biggest radius value.  
Use “Collider” component instead, which support per-object radius.

“Grab” goal doesn’t use a point list on its “On” input, but only a single bool true/false value to enable it.  
Grab goal will let you drag **any** kangaroo particle on the simulation, you don’t need to connect any point to it.  
(By connecting there a list of object you were creating multiple Grab goals, all doing the same work… but losing performance in the simulation)  
Connect the same toggle of the main kangaroo solver, it’s useful.

You can give the Length goal a 0 length target, and a very small force.

You can offset your boundary curve by the radius of each circle, and use that boundary for its center.  
Every center will have its own, different, boundary.

 ![2023-01-26 16_52_59-Window](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/0/d/40d6ac46a311567a6e5ff57db8f9d425513d03ef.png)  
[Bubble Diagram re.gh](https://discourse.mcneel.com/uploads/short-url/igE5V43pYpJG4kePjPgU72XZnNh.gh) (20.9 KB)

---

<div class="post-metadata">

**Author:** ![bbalbastre](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/bbalbastre/32/643080_2.png) [@bbalbastre](https://discourse.mcneel.com/u/bbalbastre)\
**Post date:** [January 27, 2023, 7:30am UTC](https://discourse.mcneel.com/t/bubble-diagram-problem/153877/3 "2023-01-27T07:30:52Z")

</div>

Thank you very much for your answer and for your explanation, I really appreciate that 🙂

---

<div class="post-metadata">

**Author:** ![MiguelBaron](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/miguelbaron/32/472968_2.png) [@MiguelBaron](https://discourse.mcneel.com/u/MiguelBaron)\
**Post date:** [June 8, 2025, 1:49am UTC](https://discourse.mcneel.com/t/bubble-diagram-problem/153877/5 "2025-06-08T01:49:08Z")

</div>

check this [Bubble Dojo Casa House | Food4Rhino](https://www.food4rhino.com/en/resource/bubble-dojo-casa-house?lang=es)

---

<div class="post-metadata">

**Author:** ![thomas.lagarde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/thomas.lagarde/32/477743_2.png) [@thomas.lagarde](https://discourse.mcneel.com/u/thomas.lagarde)\
**Post date:** [June 9, 2025, 2:27pm UTC](https://discourse.mcneel.com/t/bubble-diagram-problem/153877/6 "2025-06-09T14:27:27Z")

</div>

You’re pushing your plugin pretty hard, lol

---

<div class="post-metadata">

**Author:** ![MiguelBaron](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/miguelbaron/32/472968_2.png) [@MiguelBaron](https://discourse.mcneel.com/u/MiguelBaron)\
**Post date:** [June 9, 2025, 3:45pm UTC](https://discourse.mcneel.com/t/bubble-diagram-problem/153877/7 "2025-06-09T15:45:20Z")

</div>

[![](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/6/e/16eceebeeb1df75b6bbb391a6a97ac6f8bbd64e3.jpeg "Bubble Dojo Casa / House powered by #deepseek #grok3 #chatgpt interface") ](https://www.youtube.com/watch?v=nNH2x1BtgMII)

bro im pushing time pretty hard
