Galaxy model

版本 3.0 (1.5 KB) 作者: Nicolas Douillet
A function to compute and display a galaxy point cloud (spiral or elliptic), with some tunable parameters (shape, number of arms, etc...)
101.0 次下载
更新时间 2024/7/25
Design your own galaxy ! :-)
For pedagogic / scientific diffusion purposes. Is not a rigorous astrophysical model.
F5 in galaxy_model.m or galaxy_model; in console to run the program and plot the figure.
A lot of parameters -curvature, number of arms, number of stars and many others- are available in the file header to tune the shape of the model.
Since these parameters are quite sensitive, my advice is to first test them individually -one by one- to understand their influence.
Please don't forget to rate this code if it helped you. Thanks ;-)
Some additional examples you can get with this code :
Spiral galaxy
Spiral galaxy
Elliptic galaxy

引用格式

Nicolas Douillet (2024). Galaxy model (https://github.com/NicolasDouillet/galaxy_model/releases/tag/v3.0), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
3.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/galaxy_model/releases/tag/v3.0

2.6

See release notes for this release on GitHub: https://github.com/NicolasDouillet/galaxy_model/releases/tag/v2.6

2.5

Added one parameter set example for elliptic galaxy type

2.4

Updated file name in description

2.3

Fixed colormap figure bug

2.2

Name, cover img, typo

2.1

Profile view option + typo

2.0

Model improvement with some extra parameters (distribution, Markers, colors, etc), profile view, parameter set examples, description.

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库