Platonic solids

Function to compute and display the five platonic solids.
122 Downloads
Updated 28 Aug 2023

Please first check the examples tab (doc) here on the right for a complete description.

Once downloaded, typewrite 'doc platonic_solids' or 'help platonic_solids' in Matlab console for support.

To change the display, just modify the call to plot_mesh subfunction (line ~250) according to your preferences and to LineSpec rules, or simply do it a posteriori.

Cite As

Nicolas Douillet (2024). Platonic solids (https://github.com/NicolasDouillet/platonic_solids/releases/tag/v2.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/platonic_solids/releases/tag/v2.1

2.0

+ face_type option ('default' / 'triangle') to get triangulated meshes of cube and dodecahedron

1.8

- Reoriented faces coherently
- Improved display

1.7

Again

1.6

cover img again

1.5

New test (!)

1.3

cover img new test

1.2

cover img new test

1.1

cover img test

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.