Draw thick, dash-dotted (and colored) lines with OpenFrameworks
README
ofxStyledLine
Introduction
ofxStyledLine is an Open Frameworks addon that extends ofPolyline to :- set the width/thickness of the line
- control the colors of the line on each segment
- control the pattern (dash, dot, )
ofxStyledLine use the programmable GL renderer and geometry shader to render lines.
Licence
This addon is distributed under the MIT License.Installation
Just drop the folder into your addons folder (generallyopenFrameworks/addons/).Dependencies
ofxStyledLine do not require any additional addon to run. However, tests useofxUnitTests addon that should already be inside your addon folder.
ofxAddons