Swing import javaawtcolor import javaawtgraphics

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ; = # 0 #0&#0 " %# " 0 sy 0 0 $! x &# 0 &# y & 1 &# 0 %" $ ! xsx &# & = # ysy &#0 %# " $ & & & & % 0 $! x &# 0 &# y & 1 &# 1 %" $ ! xsx &# & = # ysy &#1 %# " $ & & & & % •  Points ! x ' $ ! sx # &# # y' & = # 0 #1&#0 " %# " 0 sy 0 Matrix Composi:on •  Transforma:ons can be combined by matrix mul:plica:on ! x ' $ ! 1 0 t x $! cosθ &# # &# # y ' & = # 0 1 t y &# sin θ # 1 & # 0 0 1 &# 0 " %# &" " % p’ = T(tx,ty) − sin θ cosθ 0 0 0 1 $! sx &# &# 0 &# 0 %# " R(Θ) 0 sy 0 0 $! x &# 0 &# y & 1 &# 1 %" S(sx,sy) $ & & & % p 37 Matrix Composi:on   Be aware: order of transforma:ons maners •  Matrix mul:plica:on is not commuta:ve p’ = T * R * S * p “Global” “Local” p’ = (T * (R * (S*p) ) ) p’ = (T*R*S) * p 38 Matri...
View Full Document

This note was uploaded on 03/19/2013 for the course CSC 101 taught by Professor Merl during the Fall '12 term at Arizona State University at the West Campus.

Ask a homework question - tutors are online