|
Use the applet below to morph one face into another. First click and drag the circles onto the eyes and the oval onto the mouth, then click next. Then do the same for the scond face. Finally, move the mouse over the applet to morph between the two images. You are able to disable either of the two images, thus leaving behind only the shape transforms. You can also display the traingles used to draw the faces. Try it yourself
How it worksWe first triangulate the points on each face. We can distort the image by moving the corners of the triangles and drawing the distorted triangle. To find an intermediate shape we find a weighted average of the positions of each face point from each face. We can then blend the colours of the two distorted images to give the impression of a smooth change. |
|
||||||||||||||||||||||||