Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 777 Bytes

readme.md

File metadata and controls

31 lines (24 loc) · 777 Bytes

Galaxy simulation

Usage

Generating visuals galaxies

# Spiral galaxy with 4 arms :
g1 = generate_3Dgalaxy(generate_2Dspiral_galaxy,n_arms=4)

# Elliptical galaxy
g2 = generate_3Dgalaxy(generate_2Delliptical_galaxy)

#plot 
plot_galaxy(g1)

Spiral4

TODO

Creation / Visualization

  • Generate Spiral galaxy
  • Generate Elliptic galaxy
  • Generate 3D galaxies

Simulations

  • Implement Vectorized N_Body simulation
  • Find Good Init parameters (velocity, positions , masses)
  • Single Galaxy simulation (as 3D N body system)
  • Simulate Galaxy merger

Other simulations (much better than what is done here)

http://www.tapir.caltech.edu/~phopkins/Site/animations/Movies_sbw_mgr.html