Another project for the Multimedia Systems course. We were asked to make a program that can morph one image to another. While many students made a Flash file that just include two images and it gradually change one image to another (so it looks like morphing), I wanted a better deal. I fired up my editor, and coded this.
This code first asks the user to draw on the program’s window using points (that the user select) connected by lines. After the user finish the first drawing and click on the “done” button, he is asked to draw another image on the same panel using the SAME number for points in the first image. After he is done and he hits “Animate”, he will see the first image lines and points start to move to arrange itself into the shape of the second drawing.
I had fun coding this project, and since I gained experience in drawing in java from the first project “The Bezier Curve”, it was much easier to code this. Give it a try :)
You can see the code HERE.
You can download the code HERE.
Related Articles
No user responded in this post
Leave A Reply