timer functions (ofxSetTimeout and ofxSetInterval) like JavaScript for openframeworks