Question: Please do it with Processing (programming language) Q3. Use of input box use of text and draw text. Write a program that does the following:

Please do it with Processing (programming language)

Please do it with Processing (programming language) Q3. Use of input box

Q3. Use of input box use of text and draw text. Write a program that does the following: Assume the canvas size of 500X500. The program asks the user to enter any text using the JOptionPane dialog box. The program then draws the text in a circular formation such that: Each character of the text is always at an equal distance from the center of the circular formation. Each character of the text is at equal angle from one another. o It does not matter which angle the first character is at. o Assume the center of this formation is at the center of the canvas. Program should draw the text following the above criteria irrespective of the length of the text. When the mouse is pressed in within the circular formation, the radius of the circular formation should increase. That is, each of the characters should start moving away from the center of the circular formation. The character should move out till they reach the end of the canvas (approximately). One the mouse released, the characters should start moving back to the original location till they reach their original location. This process should repeat every time the mouse is clicked on the circular formation. Refer to the video file for illustration. Hint: import javax.swing.JOptionPane; JOptionPane.showInput Dialog("") 1 0 0 1 PO M

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!