https://github.com/moebiussurfing/ofxsurfinganimators
Helper add-on for ofxAnimatable: Float, Noise, Position, Color, Envelpe, and Toggle animator classes. BPM timed, plotting previews, presets and ImGui.
https://github.com/moebiussurfing/ofxsurfinganimators
openframeworks openframeworks-addon
Last synced: 8 months ago
JSON representation
Helper add-on for ofxAnimatable: Float, Noise, Position, Color, Envelpe, and Toggle animator classes. BPM timed, plotting previews, presets and ImGui.
- Host: GitHub
- URL: https://github.com/moebiussurfing/ofxsurfinganimators
- Owner: moebiussurfing
- License: mit
- Created: 2020-09-15T22:42:21.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2023-10-20T03:44:01.000Z (over 2 years ago)
- Last Synced: 2025-10-10T04:31:59.829Z (8 months ago)
- Topics: openframeworks, openframeworks-addon
- Language: C++
- Homepage:
- Size: 23.5 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ofxSurfingAnimators
**openFrameworks** helper add-on for the _AWESOME_ [ofxAnimatable](https://github.com/armadillu/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](https://github.com/moebiussurfing/ofxSurfingHelpers)
* [ofxSurfingImGui](https://github.com/moebiussurfing/ofxSurfingImGui)
* [ofxImGui](https://github.com/Daandelange/ofxImGui/) [ _Fork_ ]
* [ofxSurfingPresets](https://github.com/moebiussurfing/ofxSurfingPresets) [ _Optional_ ]
* [ofxSurfingPlayer](https://github.com/moebiussurfing/ofxSurfingPlayer) [ _Optional_ ]
Already bundled into ```OF_ADDON/libs```.
No need to add manually to the **PROJECT GENERATOR**!
[ofxAnimatable](https://github.com/armadillu/ofxAnimatable)
[ofxHistoryPlot](https://github.com/moebiussurfing/ofxHistoryPlot)
[ofxBiquadFilter](https://github.com/dzlonline/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. 2021*
## License
MIT License