GithubHelp home page GithubHelp logo

tinybitsofcode / galaxy_simulation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from angeluriot/galaxy_simulation

0.0 1.0 0.0 87.1 MB

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

License: MIT License

Shell 0.16% C++ 82.88% C 4.05% CMake 6.15% GLSL 6.02% Batchfile 0.75%

galaxy_simulation's Introduction

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 dependecies

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

galaxy_simulation's People

Contributors

angeluriot avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.