diff options
| author | Tim Redfern <tim@getdrop.com> | 2022-08-15 23:44:37 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2022-08-15 23:44:37 +0100 |
| commit | 1fd61e1304cba349b4c1233919c862ae22b2ecff (patch) | |
| tree | 31c57ffe2f9bf9a817e2f8132b28a572cab21623 /lasertext/src/ofApp.cpp | |
| parent | e471ae5b7df7e5d7d0190b354846fa24b0ad9d61 (diff) | |
animate individual words
Diffstat (limited to 'lasertext/src/ofApp.cpp')
| -rw-r--r-- | lasertext/src/ofApp.cpp | 4 |
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); |
