Large Image- Image Sampler perforation panelling problem

Hello Guys, Ive checked many related posts and topics related to the image sampler , anyhow could nt fix a specific image size problem which ive stumbled right now

So the surface which the image has to be projected / a perforated pattern applied is of dimensions 120x4m , and ive made a custom image for this size

However on generating a gradual circle pattern on the values , i am not sure how it is to be done

Internalized the curves, please if you can share some thoughts on the script, would be quite resourceful knowledge on this topic :saluting_face:

NCC Perforated Pattern Main Board GH.gh (6.5 MB)

Thank you!!

you have -conveniently- reparametrized the Surface Domain, which is now set to “0 to 1”, so all the UV points are generated in the same “0 to 1” Domain

this means that the image needs to be set the same way, otherwise you are sampling a smaller portion of it (in particular you were sampling all the points in a portion that was 1/120th wide and 1/50th tall)

also changed the image sampler to output brightness values (which are already in the 0 to 1 range):

and changed a bit how the main surface is built in order to get easier to handle UVs:

NCC Perforated Pattern Main Board GH_inno.gh (7.0 MB)

in this text panel you can write the range of radii, from diameters that corresponds to black points (brightness value = 0) to diameters that correspond to white points (brightness value = 1) like “minimum_radius to maximum_radius” (in this case it’s 0.01 to 0.05 units)

consider that the behavior of the function that relates brightness and circle radii is now linear, but you can pass it through a Graph Mapper to make it behave however you might like

Thank you @inno