Skip to content

moebiussurfing/ofxSurfingAnimators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

gif

2_FloatNoised (FloatAnimator + NoiseAnimator)

gif

3_Point (PositionAnimator)

image

4_PointColored (PositionAnimator + ColorAnimator)

image

5_Envelope (EnvelopeAnimator)

image

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

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

#include "FloatAnimator.h"
FloatAnimator animatorFloat;

ofApp.cpp

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

About

Helper add-on for ofxAnimatable: Float, Noise, Position, Color, Envelpe, and Toggle animator classes. BPM timed, plotting previews, presets and ImGui.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published