Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d9119e5ef2
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (16 sloc) 0.452 kb
#ifndef _MOUSE_C_FOLLOW
#define _MOUSE_C_FOLLOW
#include "ofMain.h"
#define numOfCircles 20
class MouseCircleFollow : public ofBaseApp{
public:
void setup();
void draw();
void update();
float xPos[numOfCircles];
float yPos[numOfCircles];
float dist(int startX, int startY, int endX, int endY);
float createRandomizedNewPos(float in, float mouse);
float max_distance;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.