Helper add-on for ofxAnimatable: Float, Noise, Position, Color, Envelpe, and Toggle animator classes. BPM timed, plotting previews, presets and ImGui.
Branches ahead of develop
These branches have commits not yet on develop — could be unmerged fixes or work in progress worth a look.
README
ofxSurfingAnimators
openFrameworks helper add-on for the _AWESOME_ ofxAnimatable from @armadillu. Some classes to faster integration into your _OF Apps / Add-ons_:
FloatAnimator, NoiseAnimator, PositionAnimator, ColorAnimator, EnvelopeAnimator and ToggleAnimator.
Screenshots
1_Float (2 x FloatAnimator)
2_FloatNoised (FloatAnimator + NoiseAnimator)
3_Point (PositionAnimator)

4_PointColored (PositionAnimator + ColorAnimator)

5_Envelope (EnvelopeAnimator)
Overview
openFrameworks helper addon for ``ofxAnimatable`: Classes: FloatAnimator.h PositionAnimator.h NoiseAnimator.h (Envelope Modulated 3D Noise point + Filters) ColorAnimator.h EnvelopeAnimator.h (ASR envelope for a Float. Double independent curve types for Input/Output.) ToggleAnimator.h
Added ImGui based GUI.
Internal settings handling: Auto Store-Recall. Musical BPM based or absolute time scale. Plotting realtime value curves. Curves Preview drawing. Setters for _Start/End_, time mode, duration and pre pause, curve tween types, loop modes, repeats ...etc.
Dependencies
ofxSurfingHelpers ofxSurfingImGui ofxImGui [ _Fork_ ] ofxSurfingPresets [ _Optional_ ] ofxSurfingPlayer [ _Optional_ ]
Already bundled into `OF_ADDON/libs`. No need to add manually to the PROJECT GENERATOR! ofxAnimatable ofxHistoryPlot ofxBiquadFilter [ _Optional_. Used to Filter the Noise Point ]
Usage
- Look the Examples.
ofApp.h
`.c++ include "FloatAnimator.h"
FloatAnimator animatorFloat;
ofApp.cpp
.c++ void setup() { animatorFloat.setup(0.0f, 1.0f); }
void update() { float value = animatorFloat.getValue(); }
void keyPressed(int key){ if (key == ' ') animatorFloat.start(); } ``Tested Systems
- Windows10 / VS2017 / OF ~0.11
Author
Add-on by @moebiusSurfing ( ManuMolina ). 2020. 2021License
MIT LicenseGet this addon
Latest release
v1.2
published 5y ago
+ Switched to ImGui + Added presets
ofxAddons