openFrameworks addon. draw nicely antialiased and feathered lines and polylines of any width via openGL.
C++ C
Permalink
Failed to load latest commit information.
example added setfrom polyline Oct 20, 2014
src Merge branch 'master' of github.com:roymacdonald/ofxFatLines Oct 20, 2014
.gitignore first commit Jan 8, 2013
README.md updated readme Aug 30, 2013
license.md updated license Jan 8, 2013

README.md

ofxFatLines

Introduction

openFrameworks addon for drawing nicely antialiased and feathered lines and polylines of any width via openGL.

Written by Roy J. Macdonald. 2013

Based on VaseRenderer done by Chris Tsang

This addon is quite easy to use. Check the examples.

This class inherits from ofPolyline so you can pass an ofPolyline and set a width to draw.

The line width and color is defined per vertex, yet it can be defined for the whole fatline.

Licence

Please read licence.md

Installation

Clone into your openFrameworks/addons folder.

Dependencies

Compatibility

Works with of 0073 onwards. Yet it should work with previous versions, probably down to 0071. In such case make sure that you have the ofxGui addon.

Known issues

-When wide lines overlap some artifacts might appear.

Version history

First version.!

Version 0.1 (08 JAN 2013):

To Do

*Implement caps and joints. *Fix weird behaviors when lines overlap.