{"repo":"Avicted/galaxy_visualization_raylib","free":true,"listed":false,"github":"https://github.com/Avicted/galaxy_visualization_raylib","clone":"git clone https://github.com/Avicted/galaxy_visualization_raylib.git","description":"This project visualizes 100,000 real galaxies in blue and 100,000 randomly distributed galaxies in red. The data is sourced from the GPU programming course at: Åbo Akademi University. Additional redshift survey data is also provided.","language":"C","stars":90,"topics":["c","gamedev","linux","raylib","galaxies","physics","meson"],"license":"MIT","category":"game-templates","readme_excerpt":"Galaxy Visualization The Course This project visualizes 100,000 real galaxies in blue and 100,000 randomly distributed galaxies in red. The data is sourced from the GPU programming course at: Åbo Akademi University The assignment is to use parallel programming with CUDA (or HIP) to calculate 10 billion (10 000 000 000) angles between galaxies and prove they are not randomly distributed. The students must leverage the GPU for these calculations on their own using a smaller compute cluster or supercomputer. Note: - The students have to prove this on their own. - The expected runtime for the calculation is approximately 3 seconds. - It is possible to optimize the runtime to 0.33 seconds (275 ms kernel runtime) on a single GPU (my own solution tested with one AMD RX 6900 XT). - This program is a visualization of the data, not the solution to the assignment. - Additional redshift data from various surveys has been included for visualization purposes. Prerequisites This project can be built using clang/gcc through build.sh (raylib is the only dependency) or Meson as the build system. Dependencies - Git - Base Development Tools (e.g. build-essential on Ubuntu) - Raylib (Tested with v5.5-1) - Clang (or GCC) - Meson (optional) - Python3 (optional, for embedded build compression) - gdb (optional) - ImageMagick (required for Windows icon embedding in mingw builds) Installation Commands Arch Linux Ubuntu Building You can choose between two build modes: - Normal build : External asset fil","default_branch":null,"files":null,"tree":[],"storefront":"/r/Avicted","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Avicted/galaxy_visualization_raylib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}