Using Attractor to make image with different size holes


I am trying to do this on Rhino or Grasshopper by using Attractor.
I am experienced on Rhino but I need a lot of help on Grasshopper to do this image.
That image is an example, I will not use this image. Can someone help me with a script please.
Thanks,
Marcel

try this
Image sampler_cerchi Attrattori (1).gh (584.3 KB)



Thank you for your help, but I may not have explain what I needed in a clear way. What I need is, on a vector black and white image, I need the circle in the dark area to be closer together and in the light area to be spread out more. Like this image but not lines, but circles. I need to do this on a metal sheet with the holes laser cut. I don’t need colours,
I hope my English has explain this as best as I can.
Marcel

Image sampler_cerchi Attrattori (1).gh (571.1 KB)

Image sampler_Cutter Art (1).3dm (6.7 MB)


Take a look at the Isopod plugin.

  • Import the image with Params > Input > Import Image
  • Convert it to an Isopod field Isopod > Fields > FieldFromMeshColor
  • Get the values to influence for example the thickness of your lines with Isopod > Util > ValueAt

Dotted imagegh.gh (135.2 KB)

This topic might also be helpful to you.

Thanks . I also managed this:
Marilyn in Circles.gh (20.6 KB)

Is ISOPOD plugin on Food for Rhino?

Hi Marcel -

Isopod can be installed from the PackageManager in Rhino.
-wim

Thank you Wim

Hi Corax
I have plugged in ISOPOD, I tried to follow your example but the missing connections like domain and field from mesh i don’t understand. If you could put the connections, I would be grateful.
Thanks
Marcel

Im not sure if I understand your question, but here is a more annotated version. Please let me know if you need more details :slight_smile: .

Dotted image V2.gh (76.4 KB)

Edit: If you double-click on the MeshtoField component, you can see the C# source.
Also, you might want to crank up the resultion of the image by changing “101” to say “1001” or higher.

Screenshot 2025-03-14 114011
I have trouble finding this element.

It’s called a “relay”. These posts might help:

https://discourse.mcneel.com/t/what-is-a-relay/87095

https://discourse.mcneel.com/t/relay-component-explanation/96829/12

Thank you. Very helpful indeed.