Pattern from Image


You can import an image to drive the patterning of a surface or collection of elements in xGenerative Design. An example of the results you can achieve include these perforated metal product (ImageWall) from ZAHNER.

https://www.azahner.com/products/imagewall/

 

Samples in this example are: 1. Coloring a divided surface of squares, 2. Spheres placed on a surface of varying color, and 3. Circular perforations in a surface. To see how the pattern would appear on a curved surface there is a "Curved Input Surface" switch in the Experiment tab to view the difference.


The basic approach to image patterning includes:

  1. Create Image node to import image file.
  2. Add a Resize Image node to control the dimensions of the input image.
  3. Link the image data into a Get Pixel node to extract the RGB values.
  4. Use the RGB values to either Colorize a collection of elements or control a geometric parameter (e.g. the sizes of the surface perforations).