From d503992380630c1ee6d2edce8861d5f6e31cf8a1 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sat, 18 Aug 2018 12:09:34 +0100 Subject: start vector plugin arch --- gui/src/ofApp.h | 107 +++++++++++--------------------------------------------- 1 file changed, 20 insertions(+), 87 deletions(-) (limited to 'gui/src/ofApp.h') diff --git a/gui/src/ofApp.h b/gui/src/ofApp.h index 128dd05..3d9a646 100644 --- a/gui/src/ofApp.h +++ b/gui/src/ofApp.h @@ -1,4 +1,4 @@ - #pragma once +#pragma once #include "ofMain.h" @@ -26,6 +26,25 @@ #include "ofxHistoryPlot.h" #include "Audioplotter.h" +/* +doing the show + +projection mapping * drawing +draw shapes into the space and save them in sets +use them to draw lines, expand and contract outline +use them to mask geometric and random drawn styles +have some kind of audioreactivity +an interface flexible enough to enable making a show on the fly + +plugin architecture for vector generators and effects + +polylines in +polylines out +masking +audio + +*/ + enum Source{ TEST, // NDI, @@ -37,93 +56,7 @@ enum Source{ }; -class chaosPanel : public ofxPanel { - public: - chaosPanel(){ - ofRegisterKeyEvents(this, defaultEventsPriority); - } - bool isSelected; - ofParameter active; - ofParameter amount; - ofParameter scale; //?per plugin?? - bool mouseMoved(ofMouseEventArgs & args){ - if (args.x>getPosition().x&& - args.x-getPosition().xgetPosition().y&& - args.y-getPosition().y "< "< "< - transformer - <> - chaos - <> - drawing - - */ - - int shown=0; - - void update_sliders(){ - clear(); - add(plugin_label.setup(chaosloader.name)); - add(active.set("use",false)); - add(amount.set("amount", 0.0f, -0.1f, 0.1f)); - - for (auto p:chaosloader.get().params){ - add(p); - } - ofLog()<<"loaded "< plugin_name; -}; class ofApp: public ofBaseApp, public ofxMidiListener { -- cgit v1.2.3