Question: Processing Implementation: Project _ Samplesize ( 8 0 0 , 6 0 0 , P 3 D ) ; / / set up drawing canvas

Processing Implementation: Project_Samplesize(800,600, P3D); // set up drawing canvas
}
float angle =0; // define variable(s) as neccessary
void draw(){stroke(255,0,0); // stroke color// apply Transformation matrix0,1,0,0,0,0,1,0,// draw a shape from verticesvertex(0,0);vertex (50,50);endShape();
}
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 translate 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 translate 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
Compose a Project Report: Use Microsoft Word to compose your report.
Cover page: Includes course number and name, project name, your name and PantherID.
Calculations: Show steps of calculation on how to obtain each composite transformation
matrix.
Results: Attach the screenshots of the original shape (without any transformation) plus all 6
transformed shapes along with your code.
Discussion: For each transformation, comment on what you observed from the results.
 Processing Implementation: Project_Samplesize(800,600, P3D); // set up drawing canvas } float

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!