#include "ofApp.h" int MAX_POINTS=20000; int NUM_POINTS=128; int LASER_INTENSITY=37; int CIRCLE_RADIUS=256; //-------------------------------------------------------------- void testApp::setup(){ laser.set_pts(MAX_POINTS); laser.set_intensity(LASER_INTENSITY); } //-------------------------------------------------------------- void testApp::update(){ } //-------------------------------------------------------------- void testApp::draw(){ ofBackground(0); ofSetColor(255,255,255); /* if (line.size()){ current++; } ofPolyline todraw; for (int i=max(0,min(current,(int)line.size())) ;i lines; for (int k=0;k<2;k++){ for (int j=0;j<2;j++){ colourPolyline line; for (int i=0;i0){ ofSetWindowTitle(ofToString(ofGetFrameRate(), 2)+" fps laser points: "+ofToString(num)); } else { ofSetWindowTitle("laser error "); } } //-------------------------------------------------------------- void testApp::keyPressed(int key){ } //-------------------------------------------------------------- void testApp::keyReleased(int key){ } //-------------------------------------------------------------- void testApp::mouseMoved(int x, int y ){ /// int i = 1; /// while ( i