SkillAgentSearch skills...

OfxPlotter

Graph plotting addon for openFrameworks.

Install / Use

/learn @yeswecan/OfxPlotter
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ofxPlotter

alt tag

Introduction

A simple function plotter class for openFrameworks with built-in variable filtering and a ascetic syntax.

Requirements

It requires C++11 so it will work on any oF distribution past 0.9. Should work on all the major OSes (Windows, OSX, Linux, Android, iOS), no special requirements here.

Usage

ofxPlotter is designed to be as simple and as minimal as possible for plotting functions in realtime.

setWindow(int windowSize); // set window (a.k.a. plot length)

plotter["variable name"] << variable; // add a new data to the plot "variable name"

plotter.draw(100, 100, 300, 300); // draw the plot

Every variable name's plot will be drawn separately in a Rectangle that's position on screen is x = 100, y = 100 and size is width = 300, height = 300.

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated4y ago
Forks1

Languages

C

Security Score

55/100

Audited on Mar 21, 2022

No findings