07-1
In this case I learn that translate() is use to change the center. And use rotate() to let rectangle rotate. PI is equal to math symbol "π". Therefore, If I want to let rectangle change degree, I have to use rotate() to let rectangle change place. If I want to let those three rectantle rotate all the time, I have to write the original code in the draw() function because the code have to run every time. And I have to use "easing" to let the value of this variable changes how quickly the circle will reach the target.
Monday, October 26, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment