Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Keyboard conditions' topicStudent Support Forum > General > "Keyboard conditions"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Leonard
03/31/12 6:12pm

What I want is to have a Graphics object (at the moment a Polygon triangle) change its coordinates every tenth of a second (or so) based on the value of a certain variable. That is, if I start the module and press no keys the triangle will move 10 units up the plane every tenth of a second, and then if I press left it will start to move 10 units left every tenth of a second, and so forth perpetually.

Thanks again for any help.

URL: ,

Subject (listing for 'Keyboard conditions')
Author Date Posted
Keyboard conditions Leonard 03/31/12 4:24pm
Re: Keyboard conditions jf 03/31/12 6:05pm
Nevermind Leonard 03/31/12 6:23pm
Re: Keyboard conditions Leonard 03/31/12 6:12pm
< Previous CommentHelp | Reply To Comment | Reply To Topic