Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angeluriot/Galaxy_simulation
An n-body type simulation using GPU acceleration to simulate galaxies, galaxy collisions and expanding universes.
https://github.com/angeluriot/Galaxy_simulation
cpp dimension3d galaxy gpu opencl simulation
Last synced: about 1 month ago
JSON representation
An n-body type simulation using GPU acceleration to simulate galaxies, galaxy collisions and expanding universes.
- Host: GitHub
- URL: https://github.com/angeluriot/Galaxy_simulation
- Owner: angeluriot
- License: mit
- Created: 2020-01-13T03:25:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T12:11:10.000Z (7 months ago)
- Last Synced: 2024-08-02T20:45:35.943Z (5 months ago)
- Topics: cpp, dimension3d, galaxy, gpu, opencl, simulation
- Language: C++
- Homepage:
- Size: 84.7 MB
- Stars: 193
- Watchers: 11
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ๐ Galaxy simulation
![Release](https://img.shields.io/badge/Release-v4.0-blueviolet)
![Language](https://img.shields.io/badge/Language-C%2B%2B-0052cf)
![Libraries](https://img.shields.io/badge/Libraries-Dimension3D_OpenCL-00cf2c)
![Size](https://img.shields.io/badge/Size-204Mo-f12222)
![Open Source](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)
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
* **[๐ Summary](#-summary)**
* **[๐ฅ Video](#-video)**
* **[โจ Features](#-features)**
* **[๐ ๏ธ Install](#%EF%B8%8F-install)**
* [๐ฆด Skeleton project install](#-skeleton-project-install)
* [๐ฆ Additionnal dependencies](#-additionnal-dependencies)
* **[๐๏ธ Releases](#%EF%B8%8F-releases)**
* **[๐งช Tests](#-tests)**
* **[๐ Credits](#-credits)**
# ๐ฅ Video
Here is a video explaining how the algorithm works : [**Simuler 1 000 000 de Galaxies ๐**](https://www.youtube.com/watch?v=dFqjqRUWCus).
# โจ 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**](https://github.com/angeluriot/Graphics_skeleton), so go see its [**install**](https://github.com/angeluriot/Graphics_skeleton#install) part first.
## ๐ฆ Additionnal dependencies
Then, you will also need the [**OpenCL**](https://www.khronos.org/opencl/) library.
# ๐๏ธ Releases
If you just want to test the program without editing the source code, go see the [**Releases**](https://github.com/angeluriot/Galaxy_simulation/releases).
# ๐งช Tests
### A unique galaxy
### Mixing 2 different types of stars
### Two galaxies colliding
### Universe simulations
# ๐ Credits
* [**Angel Uriot**](https://github.com/angeluriot) : Creator of the project.