To look at the photos, open the Java Applet Index page.
Note: It will open in a separate window. Arrange your browser windows so that the applet and the student page can be easily viewed.
Here are some things to notice on the applet:
- display of x (in pixels)
- display of y (in pixels)
To get an idea of how this will work, select one of the faces.
Here are some questions to think about:
Looking at the x-coordinates
- Click on the left side of the mouth. What value is x?
- Click on the right side of the mouth. What value is x?
- What is the difference between the two values of x?
Looking at the y-coordinates
- Click on left side of the mouth. What value is y?
- Click on the right side of the mouth. What value is y?
- What is the difference between the two values of y?
To determine the distance in pixels of the resting mouth, should you pay more attention to the change in the x-coordinate or the y-coordinate? Can you explain why?
Measurements:
Now that you have the idea of how to find measurements in pixels. Find the lengths of the resting mouth and the smiling mouth for each person.
Part II:
Using the data that we have, let's calculate the percentage increase. Need help in knowing how to do that? Check the Dr. Math links below.
Final Task:
Generalize the method that you used to find the lengths between points located on the face. Write the steps needed to calculate the percentage increase between the resting and smiling mouth.
Extension:
Use your own photograph and see how much wider your smile is!