summaryrefslogtreecommitdiff
path: root/lasertext/src/ofApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lasertext/src/ofApp.cpp')
-rw-r--r--lasertext/src/ofApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasertext/src/ofApp.cpp b/lasertext/src/ofApp.cpp
index 8e5a4cd..adb393f 100644
--- a/lasertext/src/ofApp.cpp
+++ b/lasertext/src/ofApp.cpp
@@ -25,7 +25,7 @@ void ofApp::setup(){
}
//--------------------------------------------------------------
void ofApp::update(){
-
+ banner.update(10.0f);
}
//--------------------------------------------------------------
@@ -33,7 +33,7 @@ void ofApp::draw(){
ofBackground(0,0,0);
ofSetColor(255,255,255);
- vector<colourPolyline> shapes = banner.getOutlines();
+ vector<colourPolyline> shapes = banner.getOutlines(0.06f+(0.02f*sin(ofGetElapsedTimef()*.1f)));
int num = laser.draw(shapes);