<HTML>
<HEAD>
<TITLE>Simple N-gon Counter</TITLE>
</HEAD>

<BODY>

<!-- Main text of document -->
<H2>Simple N-gon Counter</H2>

<a href="http://www.eff.org/blueribbon.html"><img  align = right
src="../../small_ribbon.gif" alt="Free Speech Online"></a>

<CENTER>
<APPLET CODE="ngons.class" WIDTH=450  HEIGHT=450>
<PARAM NAME=HIGHSCORE VALUE=<!--#include file="highscore"-->>
To play this game, you need a Java compatible browser.
</APPLET>
</CENTER>

<hr>

<p>

Click some points in the rectangle shown above, then click the
"submit" button.  The Java applet counts the number of different
polygons that can be made using all those points as vertices.  (A
polygon is a circuit of edges connecting the vertices, where no two
edges may cross.)

<p>

A famous question in the field of combinatorial geometry is:<p>

<em>Given n points in the plane, how many polygons are
determined by those points?</em><p>

If the points lie on the outside of a circle, the answer is one.  If
all but one of the points lie on the outside of a circle, and the last
one lies on the inside, the answer is <em>n-1</em>.  These are the
smallest numbers that answer the question.  The largest possible
number of polygons determined by <em>n</em> points is unknown.

<p><hr>
Feel free to send questions about the applet and suggestions for
improvement of this page to me at <a HREF="mailto:burgiel@geom.umn.edu">burgiel@geom.umn.edu</a>.

<!-- Navigation links -->
<p><HR>
<B>Up:</B> <A HREF="http://www.geom.umn.edu/~burgiel/"><I>About the Author</I></A><BR>
<HR>

<!-- GC common information -->
<A HREF="/"><IMG SRC="/pix/home.gif" ALIGN=MIDDLE ALT="[HOME]"></A>
<I>The Geometry Center Home Page</I>
<p>
<!-- *** put your name here if you want *** -->
Created:  1/7/96  ---
<!-- hhmts start -->
<!-- hhmts end -->
<BR>

Copyright &#169; 1995 by <A HREF="http://www.geom.umn.edu/">The
Geometry Center</A>.  All rights reserved.

</BODY>
</HEAD>
</HTML>
