patternMaker( numSides, numPoints, stepFraction, randSeed )

版本 1.0.0.0 (2.2 KB) 作者: John Wirzburger
Generates a plot for any specified polygon in the Sierpinski Fractal Triangle manner
38.0 次下载
更新时间 2016/10/28

查看许可证

This function generalizes the Sierpinski Fractal Triangle for any number of sides polygon and any specified stepping distance. Very few configurations results in a pattern as identifiable as Sierpinski's triangle, but now you can look. Expands on the work of Sierpinski Fractal Triangle by Víctor Martínez https://www.mathworks.com/matlabcentral/fileexchange/50417-sierpinski-fractal-triangle
Usage:
patternMaker( numSides, numPoints, stepFraction, randSeed )

To make the Sierpinski Fractal Triangle
patternMaker( 3, 10000, 1/2, 42)

引用格式

John Wirzburger (2026). patternMaker( numSides, numPoints, stepFraction, randSeed ) (https://ww2.mathworks.cn/matlabcentral/fileexchange/59991-patternmaker-numsides-numpoints-stepfraction-randseed), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Triangulation Representation 的更多信息
版本 已发布 发行说明
1.0.0.0