An openFrameworks add-on to browse many named color libraries imported from JSON files.
- Pantone (+2000 colors).
- Sanzo Wada: A Dictionary of Color Combinations from @dblodorn.
- Crayola from @jjdelc.
- Cheprasov from @cheprasov.
- Open Color from @pd-andy.
- OF Native named colors.
- Updatable with other text files based libraries (JSON, XML, or other colors libs/addons).
- Cards with seteable amount of colors.
- Sort the library by Hue, Name or with the original sorting.
- GUI with clickable colored and named boxes.
- The interface can be completely disabled to simplify. But still exposing access to the colors.
- Key commands, browse with arrow keys and an ofxGui debug panel.
- Basic exposed parameters to integrate in other apps/add-ons. Store/Recall settings.
#include "ofxColorsBrowser.h"
ofxColorsBrowser colorBrowser;
ofFloatColor colorBg;
ofApp::setup()
{
colorBrowser.setupColorPtr(colorBg); // set local target color "receiver"
colorBrowser.setup();
}
ofApp::draw()
{
ofBackground(colorBg); // auto updated when changes
}
- ofxSurfingHelpers
- ofxGui
- ofxRectangleUtils * / DEVELOP BRANCH
- ofxFontStash *
- ofxSurfingImGui **
- ofxImGui **
- ofxWindowApp ***
Mark | Not required when |
---|---|
* | interface is disabled |
** | ImGui is disabled |
*** | some example only |
Already bundled into OF_ADDON/libs
. No need to add to the PROJECT GENERATOR!
- Windows10 / VS2017 / OF ~0.11
- macOS High Sierra / Xcode 9/10 / OF ~0.11
Addon by @moebiusSurfing
(ManuMolina). 2020.
Thanks to @bakercp, @armadillu, @pd-andy and all the JSON packers linked above for their repositories.
MIT License.