3D printable models of spherical harmonics.
The .stl files are available on Thingiverse and in the GitHub releases (SH_optimized.zip file).
The surface of each model is defined by real spherical harmonics:
where
A small central sphere has been added to each .stl model to soften sharp edges and provide additional support for floating "leaves", improving printability.
Install all dependencies using uv:
uv syncRun the script to generate the models:
uv run generator.pyThis script generates .stl files of spherical harmonics on a regular mesh and then optimizes them using gmsh library.
Licensed under CC BY-NC-SA 4.0