Sierpinski-Menger sponge

Function to compute, display, and save the Sierpinski-Menger fractal sponge, at any given iteration. Help, doc, and examples included.
122 Downloads
Updated 23 Jul 2024
Please first check the examples tab (.mlx ,doc) here on the right for a complete description.
Once downloaded, typewrite 'doc Menger_sponge' or 'help Menger_sponge' in Matlab console for support.
To benefit from the file documentation attached, be sure to download all the files.
3D printable ready option.
Please don't forget to rate this code if it helped you. Thanks ;-)

Cite As

Nicolas Douillet (2024). Sierpinski-Menger sponge (https://github.com/NicolasDouillet/sierpinski-menger_sponge/releases/tag/v3.0.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fractals in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
3.0.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/sierpinski-menger_sponge/releases/tag/v3.0.1

3.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/sierpinski-menger_sponge/releases/tag/v3.0

2.6

cover img new test

2.5

improved display : fill3 <- trisurf, +.mlx, typo, help, doc, description, summary, title

2.4

lvl-4 cover img

2.3

More typo

2.2

+ redo sections

2.1

var names, typo

2.0

Update title

1.6

+ 3D-printing ready option to avoid non manifold edges if true or to optimize the number of vertices and faces if false (by removing duplicata). Update input parsing, help, doc

1.5

Cover img new test

1.4

Improved remove_duplicated vertices function, updated description improved cover img

1.3

Remove duplicated vertices and triangles, + display tip in description, + 3D printing links.

1.2

Smaller image

1.1

Improved description, summary,smaller image

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.