Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Download Processing and install it on your computer. Create a drawing canvas with the window size of 8 0 0 6 0 0 pixels. Use

Download Processing and install it on your computer.
Create a drawing canvas with the window size of 800600 pixels.
Use the background color, shape color, and stroke color of your choice.
Draw a shape on the drawing canvas by connecting all these following vertices:
V=[010010012080406060000010010014010010040400]
Determine a 44 matrix that produces each of the following composite 2D transformations using homogeneous
coordinates.
a. Translate by (200,50) and then rotate 45 degree about the origin
b. Rotate 45 degree about the origin and then translate by (200,50)
c. Rotate -90 degree about the origin, then scale the x-coordinate by 2 and the y-coordinate by 0.5. After that translat
by (400,300)
d. Scale the x-coordinate by 2 and the y-coordinate by 0.5, then rotate -90 degree about the origin. After that translat
by (400,300)
e. Apply shear transformation along the x-axis with the factor of 1.25, then reflect the shape through y=x
f. Reflect the shape through y=x, then apply shear transformation along the x-axis with the factor of 1.25
Apply EACH composite transformation matrix obtained in 5 to transform the shape. (You should obtain 6 transformed
shapes.)
Take screenshots of the transformed shapes and the snapshot of your code
image text in transcribed

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

Students also viewed these Databases questions