Hi everybody, i'm pretty new with processing and i really love it but i've some problems S:.
I've to do an excercise that my university teacher gave to me but i cna't pass trought this thing. Essentially, if you look at the screen, i've to fill all the ellipse above the diagonal with a green color and all ellipse below, with a red color.
if(posY[i] > HERE I PUT A VALUE){ fill(255,155,123); } else{ fill(111,144,113); }
}
}
Now i tried to put inside the posY[] a value that goes around 100 and 300 but it works bad... i know is not the correct way to do this thing but i tried.
p.s= i know just arrays, variable and for/while/if etc.. so i've to do this with those features. Anyone have an advice??? thanks so much.