gives a mesh region representing the n-step Sierpiński triangle.
gives the n-step Sierpiński sponge in dimension d.
Details and Options
- SierpinskiMesh is also known as Sierpiński triangle and Sierpiński sponge.
- SierpinskiMesh[n] is generated from a triangle by repeatedly removing the middle triangle of the subsequent cells. »
- SierpinskiMesh[n] is equivalent to SierpinskiMesh[n,2].
- SierpinskiMesh takes the same options as MeshRegion, with the following additions:
DataRange Automatic the range of mesh coordinates to generate
Examplesopen allclose all
Introduced in 2017