You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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)
Cite As
John Wirzburger (2026). patternMaker( numSides, numPoints, stepFraction, randSeed ) (https://in.mathworks.com/matlabcentral/fileexchange/59991-patternmaker-numsides-numpoints-stepfraction-randseed), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Sierpinski triangle, Fractal generator, sierpinski triangle, Sierpinski Fractal Triangle
General Information
- Version 1.0.0.0 (2.2 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
