Question: use processing Q4. Smart Phone Simulator. Write a program that achieves the following: Draws a smart phone box simulator with a home button. Draw a

use processing use processing Q4. Smart Phone Simulator. Write a program that achieves the

Q4. Smart Phone Simulator. Write a program that achieves the following: Draws a smart phone box simulator with a home button. Draw a home button using an ellipse at the bottom of the simulator. When the home button is pressed and while the mouse button is kept pressed, The color of the button should fade from white to black gradually. . Once the color of the home button changes to black, three buttons should appear, shut down, restart and 911 call. Color the three buttons appropriately. Once the user clicks (not mouse press) on the shutdown button, The color of the smart phone box should fade from white to black gradually. This gradual fade can be similar to the fade applied to the home button. Nothing happens when the Restart or 911 call buttons are pressed. This is to keep things simple in this question To achieve curve at the comers of the rectangle, use the fifth parameter value of 20 or value close to it that you prefer works the best. Refer to the video file for illustration. Hint: To fade color from white to black, you could use timer. As the timer progresses by the second change the color accordingly. O Q4. Smart Phone Simulator. Write a program that achieves the following: Draws a smart phone box simulator with a home button. Draw a home button using an ellipse at the bottom of the simulator. When the home button is pressed and while the mouse button is kept pressed, The color of the button should fade from white to black gradually. . Once the color of the home button changes to black, three buttons should appear, shut down, restart and 911 call. Color the three buttons appropriately. Once the user clicks (not mouse press) on the shutdown button, The color of the smart phone box should fade from white to black gradually. This gradual fade can be similar to the fade applied to the home button. Nothing happens when the Restart or 911 call buttons are pressed. This is to keep things simple in this question To achieve curve at the comers of the rectangle, use the fifth parameter value of 20 or value close to it that you prefer works the best. Refer to the video file for illustration. Hint: To fade color from white to black, you could use timer. As the timer progresses by the second change the color accordingly. O

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!