pakt06

#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 pakt06App : public AppBasic {
public:
void prepareSettings(Settings *settings);
void setup();
void draw();
int n;
float w, h;
float theta, speed, spread;
vector points;
cairo::Context ctx;
};

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

void pakt06App::setup() {
n= 50;
theta= 0;
speed= 0.00002;
spread= 1;
for(int i= 0; i