pakt19

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

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

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

class pakt19App : public AppBasic {
public:
void prepareSettings(Settings *settings);
void setup();
void draw();
int index, n;
float w, h;
float speed, disorder, rad;
vector bubbles;
};

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

void pakt19App::setup() {
index= 0;
w= getWindowWidth();
h= getWindowHeight();
n= 200;
rad= 25.0f;
for(int i= 0; i