Tuesday, September 18, 2012


In keeping with my strange mathematical tendencies, I decided that it would be a good idea to draw a heptagon in Java for a (would-be) simple homework assignment.

Seeing as I've obviously already worked with Java graphics and drawing (see NCSpiral!), this should be no problem, right?

It's actually a real pain since I forgot most of my trig...

But, in any case, here you go!

It ought to look at least something like this:

No comments:

Post a Comment