cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to plot the star ?

lvl107
20-Turquoise

How to plot the star ?

   Hello Everyone,

   From : 

Star.PNG

   How to plot the star ?

   Many thanks for your time and help in advance.

       Best Regards.

            Loi.

1 ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:lvl107)

LM_20201015_PlotStar.gif

LucMeekes_0-1602794447775.png

 

LucMeekes_2-1602794580106.png

 

Success!
Luc

LM_20201015_PlotStar.gif

View solution in original post

8 REPLIES 8

More interesting!

Star.png

I will send my solution tomorrow - with animation!

PS

I learned poetry by heart as a child:

Кремлёвские звёзды
Над нами горят,
Повсюду доходит их свет!
Хорошая Родина есть у ребят,
И лучше той Родины
Нет!

LucMeekes
23-Emerald III
(To:lvl107)

LM_20201015_PlotStar.gif

LucMeekes_0-1602794447775.png

 

LucMeekes_2-1602794580106.png

 

Success!
Luc

LM_20201015_PlotStar.gif

lvl107
20-Turquoise
(To:LucMeekes)

   Many thanks, Luc. Basic, my question almost was answered. But I still have a small query : the your "Star5" seems not being a "perfect star(5)". Say, compare your "Star7" with following figure that I would wish:

Star7.PNGStar7'.PNG 

Would it be edited ?

  Best Regards. Loi.

     

LucMeekes
23-Emerald III
(To:lvl107)

Play with the arguments to the PlotStar function.

The first defines the number of points. The second defines the size of the points, the third defines the size of the indents, the fourth turns the star.

Success!

Luc

lvl107
20-Turquoise
(To:LucMeekes)

  Is there a way to describe for general case ?

     Best Regards.

         Loi.

Werner_E
24-Ruby V
(To:lvl107)

I am not sure what you mean with "not perfect".

To duplicate the figure on the right of your picture you can try to replace the argument 1/3 by something larger like 0.6 or 0.7, probably 2/3 will do. The third argument is the distance of the inner points to the centre.

lvl107
20-Turquoise
(To:Werner_E)

  Hi, Werner. I would mean it as the following:

Perfect Star.PNG  

Refer to :   https://www.youtube.com/watch?v=B1Bm1if8zGg     or a similar.

Best Regards.

      Loi.

Werner_E
24-Ruby V
(To:lvl107)

You may use either of the following three variants - depending on how exactly you'd like to define a "perfect star". You may also distinguish between odd or even number of vertices.

Werner_E_0-1602816310621.png

 

BTW, why not in 3D?

Werner_E_1-1602813529600.png

 

Top Tags