An openFrameworks addon to load and live-colorize a customized SVG file layered by named groups.
Also blends the SVG with a JPG file, like an outline B&W lines image.
- GUI and
store/recall settings
. Resize and scale
using the mouse.- Different
Blend Modes
and transparency. - Selectable file with some limitations.
- Available
ofRectangle
to set/get position and size.
Look at the example.
- Import your image to be vectorized.
- Draw each color mask/shape by hand.
- Name the groups/layers as: group1, group2, group3... as in the screenshot.
- Save as SVG Tiny 1.1.
- Put the files following the example path and filename structures.
- ofxSurfingHelpers
- ofxGui / OF Core
Already included into OF_ADDON/libs. No need to clone/add manually.
Look into folders for authorship, original forks, or licenses.
- ofxPSBlend
- ofxSvg
- ofxSvgLoader
- Size colors are hardcoded now to my two
SVG
samples.- Count layers amount from the imported
SVG
file and use this number of colors.
- Count layers amount from the imported
- Add masked mode. (?)
- Windows10 / VS2017/2022 / OF ~0.11
An addon by @moebiusSurfing
(ManuMolina). 2020-2023.
MIT License.