xxxxxxxxxx
30
const CANVAS_HEIGHT = 400;
const CANVAS_WIDTH = 600;
const SKY_LEVEL = 250;
let stars = [];
let shootingStars = [];
let buildings = [];
function setup() {
createCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
}
function draw() {
background(220);
noStroke();
// ciel
fill("MidnightBlue");
rect(0, 0, CANVAS_WIDTH, SKY_LEVEL);
// lune
// étoiles
// étoiles filantes
// gratte-ciels
}