Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Build a regular polygon on a given line segment
ResourceFunction["PolygonFromBase"][base,n] builds a regular n-gon on the line segment base. |
Build an equilateral triangle on a base segment:
In[1]:= |
Out[2]= |
Show the construction:
In[3]:= |
Out[3]= |
Build a series of polygons on a base:
In[4]:= |
Out[5]= |
Show the intersection giving the Fermat point:
In[6]:= |
Out[7]= |
Reversing the order of the points in the base segment gives a reflected polygon:
In[8]:= |
Out[9]= |
Build a regular hexagon from an arbitrary triangle:
In[10]:= |
Out[11]= |
A polygonal random walk:
In[12]:= |
Out[45]= |
This work is licensed under a Creative Commons Attribution 4.0 International License