nice implementation, after thomas help, i got these triangle forms, his research is quite nice about quantization Thomas Dotheij R'n'D November 2016 : Vector Quantization
computer vision seams pretty interesting
i dont get it why you are using closestpoint,
you want to find the bluest/greenest color value for each sector and store the bluest/greenest from each sector to a list right ?
i am sorry i answered in affect when i saw the picture, but "seek" is not defined,
int extreme[] = pcfind(0, "Cd", seek, 2, 1); is maybe what you are looking for
you could sort your points by their polar angle and range them for exemple 300-330 is blue
"converting between polar and cartesian coordinates"
https://en.wikipedia.org/wiki/Polar_coordinate_system
you can use https://www.orbolt.com/asset/animatrix::cameraFrustum::1.00 from animatrix points from volume, and create a vector field (@P - cameraposition )