Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a graphic of nested circles and polygons inside an initial regular polygon
ResourceFunction["NestedIncirclePolygons"][{n1,n2,…}] displays a nested sequence of circles alternating with regular ni-gons. |
Nest a single circle inside a square:
In[1]:= | ![]() |
Out[1]= | ![]() |
Nest a circle inside a triangle inside a circle inside a square:
In[2]:= | ![]() |
Out[2]= | ![]() |
Specify a different starting radius:
In[3]:= | ![]() |
Out[3]= | ![]() |
Specify styles to be applied to the circles and polygons:
In[4]:= | ![]() |
Out[4]= | ![]() |
Nest a sequence of regular n-gons, increasing n to create a two-dimensional Kepler model:
In[5]:= | ![]() |
Out[5]= | ![]() |
Nest in reverse:
In[6]:= | ![]() |
Out[6]= | ![]() |
Nest random regular polygons:
In[7]:= | ![]() |
Out[7]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License