Skip to content

PaulFenton/spheriod-mesh-generate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spheriod-mesh-generate

Spheroid Mesh Generation and Visualization Utilities. Accompanying blog post: https://fentonsoftware.com/generating-spheroidal-meshes-in-python/

Prerequisites

Setup

Install prerequisites such as numpy, plotly, moviepy, and scipy, and others via conda.

conda create -n "astro" python=3.9 --file requirements.txt
conda activate astro

Start the jupyter notebook

jupyter notebook globe_mesh_uv.ipynb

Run through the notebook to generate interactive 3D charts and .gifs like this:

Gif example

Use comments to toggle between the plotting utils to generate 3D charts (show_poly_3d()) or .gifs (create_poly_3d_gif()):

show_poly_3d(<...>)
#create_poly_3d_gif(<...>)

About

Spheroid Mesh Generation and Visualization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published