← Back

ofxPlayhead

github.com/Daandelange/ofxPlayhead · @Daandelange
OF 0.12 Animation Utilities

ofxPlayhead is ofGetElapsedTime() on steroids.

3 0 Last commit 5mo ago Created 1y ago

README

ofxPlayhead



ofxPlayhead is ofGetElapsedTime() on steroids.

ofxPlayhead

Description



This utility class basically provides a playhead position with playback capabilities and time accessors for your compositions. It implements functionality from both sequencers, DAW metronoms, clocks, timelines, and players. It's meant to replace the usage of ofGetElapsedTime() to provide an interactive "player" experience in your ofApps.

I have used this utility both for exporting frame-by-frame animations (with a real-time editor) and for running and editing real-time compositions.

Features:



_Note: The term "timeline" sometimes refers to editors for animations in time. There's no timeline animation features build-in ofxPlayhead._

Setup



Examples



Example-imgui uses ofxImGui by default, but you can disable it by removing ofxAddons_ENABLE_IMGUI from config.make and removing ofxImGui from addons.make.

Known issues:



Future directions



Similar / Alternatives



Get this addon

HTTPS
SSH