pakt08

#include "cinder/app/AppBasic.h"
#include "cinder/cairo/Cairo.h"
#include

using namespace ci;
using namespace ci::app;
using namespace std;

const int WIDTH= 640;
const int HEIGHT= 480;

class pakt08App : public AppBasic {
public:
void prepareSettings(Settings *settings);
void setup();
void draw();
int n;
float w, h;
float d, speed, spread, theta;
vector points;
cairo::Context ctx;
};

void pakt08App::prepareSettings(Settings *settings) {
settings->setWindowSize(WIDTH, HEIGHT);
settings->setResizable(false);
}

void pakt08App::setup() {
n= 25;
d= 0.0001f;
speed= 0.00002f;
spread= 2.0f;
theta= 0.0f;
for(int i= 0; i