Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: drawing polygon diagonals

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112370] Re: drawing polygon diagonals
  • From: Arnoud Buzing <arnoudb at wolfram.com>
  • Date: Sat, 11 Sep 2010 05:44:21 -0400 (EDT)

Additionally, there are lots of very enjoyable graph related 
demonstrations (including source code notebooks!) located here:

http://demonstrations/search.html?query=graph



On 9/10/10 3:49 AM, MH wrote:
> 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
> diagonals.
>
> 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.
>
> MH
>


  • Prev by Date: Re: String-to-Number Conversion Precision
  • Next by Date: Spreadsheet-like data manipulation
  • Previous by thread: Re: drawing polygon diagonals
  • Next by thread: Re: drawing polygon diagonals