SlideShare une entreprise Scribd logo
1  sur  35
2D TRANSFORMATIONS COMPUTER GRAPHICS
 
[object Object],2D Transformations
Why Transformations ? ,[object Object],[object Object],[object Object]
[object Object],[object Object]
[object Object],[object Object],[object Object]
[object Object],[object Object]
Translation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],x' y' x y t x t y  =  + P ' (8,6)  t x t y  P(2, 2) = 6 =4
Rotation ,[object Object],[object Object], P P
Rotation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],    P(x,y) x y r x’ y’  P’(x’, y’) r Identity of Trigonometry
Rotation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object], P(x,y)    x y r x’ y’  P’(x’, y’)
Scaling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],P P’
Scaling ,[object Object],[object Object],[object Object],P(2, 5) P’ ,[object Object],[object Object]
Scaling ,[object Object],[object Object],P(2, 5) P’ ,[object Object],[object Object],P’ ,[object Object],[object Object]
Scaling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],P(1, 2) P’
General pivot point rotation ,[object Object],[object Object],[object Object],(x r ,y r ) (a) Original Position of Object and pivot point (b) Translation of object so that pivot point (x r ,y r ) is at origin (c) Rotation was about origin (d) Translation of the object so that the pivot point is returned to position (x r ,y r )
General fixed point scaling ,[object Object],[object Object],[object Object],(x f ,y f ) (a) Original Position of Object and Fixed point (b) Translation of object so that fixed point (x f ,y f )is at origin (c) scaling was about origin (d) Translation of the object so that the Fixed point is returned to position (x f ,y f )
Composite Transformations (A) Translations If two successive translation vectors (t x1 ,t y1 ) and (t x2 ,t y2 ) are applied to a coordinate position P, the final transformed location P’ is calculated as: - P’=T(t x2 ,t y2 ) . {T(t x1 ,t y1 ) .P}   ={T(t x2 ,t y2 ) . T(t x1 ,t y1 )} .P Where P and P’ are represented as homogeneous-coordinate column vectors. We can verify this result by calculating the matrix product for the two associative groupings. Also, the composite transformation matrix for this sequence of transformations is: - 1  0  t x2 0  1  t y2 0  0  1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],. = Or,  T(t x2 ,t y2 ) . T(t x1 ,t y1 ) = T(t x1 +t x2 , t y1 +t y2 ) Which demonstrate that two successive translations are additive.
(B)  Rotations  Two successive rotations applied to point P produce the transformed position: - P’= R( Ө 2 ) . {R( Ө 1   ) . P}   = {R( Ө 2 ) . R( Ө 1 )} . P By multiplication the two rotation matrices, we can verify that two successive rotations are additive: R( Ө 2 ) . R( Ө 1 ) = R ( Ө 1 +  Ө 2 ) So that the final rotated coordinates can be calculated with the composite rotation matrix as: - P’ = R( Ө 1 +  Ө 2 ) . P
(C) Scaling Concatenating transformation matrices for two successive scaling operations produces the following composite scaling matrix: - S x2  0  0 0  S y2  0   0  0  1 . = S x1  0  0 0  S y1  0   0  0  1 S x1  . S x2   0  0 0  S y1  .S y2  0   0  0  1 Or,  S( S x2 ,   S y2  ) . S( S x1 , S y1 ) =  S ( S x1  . S x2 ,   S y1  .S y2  ) The resulting matrix in this case indicates that successive scaling operations are multiplicative.
Other transformations ,[object Object],1 2 3 3’ 2’ 1’ Original position Reflected position Reflection about the line y=0, the X- axis , is accomplished with the transformation matrix ,[object Object],[object Object],[object Object]
Reflection -1  0  0 0  1  0 0  0  1 1’ 3’ 2’ 3 2 1 Original position Reflected position Reflection about the line x=0, the Y- axis , is accomplished with the transformation matrix
Reflection -1  0  0 0  -1  0 0  0  1 1’ 2’ 3’ 3 2 1 Original position Reflected position Reflection of an object relative to an axis perpendicular to the xy plane and passing through the coordinate origin X-axis Y-axis Origin  O (0,0) The above reflection matrix is the rotation matrix with angle=180 degree. This can be generalized to any reflection point in the xy plane. This reflection is the same as a 180 degree rotation in the xy plane using the reflection point as the pivot point.
Reflection of an object w.r.t the straight line y=x 0  1  0 1  0  0 0  0  1 1’ 3’ 2’ 3 2 1 Original position Reflected position X-axis Y-axis Origin  O (0,0)
Reflection of an object w.r.t the straight line y=-x 0  -1  0 -1  0  0 0  0  1 1’ 3’ 2’ 3 X-axis 1 Original position Reflected position 2 Y-axis Origin  O (0,0) Line Y = - X
Reflection of an arbitrary axis y=mx+b 3 2 1 Original position
3 2 1 Original position 3 2 1 Original position Translation so that it passes through origin 1’ 3’ 2’ 3 2 1 Reflected position Original position Rotate so that it coincides with x-axis and reflect also about x-axis 1’ 3’ 2’ 3 2 1 Original position Reflected position 1’ 3’ 2’ 3 2 1 Original position Reflected position Rotate back Translate back
Shear Transformations ,[object Object],[object Object]
Shears ,[object Object],[object Object],[object Object],[object Object]
An X- direction Shear (0,1) (1,1) (1,0) (0,0) (0,0) (1,0) (2,1) (3,1) For example, Sh x =2
An Y- direction Shear (0,1) (1,1) (1,0) (0,0) (0,0) (0,1) (1,3) (1,2) For example, Sh y =2 X X Y Y
CONCLUSION To manipulate  the initially created object and to display the modified object without having to redraw it, we use Transformations.
Textbook ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object]
THANK YOU ALL

