SierpinskiMesh

SierpinskiMesh[n]

gives a mesh region representing the n^(th)-step Sierpiński triangle.

SierpinskiMesh[n,d]

gives the n^(th)-step Sierpiński sponge in dimension d.

Details and Options

Examples

open allclose all

Basic Examples  (2)

A 2D Sierpiński mesh:

In[1]:=
Click for copyable input
Out[1]=

Areas of the approximations to the Sierpiński mesh:

In[2]:=
Click for copyable input
Out[2]=

A 3D Sierpiński mesh:

In[1]:=
Click for copyable input
Out[1]=

Scope  (3)

Options  (12)

Applications  (1)

Properties & Relations  (5)

Possible Issues  (1)

See Also

MengerMesh  ArrayMesh  MeshRegion  BoundaryMeshRegion

Introduced in 2017
(11.1)