Hey!
Now I have worked a bit more and now it looks this way -
void setup() {
size(700, 700);
}
float smile = 85;
boolean isGradeA = smile >= 90;
void draw() {
background(0);
textSize(48);
if(isGradeA){
background(0, 0, 0);
fill(0);
PImage morning;
morning = loadImage("morning.gif");
image(morning,0,0);
}
else{
background(255, 0, 0);
fill(0);
PImage morning;
morning = loadImage("morning.gif");
image(morning,0,0);
}}
The problem is, that I can visualize only 1 emotion, but I have 5 and for every emotion I have an if else statement… do you know how to add one more similar code to the existing? but for example not Smile, but angry?