function draw(){
background(200);
noStroke();
fill(“red”);
rect(width0.05, height0.8, health, height*0.1);
}
ya, there are graphics APIs like that. the 2d canvas is similar, except for the “background(200)” thing. what is that meant to do? what exactly is a “list of code” by the way?