MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: drawing polygon diagonals

  • To: mathgroup at
  • Subject: [mg112349] Re: drawing polygon diagonals
  • From: MH <matthewhoek at>
  • Date: Fri, 10 Sep 2010 04:49:34 -0400 (EDT)
  • References: <i6755n$873$> <i6a5f5$kjv$>

Thanks for your help, Dan & Sjoerd!  I have one more question because
as I was working with this, I thought of a small improvement.  For
now, I'll assume my biggest n-value is 12, so the current Manipulate
statement finishes with a dodecagon.  The current code generates a
triangle, then a square with its diagonals, then a pentagon with its
diagonals, then a hexagon, and so on, up to a dodecagon with all its
diagonals.  Each step shows a regular polygon with all its

It'd be nice, though, if as n increased (with the slider) the vertices
of the dodecagon appeared one at a time in the correct place, and the
lines between them also appeared.  For example, when n is 5 (and not
yet all the way to 12), there'd be five red circles but they would NOT
form a regular pentagon.  Instead, they'd be in the correct position
to be vertices of a regular dodecagon.  This would be cool because a
large collection of lines would not change from one n-value to the
next.  Your eye would be drawn only to the new lines when you add each
circle.  And if the new lines could appear in a separate color -- oh
wow, that'd be great.  (For my purposes, those are the new handshakes
when you add each person.)

I hope this makes sense.  I'll do some more looking in the DocCenter.
Thanks!  I appreciate your help and guidance.


  • Prev by Date: Re: Help with Solve
  • Next by Date: an issue of consistency
  • Previous by thread: Re: drawing polygon diagonals
  • Next by thread: Re: drawing polygon diagonals