This is an expansion of the [math](n−2)\cdot 180[/math] idea beyond the natural numbers; what if you use this formula for different values of n? Then, what if you set [math]n=5 {1 \over 3}[/math], use angles according to the formula, then make five sides of length 1 and one side of length [math]{1 \over 3}[/math], and repeat? Type your choice of n into the input box. You can enter fractions by typing 7/2 or 3 + 1/2.
This is a response to Dan Meyer's [url=http://blog.mrmeyer.com/?p=16767]"Discrete Functions Gone Wild!"[/url] He expands the function [math]f(n)={(n−2) \cdot 180^{\circ} \over n}[/math] to the rational numbers. But then [url=http://blog.mrmeyer.com/?p=16747#comment-766303]Danny asks[/url] if we not only alter angle measure but also side length? This is one way to do so where we actually get closed shapes.