From 1fd61e1304cba349b4c1233919c862ae22b2ecff Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 15 Aug 2022 23:44:37 +0100 Subject: animate individual words --- lasertext/src/ofApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lasertext/src/ofApp.cpp') 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 shapes = banner.getOutlines(); + vector shapes = banner.getOutlines(0.06f+(0.02f*sin(ofGetElapsedTimef()*.1f))); int num = laser.draw(shapes); -- cgit v1.2.3