openFrameworks add-on to handle big color libraries including a +2000 colors Pantone, Crayola, Sanzo-Wada and other libraries.
README
ofxColorsBrowser
Overview
An openFrameworks add-on to browse many named color libraries imported from JSON files.Screenshots
ofxSurfingColors
Color Libraries
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.Features
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.Usage
ofApp.h
``.cpp include "ofxColorsBrowser.h"
ofxColorsBrowser colorBrowser; ofFloatColor colorBg;
ofApp.cpp
.cpp ofApp::setup() { colorBrowser.setupColorPtr(colorBg); // set local target color "receiver" colorBrowser.setup(); }
ofApp::draw() { ofBackground(colorBg); // auto updated when changes }
Dependencies
/ DEVELOP BRANCH| Mark | Not required when |
|---|---|
| \ | interface is disabled |
| ImGui is disabled | |
| some example only |
Tested systems
- Windows10 / VS2017 / OF ~0.11
- macOS High Sierra / Xcode 9/10 / OF ~0.11
Author
Addon by @moebiusSurfing (ManuMolina). 2020._Thanks to @bakercp, @armadillu, @pd-andy and all the JSON packers linked above for their repositories._
License
MIT License.Get this addon
Latest release
v2.0
published 5y ago
ofxAddons