Tommy Reddad


Home Projects Misc
Random Polygon Generator
A random polygon generator. The applet works by randomly generating a set of points, computing its Delaunay triangulation, and patching together some of those triangles to build a random polygon. It is the applet's intention to build a simple polygon, but this is not always the case. In addition, if ever 3 generated points are colinear, or 4 generated points are cocircular, then the convex hull and Delaunay triangulation algorithms will fail, and output is not guaranteed to make any kind of sense.

This applet was developed for a friend's thesis in psychology.

~