Contenu connexe

Tendances

Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformations
Mohammad Sadiq
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
Ankit Garg
 

Tendances (20)

Two dimentional transform
Two dimentional transformTwo dimentional transform
Two dimentional transform
 
3D Transformation in Computer Graphics
3D Transformation in Computer Graphics3D Transformation in Computer Graphics
3D Transformation in Computer Graphics
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
 
Two dimensional geometric transformations
Two dimensional geometric transformationsTwo dimensional geometric transformations
Two dimensional geometric transformations
 
Z buffer
Z bufferZ buffer
Z buffer
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Notes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNotes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphics
 
scan conversion of point , line and circle
scan conversion of point , line and circlescan conversion of point , line and circle
scan conversion of point , line and circle
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
 
3D Geometric Transformations
3D Geometric Transformations3D Geometric Transformations
3D Geometric Transformations
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics
 
Transformations computer graphics
Transformations computer graphics Transformations computer graphics
Transformations computer graphics
 
Geometric transformation
Geometric transformationGeometric transformation
Geometric transformation
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output Primitives
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
Computer Graphics - Output Primitive
Computer Graphics - Output PrimitiveComputer Graphics - Output Primitive
Computer Graphics - Output Primitive
 
Segments in Graphics
Segments in GraphicsSegments in Graphics
Segments in Graphics
 
2D Transformations(Computer Graphics)
2D Transformations(Computer Graphics)2D Transformations(Computer Graphics)
2D Transformations(Computer Graphics)
 
Computer Graphic - Projections
Computer Graphic - ProjectionsComputer Graphic - Projections
Computer Graphic - Projections
 
3 d transformation
3 d transformation3 d transformation
3 d transformation
 

En vedette

CG - Display Devices
CG - Display DevicesCG - Display Devices
CG - Display Devices
vinay arora
 
3 d projections
3 d projections3 d projections
3 d projections
Mohd Arif
 
Introduction to Computer graphics
Introduction to Computer graphics Introduction to Computer graphics
Introduction to Computer graphics
PrathimaBaliga
 
Video display device
Video display deviceVideo display device
Video display device
missagrata
 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphics
Aaina Katyal
 
2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates
Tarun Gehlot
 
liquid crystal display
liquid crystal displayliquid crystal display
liquid crystal display
Dinesh Pasi
 

En vedette (17)

2d/3D transformations in computer graphics(Computer graphics Tutorials)
2d/3D transformations in computer graphics(Computer graphics Tutorials)2d/3D transformations in computer graphics(Computer graphics Tutorials)
2d/3D transformations in computer graphics(Computer graphics Tutorials)
 
Color models
Color modelsColor models
Color models
 
Color Models
Color ModelsColor Models
Color Models
 
CG - Display Devices
CG - Display DevicesCG - Display Devices
CG - Display Devices
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
 
3 d projections
3 d projections3 d projections
3 d projections
 
Introduction to Computer graphics
Introduction to Computer graphics Introduction to Computer graphics
Introduction to Computer graphics
 
Display devices CRT and LCD screen
Display devices CRT and LCD screenDisplay devices CRT and LCD screen
Display devices CRT and LCD screen
 
lecture1 introduction to computer graphics(Computer graphics tutorials)
lecture1 introduction to computer graphics(Computer graphics tutorials)lecture1 introduction to computer graphics(Computer graphics tutorials)
lecture1 introduction to computer graphics(Computer graphics tutorials)
 
