Skip to content

hideyukisaito/ofxAVString

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ofxAVString

A utility class for the yugop style text effect a.k.a. Ascii Vibration in openFrameworks.

Usage

ofTrueTypeFont font;
ofxAVString avs1("openFrameworks");

void ofApp::setup()
{
  font.loadFont("Arial Bold", 16);
  
  
  ofxAVString avs2 = " is awesome";
  avs1 += avs2;
  
  // range, total duration, delay
  avs1.play(0, 1000, 1000);
}

void ofApp::draw()
{
  font.drawString(avs, 10, ofGetHeight() * 0.5);
}

About

a utility class for the yugop style text effect in openFrameworks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published