SUCCEED

   

programmingMS 2010
Shodor > SUCCEED > Workshops > Archive > programmingMS 2010

Today's class started off with Trent finishing up the event handling portion of the SIR (Susceptible, Infected, Recovered) model programming. He started by showing the student how to add a function that would allow the �Infected� models to become recovered after a certain period of time. From there he walked the students through how to make the second graph functional by plotting points to it in real time. The last thing Trent showed the students was how to add options to the map orientation.

After a short break Joel took over as teacher and got the students started on animation and graphics in Java. He started by having the students add a few methods that would draw a circle to represent a face, as well as eyes and a mouth. Joel took the time to explain all of the math in his code to help the students to better understand what was taking place within the program. Next Joel assisted the students in customizing their animated objects. He started by having them change the colors of the face to something of their preference, then explained how they could change the colors of the eyes and mouth if they wished to do so. After some debugging, time was taken to make sure everyone was error free for when class started up next.

At the end of the day, the students were able to finish up all of the event handling work, as well as a large portion of the animation and graphics. The students seem to be very pleased with their work and enjoy customizing the faces in the program.