Here's my code for the histogram.
Hopefully this will generate some new ideas and approaches.
I currently have the debug stream spit out a list of color vectors with a
ranking based on occurrence.
Search for the Discrete variable - that controls the coarseness of the RGB gamut
subdivision.
Color placement is accomplished by vector multiplication and comparison of
vcross results (see code)
Occurrence is tabulated with an accumulator array, the size of which is
determined by the RGB coarseness.
Questions comments suggestions and lessons on coding myself out of wet paper bag
.... welcome as always :)
Post a reply to this message
Attachments:
Download 'hexagonalcolorhistogram.pov.txt' (14 KB)
|