xxxxxxxxxx
//BG's
DayBG daysky;
NightBG nightsky;
//Night BG Stars
int numstars = 50;
NStars [] regstars = new NStars [numstars];
NStars [] newstars1 = new NStars [numstars];
//Mask
PImage mask;
void setup () {
size (500, 500, P2D);
//Day BG
daysky = new DayBG ();
//Night BG
//nightsky = new NightBG ();
//for (int index1 = 0; index1 < numstars; index1 = index1 + 1) {
// regstars[index1] = new NStars ();
// newstars1[index1] = new NStars ();
//Mask
mask = loadImage ("Mask_Black.png"); {
}
}
void draw () {
//Day BG
daysky.display ();
//Night BG
//nightsky.display ();
//for (int index1 = 0; index1 < numstars; index1 = index1 +1) {
//regstars[index1].display();
//newstars1[index1].display();
//newstars1[index1].starcolour = color (#FFFF90);
//newstars1[index1].starW = 2;
//}
//Mask
image (mask, 0, 0);
}
void mousePressed () {
saveFrame();
}