Java Applet: http://icac.no-ip.org/brian/applet3/
Commentary: This exercise lets us use the integrated UI to control images displayed on the screen. When we click on previous, the application will decrease the incrementation by one allowing us to open the previous image. When we click on next, the application will increase the incrementation by one allowing us to open the next image. The challenge of this application was knowing where to put each code. Some of the codes belonged in the setup function; some codes belonged in the draw function; the rest of the codes belonged outside for global use. I also had problems trying to solve the right dimensions of the functions as well. To solve this problem, I used println to display where the mouse cursor dimensions were. Another problem I encountered was lag and slow application. To solve this problem, I used frameRate() command and set the value to 10. This allowed a smoother interaction between input and output feedback.
No comments:
Post a Comment