icosphere (with frequency or recursive subdivision)
Versione 1.0.0 (5,47 KB) da
Lloyd Fung
Creating a Class I geodesic icosahedron of unit radius through frequency or recursive subdivision.
ICOSPHERE
Creating a Class I geodesic icosahedron of unit radius through subdivision.
This MATLAB script contains options to choose two different starting regular icosahedron at different rotation angles, and two different subdivision algorithms.
Usage
[V,F] = icosphere(N);
generates to matrices containing vertices V and faces F in the form of rowID in V, with each edge subdivided into N equal segments.
Use
trimesh(icosphere(N));axis equal;
to plot the resulting sphere.
Geodesic Notation
This script generates a geodesic polyhedron.
References
This script is inspired by
- C# code by Andres Kahler
- MATLAB code by Wil O.C. Ward
- Python Geodesic Icosphere package by vedranaa
Cita come
Lloyd Fung (2024). icosphere (with frequency or recursive subdivision) (https://github.com/llfung/icosphere/releases/tag/v1.0.0), GitHub. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2022a
Compatibile con R2013a e release successive
Compatibilità della piattaforma
Windows macOS LinuxTag
Riconoscimenti
Ispirato da: icosphere
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.