What am I missing

var theNumber = 1;

fill(0, 0, 0);
textSize(30);
text("Analysis of: " + theNumber, 10, 36);

text(“It’s positive”, 10, 90);
text(“It’s negative”, 10, 140);
text(“It’s zero”, 10, 190);

noFill();

if (theNumber > 0){
rect(5, 60, 200, 40);
}

if (theNumber < 0){
rect(5, 110, 200, 40);
}

if (theNumber 0); {
rect(5, 160, 200, 40);
}

What is the graphics software in use above? Is it Processing.js or possible p5.js?

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.