← Back

ofxVoronoi

github.com/trentbrooks/ofxVoronoi · @trentbrooks
OF 0.8 Algorithms Geometry 2D Data Visualization

Voronoi Diagram

3 5 Last commit 12y ago Created 12y ago

Forks

Forks pushed to more recently than trentbrooks/ofxVoronoi itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

laserpilot/ofxVoronoi by @laserpilot · ★ 1 · pushed 10y ago

README

Voronoi Diagram

Simple addon to make voronoi diagrams in openFrameworks.

The algorithm is a modified version of Stephan Fortune's sweep line algorithm http://ect.bell-labs.com/who/sjf/

Orignal Code from Shane O'Sullivan http://www.skynet.ie/~sos/mapviewer/voronoi.php

UPDATE This is a modified version of Todd's original ofxVoronoi addon. I've replaced the precompiled Voro++ 2D library (libvoro++_2d32.a), with the original source as created by Chris Rycroft (https://codeforge.lbl.gov/scm/?group_id=108). Works on OSX and Windows. There was also a memory leak with setBounds I had to remove.

Trent Brooks

Get this addon

HTTPS
SSH