Home
Applets
Message Boards
E-Cards
Go to a different applet:

Animated Polygon

This is a fun little applet that I made for my computer science class, and after much effort and a little luck, I finally figured out how to make it animate and run correctly on a webpage (not an easy task ;-) Anyways, the idea is that you first click on various parts of the applet canvas to define the points of a polygon, and then connect them by clicking on the first point again. Then, you can click and drag points to move them.

If that's all you want to do, just go here. But if you want me to throw you for a loop, use this version of the applet. here, when you drag one point, all the other corners will start flying around the screen, and if your mouse pointer leaves the applet square, the whole thing will start moving around and bouncing off the sides while rotating colors like an old-school screen saver.


Report bugs and give suggestions here.
Categories:
CS142
Animated
These applets were developed by Matthew Reeder. Please get my permission before using these applets on your own site.
(And trust me, it will be easier if I help you use them :-p)
Animated Polygon.tag