Timing utilities for handling recurring events, fading, framerate counting.
C++ C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
src
.gitignore
license.md
readme.md

readme.md

ofxTiming is an addon for openFrameworks

ofxTiming provides classes that implement common patterns associated with timing.

DelayTimer

An asynchronous buffered intervalometer that will accept a framerate, and return a true tick() when it's time to execute an event associated with that interval.

FadeTimer

A class that returns a state between 0 and 1 that will fade from one end to the other given start() or stop(), correctly handling intermediate cases.

Hysteresis

A class for filtering and tracking noisy input. This also plugs into FadeTimer.

RateTimer

A class for timing framerates or intervals of time.