#ifndef _PARTICLE
#define _PARTICLE

#include "ofMain.h"
#include "colors.h"

#define OF_ADDON_USING_OFXVECTORMATH
#include "ofAddons.h"

class Particle{
	
public:
	Particle();
	
	float particle_radius;
	
	float pct_moved;
	float size_pct;
	ofxPoint2f prev_pos;
	ofxPoint2f pos;
	ofxPoint2f next_pos;
	
	ofxPoint2f size;
	ofxPoint2f prev_size;
	ofxPoint2f next_size;
	
	
	ofxPoint2f origin;
	float radius_of_movement;
	float angle;
	float angle_of_step;
	
	colors c;
	
	void update();
	
	void move(float x, float y);
	void tween(float speed, float shaper);
	void tweenXeno(float speed);
	void tweenSize(float speed, float shaper);
	void setDestination(float x, float y);
	
	void move_around_circle();
	
	void draw();
	
};

#endif

