#include "ofApp.h" int MAX_POINTS=30000; int NUM_POINTS=1024; int LASER_INTENSITY=37; //-------------------------------------------------------------- void testApp::setup(){ laser.set_pts(MAX_POINTS); laser.set_intensity(LASER_INTENSITY); } //-------------------------------------------------------------- void testApp::update(){ ofSetWindowTitle(ofToString(ofGetFrameRate(), 2)); } //-------------------------------------------------------------- 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