Reflection in Computer Graphic
Reflection:
A reflection is a transformation that produces a mirror image of an object. The mirror image for a two-dimensional reflection is generated relative to an axis of reflection by We can choose an axis of reflection in the xy plane or perpendicular to the xy plane or coordinate origin.

Reflection the x axis is accomplished with the transformation matrix


Reflection of an object about the y axis Reflection they axis is accomplished with the transformation matrix


Reflection about origin is accomplished with the transformation matrix


To obtain transformation matrix for reflection about diagonal y=x the transformation sequence is
- Clock wise rotation by 45
- Reflection about x axis
- Counter clock wise by 45
Reflection about the diagonal line y = x is accomplished with the transformation matrix

Reflection axis as the diagonal line y = -x

To obtain transformation matrix for reflection about diagonal y = -x the transformation sequence is
- Clock wise rotation by 45
- Reflection about x axis
- Counter clockwise by 45
Reflection about the diagonal line y = -x is accomplished with the transformation matrix
