Skip to content
المشاريع

حول

An n-body type simulation using GPU acceleration to simulate galaxies, galaxy collisions and expanding universes.

العلوم والهندسة

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • A menu to change the settings of the simulation
  • A camera that you can control with your mouse and your wheel
  • It can simulate a unique galaxy :
  • It can also simulate a collision between two galaxies :

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

🌌 Galaxy simulation

Release Language Libraries Size Open Source


This repository contains the source code of an n-body type simulation using GPU acceleration. It is able to simulate galaxies, galaxy collisions and expanding universes. It has a menu to change the settings and an interactive camera.


⚠️ This repository contains submodules, add --recurse-submodules when cloning ⚠️



📋 Summary


🎥 Video

Here is a video explaining how the algorithm works : Simuler 1 000 000 de Galaxies 🌌.


✨ Features

  • A menu to change the settings of the simulation

  • A camera that you can control with your mouse and your wheel

  • It can simulate a unique galaxy :

  • It can also simulate a collision between two galaxies :

  • And it can simulate an entire expanding universe :


🛠️ Install

🦴 Skeleton project install

This repository is based on my Graphics skeleton project, so go see its install part first.


📦 Additionnal dependencies

Then, you will also need the OpenCL library.


🗓️ Releases

If you just want to test the program without editing the source code, go see the Releases.


🧪 Tests

A unique galaxy


Mixing 2 different types of stars


Two galaxies colliding


Universe simulations


🙏 Credits

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…