Sierpinski tetrahedron

Function to compute save and display the Sierpinski tetrahedron fractal at any iteration. Also get rid of duplicated vertices.

https://github.com/NicolasDouillet/sierpinski_tetrahedron

You are now following this Submission

Please first check the examples tab (.mlx doc) here on the right for a complete description.
Once downloaded, typewrite 'doc Sierpinski_tetrahedron' or 'help Sierpinski_tetrahedron' in Matlab console for support.
To benefit from the file documentation attached, be sure to download the file, not to just copy and paste it.
Please don't forget to rate this code if it helped you. Thanks ;-)

Cite As

Nicolas Douillet (2026). Sierpinski tetrahedron (https://github.com/NicolasDouillet/sierpinski_tetrahedron/releases/tag/v4.0.1), GitHub. Retrieved .

Categories

Find more on Fractals in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
4.0.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/sierpinski_tetrahedron/releases/tag/v4.0.1

4.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/sierpinski_tetrahedron/releases/tag/v4.0

3.6

cover img new test(ter)

3.5

Cover img new test (bis)

3.4

cover img new test

3.3

typo, help, doc, description, cover img

3.2

cover img new test

3.1

Improved : remove duplicated vertices function, cover img, updated description

3.0

Remove duplicated vertices and triangles, update description

2.1

All in one file only, updated description.

2.0

Fixed Y rotation matrix bug

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.