icosphere (with frequency or recursive subdivision)

Version 1.0.0 (5.47 KB) by Lloyd Fung
Creating a Class I geodesic icosahedron of unit radius through frequency or recursive subdivision.
47 Downloads
Updated 12 Aug 2022
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

Cite As

Lloyd Fung (2024). icosphere (with frequency or recursive subdivision) (https://github.com/llfung/icosphere/releases/tag/v1.0.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with R2013a and later releases
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: icosphere

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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.