[CSC 415] User Input

Andrew J. Pounds pounds_aj at mercer.edu
Mon Feb 11 17:19:24 EST 2019


Let's be really clear about what I want for the "user input".

1.  Assume that your program is running without VBLANK set -- so you
have really fast frame rates.

2.  On the screen you will have the following three items displayed:

      Frames per Second

      Frames per Period

      Time for the Period in seconds

3.   If I run your program with no user input, I expect to see a fast
moving pendulum that is not synchronized to the hardware

4.   If I run your program with a command line argument, the command
line argument is the DESIRED FRAME RATE to synchronize your pendulum's
physical period to the hardware. 

Any questions?

-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj



More information about the csc415 mailing list