This design uses an imported image to “color in” pixels on an extruded panel in Grasshopper. First, a sine nurbs curve is created and extruded upwards to make a flexing panel. The panel is then separated into Lunchbox Quad Panels. The u and v inputs to the Quad Panel command are generated based off a python function that takes in the mesh fineness, aspect ratio, and horizontal length as inputs.
The program then takes in an image, maps the coordinates of the centroids of each panel onto the image, and colors in those panels with the corresponding pixel RBG color.
Since the image appears rotated, the x and y coordinates of the centroids are swapped before sampling the image, then setting preview display to show the pixel colors.
The following parameters can be adjusted in my design:
- Aspect ratio of imported image
- Horizontal Length of overall panel
- Frequency of sine wave
- Mesh fineness