Do you know the processing code for this question.
Display window size is set to (600, 600). The targets are composed of concentric rings. Two adjacent rings have a difference of 20 pixels between their diameters. Each time the target is displayed, it shrinks to shed one ring away.
The initial number of rings in a target is between 5 and 10 (including both values). Assuming there are ‘n’ rings, the diameter of the biggest ring is n*20, of the second biggest ring is (n­?1)*20 and so on till diameter of the smallest ring is 20. The rings should alternate between a color chosen when the target is generated first, and between white. The biggest ring should be in the color set, the second biggest ring white, and so on. You should use a loop to display the ring.
When you press the mouse within a target, the score increases by 1. This score should be displayed on the bottom left side of the display window with the bottom left corner of the text­?box at (20, height-­20)
It will benefit you greatly if you create methods to initiate a target (set number of rings, the color, and the coordinates), and also a method that draws the target.
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
The moment you’ve entered the education system is the moment you start to realize that, although studying is extremely important,…
APPROVED BY CLIENTS
Hello, I wanted to say Thank You for allowing me more time for work, family and all else going on during these crazy times. I do appreciate the time and effort you have put into assisting me. My last order was written almost perfectly, however, it reflected a different county than the one I live in....I was able to tweak it and it was just fine. I know I should be more explicit with my instructions. Thank you so much for the great work and always coming through for me;)