2D Reflection in Computer Graphics

Amansingh Javatpoint
2 min readAug 21, 2021

--

2D Reflection Computer Graphics

The Reflection is a mirror image of the original object. In the Reflection process, the size of the object does not change.

We can represent Reflection by using four ways-

  1. Reflection along X-axis: In this kind of Reflection, the value of X is positive, and the value of Y is negative.

We can represent the Reflection along x-axis by following equation-

X­1 = X0

Y1 = Y0

We can also represent Reflection in the form of matrix

Homogeneous Coordinate Representation: We can also represent the Reflection along x-axis in the form of 3 x 3 matrix-

2. Reflection along Y-axis: In this kind of Reflection, the value of X is negative, and the value of Y is positive.

We can represent the Reflection along y-axis by following equation-

X1 = X0

Y1 = Y0

We can also represent Reflection in the form of matrix

Homogeneous Coordinate Representation: We can also represent the Reflection along x-axis in the form of 3 x 3 matrix-

--

--

No responses yet