Advertisement
cyrstem

changes

Dec 10th, 2015
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1.   if (fadeIn==true) {
  2.         times = ofGetElapsedTimeMillis();
  3.         float phase = 2 * times;
  4.         float value = phase + kx;
  5.         //cout <<value<<endl;
  6.         if (kx<255) {
  7.             kx++;
  8.         }
  9.         ofxOscMessage m;
  10.         m.setAddress( "/ch1/set_alpha" );
  11.         m.addIntArg( kx );
  12.         oscSender.sendMessage( m );
  13.         fadeIn=false;
  14.     }
  15. //--------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement