# 2D Transformation in Computer Graphics

Some visuals are transformed into some other graphics by implementing several of the principles known as transformation. There are multiple kinds of transformation, including translation, scaling, rotation, shearing, etc. Whenever this transition occurs in the 2D plane, it is defined as the 2D transformation.

Transformations play a significant role in computer graphics, and reorient the visuals on display and adjust the scale or orientation.

The aim of using illustrating computer devices is to offer users the ability to visualize the object from multiple angles, expand or decrease the object’s size or position, known as Transformation.

Here are two basic aspects of transformation:

• Any transformation can contain its own individual entity. A specific name or sign may signify it.
• After linking a single transformation, it is possible to integrate two transformations – for example: A is a transformation for translation. B transformation carries out Scaling. The two-part approximation is C = AB. So, C is extracted via the property of concatenation.

For the explanation of object transformation, there are two fundamental perspectives.

Geometric Transformation

The entity itself will be transformed according to the coordination system or context. Geometric transformations implemented to each stage of the object describe the mathematical argument of this perspective.

Coordinate Transformation

When the coordination system is changed according to the object, the object is kept stagnant. The implementation of coordinate transformation is achieved by this effect.

Here we have an instance that helps to differentiate the above two points of view:

We can predict the mobility of a motor car against a spectacular background through this-

• Moving the motor car while we have a fixed background - (Geometric Transformation).
• As the background moves, we can fix the motor car - (Coordinate Transformation).

### The 2D transformation involves-

• 2D Translation: “Translation is a method used to shift the entity on the monitor from one location to another location.”
• 2D Rotation: "Rotation is a technique used to twist an entity from its source to a certain angle."
• 2D Scaling: "Scaling is a form or method used in a two-dimensional plane to resize the entity."
• 2D Reflection: "Reflection is a phase or system through which the entity can be rotated at a 180 ° angle."
• 2D Shearing: "Shearing is a technique that is used to conduct the entity's slanting." It is often referred to as "Skewing."