icosphere (with frequency or recursive subdivision)

version 1.0.0 (5.38 KB) by Lloyd Fung
Creating a Class I geodesic icosahedron of unit radius through frequency or recursive subdivision.

4 Downloads

Updated 12 Aug 2022

From GitHub

View License on GitHub

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 (2022). 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!
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.