Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate the Minkowski sausage curve
ResourceFunction["MinkowskiSausageCurve"][n] generates the line segments of the Minkowski sausage curve with n iterations. | |
ResourceFunction["MinkowskiSausageCurve"][{p1,p2},n] uses the line connecting the points p1 and p2 as the initial line. | |
ResourceFunction["MinkowskiSausageCurve"][{p1,p2,…,pn},n] uses the lines joining the points pi. |
Generate the Minkowski sausage curve for two iterations:
In[1]:= | ![]() |
Out[1]= | ![]() |
Generate the curve for four iterations and visualize the result:
In[2]:= | ![]() |
Out[2]= | ![]() |
Start from a square:
In[3]:= | ![]() |
Out[3]= | ![]() |
MinkowskiSausageCurve and KochCurve have identical first iterates:
In[4]:= | ![]() |
Out[4]= | ![]() |
Succeeding iterates have different behavior:
In[5]:= | ![]() |
Out[5]= | ![]() |
The number of elements grows exponentially:
In[6]:= | ![]() |
Out[6]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License