Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help develop a Java 2D graphics application that creates 5 images. The images should have the following specifications: a. Size: minimum 25x25 pixels, larger

Please help develop a Java 2D graphics application that creates 5 images. The images should have the following specifications:

a. Size: minimum 25x25 pixels, larger images are Okay

b. Type: Color (consists of two or more colors)

c. Simple form or shape (Hint: consider a letter or number, or even simple shapes such as crossing lines, rectangles, or circles

d. You should generate the image inside of separate methods and store them as 2D arrays.

2. Use Java 2D graphics to display your original images.

3. For each image use the existing Java 2D graphics transformation methods to translate, rotate and scale each object. You should perform the following transformations on each image:

a. Translate -10 in x direction, Translate +12 in the y direction.

b. Rotate 55 degrees counter clockwise.

c. Rotate 75 clockwise

d. Scale 3 times for the x component, scale 1.5 times for the y component

e. Each of these transformations should be displayed in sequence with the images always starting from the previous transformation as opposed to the original image.

f. Use Java 2D graphics to display each transformation for each image.

NOTE: I used Eclipse and prefer the source code in txt format. Please do not use the same TF animation that has been seen already.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions