From 8c43a654fdc0a0fd822fd0bd9462cdadf6d96456 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 29 Sep 2022 19:13:29 +0100 Subject: chaos chaos --- gui/src/ofApp.cpp | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'gui/src/ofApp.cpp') diff --git a/gui/src/ofApp.cpp b/gui/src/ofApp.cpp index 2b7a9e1..1683057 100644 --- a/gui/src/ofApp.cpp +++ b/gui/src/ofApp.cpp @@ -3,9 +3,18 @@ const ofPoint outputWindowSize=ofPoint(1200,900); const float guiScale=560.0f/4096.0f; - - -string sourcenames[6 ]={ +const char keysDescription[]="\ +` toggle position interface\n\ +q source <\n\ +p source >\n\ +w toggle frame\n\ +d default settings\n\ +s save settings\n\ +rshift next plugin\n\ +lshift prev plugin"; + + +string sourcenames[6]={ "TEST", // "NDI", "Player", @@ -490,6 +499,8 @@ void ofApp::draw(){ ofSetColor(255); ofNoFill(); + ofDrawBitmapString(keysDescription, ofGetWidth()-200, ofGetHeight()-150); + if (bShowPositionInterface){ glPushMatrix(); @@ -832,6 +843,11 @@ void ofApp::drawOutput(ofEventArgs & args){ 0.0f,1.0f,0.0f,0.0f, 0.0f,0.0f,1.0f,0.0f, 0.0f,0.0f,0.0f,1.0f); + // added Sept 29 2022 trying to resurrect this + // does SOMETHING and the num of points remains correct + plotter.usechaos=chaosgui.active; + plotter.chaosamount=chaosgui.amount; + // polyOutput=plotter.output(scalePlot,decayPlot); break; } @@ -999,7 +1015,7 @@ void ofApp::outputKeyPressed(ofKeyEventArgs &args){ keyPressed(args); -} +} void ofApp::keyPressed(ofKeyEventArgs &args){ if (args.key==OF_KEY_COMMAND){ -- cgit v1.2.3