CGMM | Scaling in 2D Plane | Exp - 8


Scaling in 2D Plane

To change the size of an object, scaling transformation is used. In the scaling process, you either expand or compress the dimensions of the object. Scaling can be achieved by multiplying the original coordinates of the object with the scaling factor to get the desired result.
Let us assume that the original coordinates are (X, Y), the scaling factors are (SX, SY), and the produced coordinates are (X’, Y’). This can be mathematically represented as shown below −
X' = X . SX and Y' = Y . SY
The scaling factor SX, SY scales the object in X and Y direction respectively. The above equations can also be represented in matrix form as below −
OR
P’ = P . S
Where S is the scaling matrix. 

For more info visit tutorialspoint

Problem Statement

At long distance one paper on which letter “A” is printed is placed. A person can’t see what is written on paper because of paper is placed at some long distance how to enlarge the Letter.

File: Download here

No comments:

Powered by Blogger.