2d Transformations – Computer Graphics

2d Transformations – Computer Graphics

2d Transformations – Computer Graphics

Welcome again to learn a complex topic simply. Learn by solving numerical problems. Let the theory take a back seat this time.

Moving, Rotating , Zoom-in or Zoom out an object on the screen is called Transformations. There are two types of transformations in computer graphics.

  • Geometric Transformations
  • Coordinate Transformations

Geometric Transformations – As the name of this transformation suggest, this is associated with geometry of an object. Always remember two things one is the foreground and other one is background. So if the background (called axis) stays stationary and foreground (called object) moves , then this type of the transformation becomes geometric transformation, Technically, When an object transforms and the coordinate axis at the background stays stationary, that type of transformations is called Geometric Transformations.  

Coordinate Transformations –  When the background (axis) moves and the foreground (object) stays stationary that type of transformation is called coordinate transformations.

 

There are following types of transformation each for geometric or coordinate. 

  • Translation- Moving
  • Rotation – Rotating 
  • Reflection –  Just like mirror reflection.
  • Scaling – Zoom in or Zoom out 
  • Sharing – Reshaping an object

Geometric Transformations –

Translation

Moving an object is called translation. Now movement can happen in two ways, An object will either move towards origin or move away from origin. If some thing moves away then it is positive movement and if movement is towards origin then it is negative movement. 

Translation Solved Example

 

Translation

We have disabled - Right- Click - How about stay to read :)