kyle


Addons and demos for Open Frameworks.

Addons

ofxFft

Wraps FFTW (includes Windows library) and KISS FFT (a BSD-licensed, platform independent FFT library).

ofxCvHaarFinder

Wraps OpenCV's haar detection algorithm, generally used for face tracking.

ofxDisplayList

Wraps OpenGL's display lists, allowing for dl.begin(), dl.end() and dl.draw(), and handling destruction and copying of the display list reference.

ofxColor

Implements some arithmetic operators on colors, comparison operators for sorting routines, represents HSV and RGB simultaneously (automatically converting between them), handles different color ranges, and handles equals operators for hex and string inputs, allowing for ofxColor myColor = "0x5f3759"; or ofxColor myColor = 0x5f3759;

ofxKmeans

Wraps OpenCV's k-means clustering, clustering vectors of 2d ofPoints and colors from images. Multi-pass adaptive color clustering is also implemented, so that only max-k must be specified. Requires ofxColor.

ofxSvg

Implements a subset of the SVG specification. Loads .svg files, efficiently draws them with caching. Allows a single set of paths to be drawn multiple times with variations using drawPlain(). Requires ofxColor and ofxSvg.

Demos

Barnes Hut

Implements barnes-hut gravity approximation simulation, allowing tens of thousands of particles interacting gravitationally to be simulated in realtime.

Quadtree Particle System

Implements quadtrees for efficient region lookup in sparse, unbounded data.

Binned Particle System

Uses binning/spatial hashing for efficient region lookup in dense, bounded data. Runs faster than quadtrees. Includes optional fast inverse sqrt as a compile time flag.

Project Information

Labels:
openframeworks opencv computervision fft particlesystem