Video display device
Video display deviceVideo display device
Video display device
 
transformation 3d
transformation 3dtransformation 3d
transformation 3d
 
Computer Graphics Notes (B.Tech, KUK, MDU)
Computer Graphics Notes (B.Tech, KUK, MDU)Computer Graphics Notes (B.Tech, KUK, MDU)
Computer Graphics Notes (B.Tech, KUK, MDU)
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer Graphics
 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphics
 
2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates
 
Random scan displays and raster scan displays
Random scan displays and raster scan displaysRandom scan displays and raster scan displays
Random scan displays and raster scan displays
 
liquid crystal display
liquid crystal displayliquid crystal display
liquid crystal display
 

Similaire à 2 d transformations by amit kumar (maimt)

2 d transformation
2 d transformation2 d transformation
2 d transformation
Ankit Garg
 
Bla b__________________la -2&3d -DD .ppt
Bla b__________________la -2&3d -DD .pptBla b__________________la -2&3d -DD .ppt
Bla b__________________la -2&3d -DD .ppt
kdemersal
 

Similaire à 2 d transformations by amit kumar (maimt) (20)

06.Transformation.ppt
06.Transformation.ppt06.Transformation.ppt
06.Transformation.ppt
 
Unit 3 notes
Unit 3 notesUnit 3 notes
Unit 3 notes
 
2d transformation
2d transformation2d transformation
2d transformation
 
2D Transformation
2D Transformation2D Transformation
2D Transformation
 
2D-transformation-1.pdf
2D-transformation-1.pdf2D-transformation-1.pdf
2D-transformation-1.pdf
 
Two dimensionaltransformations
Two dimensionaltransformationsTwo dimensionaltransformations
Two dimensionaltransformations
 
seminar on 2D transformation
seminar on 2D transformationseminar on 2D transformation
seminar on 2D transformation
 
Unit-3 overview of transformations
Unit-3 overview of transformationsUnit-3 overview of transformations
Unit-3 overview of transformations
 
2D transformations
2D transformations2D transformations
2D transformations
 
transformation IT.ppt
transformation IT.ppttransformation IT.ppt
transformation IT.ppt
 
Computer Graphics - transformations in 2d
Computer Graphics - transformations in 2dComputer Graphics - transformations in 2d
Computer Graphics - transformations in 2d
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
 
Transforms UNIt 2
Transforms UNIt 2 Transforms UNIt 2
Transforms UNIt 2
 
2 d transformation
2 d transformation2 d transformation
2 d transformation
 
2-D Transformations.pdf
2-D Transformations.pdf2-D Transformations.pdf
2-D Transformations.pdf
 
2D Transformation.pdf
2D Transformation.pdf2D Transformation.pdf
2D Transformation.pdf
 
Computer Graphics Unit 2
Computer Graphics Unit 2Computer Graphics Unit 2
Computer Graphics Unit 2
 
Computer graphics presentation
Computer graphics presentationComputer graphics presentation
Computer graphics presentation
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
Bla b__________________la -2&3d -DD .ppt
Bla b__________________la -2&3d -DD .pptBla b__________________la -2&3d -DD .ppt
Bla b__________________la -2&3d -DD .ppt
 

Plus de Amit Kapoor

Tweening and morphing
Tweening and morphingTweening and morphing
Tweening and morphing
Amit Kapoor
 
Study from where
Study from whereStudy from where
Study from where
Amit Kapoor
 
Computer graphics syllabus
Computer graphics syllabusComputer graphics syllabus
Computer graphics syllabus
Amit Kapoor
 
Cg my own programs
Cg my own programsCg my own programs
Cg my own programs
Amit Kapoor
 
3 d modeling of objects
3 d modeling of objects3 d modeling of objects
3 d modeling of objects
Amit Kapoor
 
C aptitude scribd
C aptitude scribdC aptitude scribd
C aptitude scribd
Amit Kapoor
 
C interview question answer 2
C interview question answer 2C interview question answer 2
C interview question answer 2
Amit Kapoor
 
C interview question answer 1
C interview question answer 1C interview question answer 1
C interview question answer 1
Amit Kapoor
 
C notes mca i sem 2011
C notes mca i sem 2011C notes mca i sem 2011
C notes mca i sem 2011
Amit Kapoor
 
User defined data type
User defined data typeUser defined data type
User defined data type
Amit Kapoor
 

Plus de Amit Kapoor (17)

Shading
ShadingShading
Shading
 
