MoI discussion forum
MoI discussion forum

Full Version: Circle/Sphere Packing.

Show messages: All  1-13  14-16

From: Frenchy Pilou (PILOU)
28 Dec 2025   [#14]
A cool script will be fall any objects in a box for obtain o sort of packing objects without intersection!
From: MO (MO_TE)
28 Dec 2025   [#15] In reply to [#5]
Hi PaQ
NodeEditor Plus includes a circle packing node that can be useful for arbitrary shapes, especially shapes with holes. The node called "Image Circles" was developed by Wayne Hill. It uses an image to generate a circle packing pattern.
Here, I've just imported your screenshot into Gimp and used "Fuzzy Select" and "Bucket Fill" tools to make a PNG image with a transparent background.
Load the image into "Image Circles" by clicking on the node's white area and change the settings. Then connect this node to an "Output" node and press the Run button to get the desired result.
If you want to keep the results, press the Apply button.

Tip: Double click on the canvas to open the search box.

Image Attachments:
BaseShape.png  CirclePackResult.png 


From: PaQ
28 Dec 2025   [#16] In reply to [#15]
Ho that's very interesting.
Thanks for posting, I definitively need to check that out, it's probably way smarter than my method !

Show messages: All  1-13  14-16