0% found this document useful (0 votes)
81 views4 pages

Quiz 1

The document discusses rotating a polygon by rotating each vertex by the same angle of 60 degrees. It provides the original and new coordinates of the four vertices of a triangle after rotating it. It also contains short summaries of what computer graphics is used for, including graphical user interfaces, art, entertainment, and presentations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views4 pages

Quiz 1

The document discusses rotating a polygon by rotating each vertex by the same angle of 60 degrees. It provides the original and new coordinates of the four vertices of a triangle after rotating it. It also contains short summaries of what computer graphics is used for, including graphical user interfaces, art, entertainment, and presentations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Faisal Mahamud Shanto

Id: 183-15-11871

Answer to the QS. 1(a)

Solution:
We always rotate a polygon by rotating each of its vertexes with the same rotation
angle.

Given,

 Old corner coordinates of the triangle = A (71,3), B (74, 1), C (71, 1) D(67,-2)
 Rotation angle = θ = 60º

For the Co-ordinate A (71,3)

Let the new coordinates of corner A after rotation = (X new, Ynew).

When we apply the rotation equation, we get-

Xnew = Xold x cosθ – Yold x sinθ

= 71 x cos60º – 3 x sin60º

=32.901

Ynew = Xold x sinθ + Yold x cosθ

= 71 x sin60º + 3 x cos60º

= 62.987

Thus, the new co-ordinates of corner A we get after rotation is = (32.901


, 62.987).

For the Coordinate B (74,1)

Let the new coordinates of corner B after rotation = (Xnew, Ynew).

Xnew = Xold x cosθ – Yold x sinθ

=74 x cos60º – 1 x sin60º

= 36.133

Ynew = Xold x sinθ + Yold x cosθ

= 74x sin60º + 1x cos60º

= 63.585

Thus, the new co-ordinates of corner B that we get after rotation are = (36.133

, 63.585).

For the Coordinate C (71,1)

Let the new coordinates of corner C after rotation = (Xnew, Ynew).

Xnew = Xold x cosθ – Yold x sinθ

= 71 x cos60º – 1 x sin60º

= 34.633

Ynew = Xold x sinθ + Yold x cosθ

= 71 x sin60º + 1 x cos60º

= 60.987

Thus, the new co-ordinates of corner C we get after rotation is = (34.633, 60.987).

For the Coordinate D (67,-2)

Let the new coordinates of corner C after rotation = (Xnew, Ynew).


Xnew = Xold x cosθ – Yold x sinθ

= 67 x cos60º - (-2) x sin60º

= 35.232

Ynew = Xold x sinθ + Yold x cosθ

=67 x sin60º + (-2) x cos60º

= 57.023

Thus, the new co-ordinates of corner D we get after rotation is = (35.232 , 57.023).

Thus, the new co-ordinates of the triangle after rotation are =

A (32.901, 62.987),

B (36.133, 63.585),

C (34.633, 60.987)

,D(35.232 , 57.023).

Answer to the QS. 2

Computer graphics deals with generating images with the aid of computers.
Today, computer graphics is a core technology in digital photography, film, video
games, cell phone and computer displays, and many specialized applications.
Graphical User Interface (GUI): It is a way of interacting with a computer using the
icon, menu, and other visual graphics by which the user easily interacts. Art:
Computer Graphics provides a new way of making designs. Many artists and
designers use illustrator, corel draw, Photoshop, adobe muse, and other types of
applications for creating new designs. Entertainment: Computer graphics allow
the user to make animated movies and games. Computer graphics are used to
create scenes. Computer graphics are also used for special effects and
animations. Presentations: Computer graphics are used for making charts, bar
diagrams, and other images for the presentation purpose, with the graphical
presentation the user can easily understand the points.

Answer to the QS. 3

In my opinion jaggies occur in this figure.Jaggies occur because the screen display
doesn't have a high enough resolution to represent a smooth line. Anti-aliasing
uses the power of your computer's video card to reduce the jagged edges on
curved and diagonal lines on your PC's screen. Though most often used for
smoothing the appearance of computer games, anti-aliasing also plays a role in
graphic design, 3D modeling and other lines of work.

You might also like