this subject about drawing graphical program please help me This exercise is to
ID: 3553141 • Letter: T
Question
this subject about drawing graphical program please help me
This exercise is to gel you familiar with drawing graphical shapes and adding simple animation. There are several loops in this assignment This lab also focuses on letting the program do positional calculations for you rather than you hardcoding them Download the program Assign6Demo. java from the Doc Sharing area Get the Dr.JavaGraphics. jar file too if you haven't already done so. Helpful reading includes: http://facully.orangecoastcollege.edu/sgilbert/book/08-1-ACMGraphics-B/index.html A tutorial on using GLabels http://facully.orangecoastcollege.edu/sgilbert/book/08-1-ACMGraphics-B/ACMTutorial.pdf A complete tutorial on the ACM Graphics package (tons of information, maybe TMI). Homework Modify the graphics program so that it draws at least 3 different shapes. Different means size, color and type (Goval and GRect). The shapes should all be touching, but not overlapping. Move two of the shapes each to different edges of the window. Make sure that they stop when they reach the edge and don't travel off the screen. Use a separate loop for each shape. Note use of .getx(), .gety(), getwidth() and getHeight () methods for finding coordinates. Add a scanner object and prompt the user to enter the (x,y) coordinates of the upper left comer of the first object. The program should work the same as before, with all shapes initially touching and then two of them moving to the edges. For extra credit add fancier shapes (GImage, GPolygon, or Gcompound), more types of motion (diagonal or sine wave!), bounce shapes off the walls, or move all shapes at once in a single loop, rather than having a separate loop for each one Upload your . java file and your reflection document to the Dropbox for Assignment 6. If you can put your . java program and document in a . zip file, it will save me some work, but it is by no means a requirement to do so.Explanation / Answer
sorry your image is not clear to me..
please repost the image clearly, after then i may give an answer..
thank you.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.