patternMaker( numSides, numPoints, stepFraction, randSeed )

Generates a plot for any specified polygon in the Sierpinski Fractal Triangle manner
38 download
Aggiornato 28 ott 2016

Visualizza la licenza

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)

Cita come

John Wirzburger (2024). patternMaker( numSides, numPoints, stepFraction, randSeed ) (https://www.mathworks.com/matlabcentral/fileexchange/59991-patternmaker-numsides-numpoints-stepfraction-randseed), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Triangulation Representation in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0