C++ openFrameworks addon with a set of template classes for doing various types of interpolations on data with any number of dimensions. You can feed the system an arbitrary number of data, then resample at any resolution, or ask for the value at any percentage along the data. Input data can be floats (for 1D splines, Vec2f (for 2D splines), Vec3f (for 3D splines), or even matrices, or custom data types (e.g. biped pose). Demo at www.memo.tv/msainterpolator
The code in this repository is available under the MIT License.
Copyright (c) 2008-2012 Memo Akten, www.memo.tv
The Mega Super Awesome Visuals Company
Copy to your openFrameworks/addons folder.
- MSACore
openFrameworks 0072
I am generally testing only with openFrameworks, however it should work with Cinder too. If it doesn't, please file an issue.
none
- compatible with OF0072
- renamed (uppercase) MSA namespace to (lowercase) msa. (kept MSA as an alias for backwards compatibility)
- interpolating by distance seems broken
- move to centralized MSALibs (requires MSACore)
- everything is msa:: namespace
- renamed useDistance to useLength (and all relevant functions)
- using length now uses length of interpolated spline, not linear
- fixed rare crash bug
- changed license to revised BSD (a lot more more permissive than GPL)
- initial version