← Back

ofxTiming

github.com/kylemcdonald/ofxTiming · @kylemcdonald
OF 0.10 Utilities

Timing utilities for handling recurring events, fading, framerate counting.

32 10 Last commit 8y ago Created 14y ago

Forks

Forks pushed to more recently than kylemcdonald/ofxTiming itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

brianw/ofxTiming by @brianw · ★ 0 · pushed 3mo ago

README

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.

Get this addon

HTTPS
SSH