console.log("hello, grass");
function setup() {
console.log("setup, grass");
createCanvas(windowWidth, windowHeight);
noStroke();
fill(255, 255, 255);
noLoop();
}
function draw() {
console.log("draw, grass");
background(40, 40, 40);
fill(220, 220, 220);
rect(0, height * 0.5, width, height * 0.5);
stroke(220, 220, 220);
drawGrass(0, height * 0.5 - 100, width, 100);
drawGrass(0, height * 0.5 - 100, width, 100);
}
function drawGrass(left, top, width, height) {
for (let x = left; x < left + width; x++) {
const y = top + height;