Composable stroke pipeline for pen plotters: merge, sort, filter, transform, layout, and clip on ofPolyline paths before G-code export.
Works with ofxPlotFinders (image → strokes) and ofxPlotter (ECS, UI, export).
#include "ofxPlotProcessors.h"
plotproc::StrokeDocument doc = /* from layer or finders */;
plotproc::PlotPipeline pipe = plotproc::PlotPipeline::loadPreset("bin/data/plot_pipeline_default.json");
pipe.run(doc);| Doc | Contents |
|---|---|
| docs/README.md | Index |
| docs/ARCHITECTURE.md | StrokeDocument, registry, layers |
| docs/PIPELINE.md | JSON presets, recipes, metrics |
| docs/PROCESSORS.md | All processors and options |
bin/data/plot_pipeline_default.json — line_merge → line_sort (squiggles/filter optional).
Many processors in this addon follow ideas from vpype by Antoine Beyeler (MIT)—a brilliant toolchain for pen-plot workflows. Thank you, Antoine.
ofxPlotProcessors is a native openFrameworks library for in-app pipelines; it is not a port of vpype.