Tweening and morphing
Tweening and morphingTweening and morphing
Tweening and morphing
 
Study from where
Study from whereStudy from where
Study from where
 
Projection
ProjectionProjection
Projection
 
Display devices
Display devicesDisplay devices
Display devices
 
Computer graphics syllabus
Computer graphics syllabusComputer graphics syllabus
Computer graphics syllabus
 
Cg my own programs
Cg my own programsCg my own programs
Cg my own programs
 
Animation
AnimationAnimation
Animation
 
3 d modeling of objects
3 d modeling of objects3 d modeling of objects
3 d modeling of objects
 
Essential c
Essential cEssential c
Essential c
 
C aptitude scribd
C aptitude scribdC aptitude scribd
C aptitude scribd
 
C in7-days
C in7-daysC in7-days
C in7-days
 
C interview question answer 2
C interview question answer 2C interview question answer 2
C interview question answer 2
 
C interview question answer 1
C interview question answer 1C interview question answer 1
C interview question answer 1
 
C notes mca i sem 2011
C notes mca i sem 2011C notes mca i sem 2011
C notes mca i sem 2011
 
C tutorials
C tutorialsC tutorials
C tutorials
 
User defined data type
User defined data typeUser defined data type
User defined data type
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Dernier (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

2 d transformations by amit kumar (maimt)

  • 2.  
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. (B) Rotations Two successive rotations applied to point P produce the transformed position: - P’= R( Ө 2 ) . {R( Ө 1 ) . P} = {R( Ө 2 ) . R( Ө 1 )} . P By multiplication the two rotation matrices, we can verify that two successive rotations are additive: R( Ө 2 ) . R( Ө 1 ) = R ( Ө 1 + Ө 2 ) So that the final rotated coordinates can be calculated with the composite rotation matrix as: - P’ = R( Ө 1 + Ө 2 ) . P
  • 20. (C) Scaling Concatenating transformation matrices for two successive scaling operations produces the following composite scaling matrix: - S x2 0 0 0 S y2 0 0 0 1 . = S x1 0 0 0 S y1 0 0 0 1 S x1 . S x2 0 0 0 S y1 .S y2 0 0 0 1 Or, S( S x2 , S y2 ) . S( S x1 , S y1 ) = S ( S x1 . S x2 , S y1 .S y2 ) The resulting matrix in this case indicates that successive scaling operations are multiplicative.
  • 21.
  • 22. Reflection -1 0 0 0 1 0 0 0 1 1’ 3’ 2’ 3 2 1 Original position Reflected position Reflection about the line x=0, the Y- axis , is accomplished with the transformation matrix
  • 23. Reflection -1 0 0 0 -1 0 0 0 1 1’ 2’ 3’ 3 2 1 Original position Reflected position Reflection of an object relative to an axis perpendicular to the xy plane and passing through the coordinate origin X-axis Y-axis Origin O (0,0) The above reflection matrix is the rotation matrix with angle=180 degree. This can be generalized to any reflection point in the xy plane. This reflection is the same as a 180 degree rotation in the xy plane using the reflection point as the pivot point.
  • 24. Reflection of an object w.r.t the straight line y=x 0 1 0 1 0 0 0 0 1 1’ 3’ 2’ 3 2 1 Original position Reflected position X-axis Y-axis Origin O (0,0)
  • 25. Reflection of an object w.r.t the straight line y=-x 0 -1 0 -1 0 0 0 0 1 1’ 3’ 2’ 3 X-axis 1 Original position Reflected position 2 Y-axis Origin O (0,0) Line Y = - X
  • 26. Reflection of an arbitrary axis y=mx+b 3 2 1 Original position
  • 27. 3 2 1 Original position 3 2 1 Original position Translation so that it passes through origin 1’ 3’ 2’ 3 2 1 Reflected position Original position Rotate so that it coincides with x-axis and reflect also about x-axis 1’ 3’ 2’ 3 2 1 Original position Reflected position 1’ 3’ 2’ 3 2 1 Original position Reflected position Rotate back Translate back
  • 28.
  • 29.
  • 30. An X- direction Shear (0,1) (1,1) (1,0) (0,0) (0,0) (1,0) (2,1) (3,1) For example, Sh x =2
  • 31. An Y- direction Shear (0,1) (1,1) (1,0) (0,0) (0,0) (0,1) (1,3) (1,2) For example, Sh y =2 X X Y Y
  • 32. CONCLUSION To manipulate the initially created object and to display the modified object without having to redraw it, we use Transformations.
  • 33.
  • 34.