Remapping Lists for Bitmap+

I have a script that has a set of point clouds generated based on an image, split into lists, and an RGB value is assigned to each of the point clouds. Together these point clouds make up a complete 200x200 point grid. I need to export a PNG image with a precise set of pixels matching this collection of point clouds.

I’m trying to use Bitmap+ and the Entwine component to combine the lists and export an image, but I can’t get the lists to order themselves in a way that the Bitmap+ BuildBMP component can read. Looking for advice on how to recombine the the lists so that the RGB values match the 200x200 grid.

TestForBitmap.gh (2.1 MB)

Hi Ryan,

Take a look at the revised script. For better control over color assignment, you can either add more colors to the gradient component or use the manual color assignment group I created, which indicates if the data structure is mismatched. There’s also a color filter group if you need to isolate points by color.

TestForBitmap-DM.gh (2.0 MB)

1 Like