Hello everyone,
For an architecture project I am making a script for rotating bricks according to de brightness of a certain image. I made the script in a way that the input is a surface of random dimensions, from which a new surface with correct dimensions is created to fit the standard dimensions of the brick.
I’m satisfied with the angle translation I got out of the image sampler/remap functions. But i’m doing something wrong with the domain of the image sampler. What I would like to achieve is that the image is spread out 1 on 1 on the surface, instead, it repeats the image multiple times, if I make the surface larger, the image doesn’t scale with it. How can I achieve that the image is just used once?
I made a sketch:
250627 - GH McNeelforum.gh (180.7 KB)


