use app Processing.This lab will explore the use of conditional statements. You will be designing a display dashboard consisting of three (3) boxes that will represent the continuous operation of your...


use app Processing.


This lab will explore the use of conditional statements. You will be designing a display dashboard consisting of three (3) boxes that will represent the continuous operation of your program.


Requirements



  1. For each frame in your program, a new random number will be generated, and based on that value, one of the boxes will be updated

  2. Each box will represent a different color (red, green, blue)

  3. The maximum value for each box should be 255

  4. Display the number of frames it takes to “fill” the box at 255

  5. When all boxes are “full”, stop drawing


Correctness (80 pts)



  • Are the boxes drawn properly?

  • Does at most one of them update with each frame?

  • Is the frame value displayed when a box is “full” at 255?

  • Does the program stop when all boxes are “full”?


Program Structure (20 pts) - Comments and Readability


Bonus (10 pts) - As a box is “filling”, instead of starting with a big box, start small and have the box grow in size.

Oct 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here