CS3398-Spice-Girls / CS3398-Spice-S2017

0 stars 3 forks source link

research existing color palette #18

Closed codestar12 closed 7 years ago

codestar12 commented 7 years ago

review open source code to see if a color palette tool exists

ghost commented 7 years ago

Will look into https://github.com/phjardas/color-palette-generator to see how it will differ from our projected end goal and/or if they have anything we can use.

ghost commented 7 years ago

Upon looking through https://github.com/phjardas/color-palette-generator and https://github.com/jxnblk/palx (the most popular JavaScript color palette generators on GitHub), I found that fundamentally they work differently than our final project will. Instead of having a user upload an image and using some kind of computer vision tool to search the image for the prevalent colors, they have a user select a color and then use basic math to slightly change the hue, the brightness, and the saturation and build a palette of 10 to 27 images dependent on which generator it is. Looking through there source code, it looks like we may be able to reference some of their code for some of the features we talked about such as generating a palette of a different hue by looking at the mathematical relation between the colors of an already existing palette and then just changing the hue while maintaining the everything else.