Given this code:
if (mouseX < pmouseX && mouseY > pmouseY)
Fill in this table to show what the background color will be for the given values
mouseX pmouseX mouseY pmouseY color
50 40 70 60
60 30 20 90
30 50 40 10
20 80 50 75
I am not sure how this is figured out in processing.
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
I'm not really sure what you're doing, but looking at it is seems like you would either fill it with 128 or 0. For the first one it shows mouseX is > pmouse x and mouseY is above pmouseY soit's a 0. I guess the rest will be filled out as well..
yahh, just like what KonradZuse says. If mouseX < pmouseX & mouseY > pmouseY then the color would be 0. Other than that, the color will be 128. So look at line 3, mouseX is less than pmouseX but mouseY is greater than pmouseY so that makes the color 128.
The color part is given to you. The code says if mouseX < pmouseX & mouseY > pmouseY then the color would be 0 because the code says "background(0)" which is black & the other case is "background(128)" which is Idk which color.