{"id":21461604,"url":"https://github.com/rossning92/blackhole","last_synced_at":"2025-05-16T06:06:21.666Z","repository":{"id":37403012,"uuid":"291230443","full_name":"rossning92/Blackhole","owner":"rossning92","description":"A blackhole simulation using OpenGL / C++.","archived":false,"fork":false,"pushed_at":"2024-12-02T02:05:20.000Z","size":21455,"stargazers_count":352,"open_issues_count":8,"forks_count":53,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-16T06:06:13.505Z","etag":null,"topics":["blackhole","computer-graphics","glsl","opengl","shader","simulation"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rossning92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-29T08:17:02.000Z","updated_at":"2025-05-13T03:19:30.000Z","dependencies_parsed_at":"2024-12-02T03:28:42.057Z","dependency_job_id":null,"html_url":"https://github.com/rossning92/Blackhole","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.4444444444444444,"last_synced_commit":"ea49fd1e4073990804c84a1354ae90c3154d54ed"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossning92%2FBlackhole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossning92%2FBlackhole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossning92%2FBlackhole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossning92%2FBlackhole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossning92","download_url":"https://codeload.github.com/rossning92/Blackhole/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478190,"owners_count":22077676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blackhole","computer-graphics","glsl","opengl","shader","simulation"],"created_at":"2024-11-23T07:10:03.345Z","updated_at":"2025-05-16T06:06:16.657Z","avatar_url":"https://github.com/rossning92.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-time Black Hole Rendering in OpenGL\n\n![Screenshot](docs/blackhole-screenrecord.gif)\n\n## Prerequisite\n\n- [cmake](https://cmake.org/)\n- [conan](https://conan.io/) package manager [^1][^2]\n\n[^1]: You might need to configure [$HOME/.conan/conan.conf](https://docs.conan.io/en/latest/reference/config_files/conan.conf.html) and Conan [profiles](https://docs.conan.io/en/latest/reference/profiles.html) if the `default profile` is not generated due to different build environments on your distribution.\n[^2]: Conan 1.xx instead of conan 2.xx or higher is suggested in order to avoid unnecessary problems.\n\n## Build the code\n\n```bash\n# Configure the project and generate a native build system.\ncmake -DCMAKE_BUILD_TYPE=Release -S . -B build\n\n# Compile / build the project.\ncmake --build build\n```\n\n## Acknowledgements\n\n**Papers**\n\n- Gravitational Lensing by Spinning Black Holes in Astrophysics, and in the Movie Interstellar\n- Trajectory Around A Spherically Symmetric Non-Rotating Black Hole - Sumanta\n- Approximating Light Rays In The Schwarzschild Field - O. Semerak\n- Implementing a Rasterization Framework for a Black Hole Spacetime - Yoshiyuki Yamashita\n\n\u003c!-- https://arxiv.org/pdf/1502.03808.pdf --\u003e\n\u003c!-- https://arxiv.org/pdf/1109.0676.pdf --\u003e\n\u003c!-- https://arxiv.org/pdf/1412.5650.pdf --\u003e\n\u003c!-- https://pdfs.semanticscholar.org/56ff/9c575c29ae8ed6042e23075ff0ca00031ccc.pdfhttps://pdfs.semanticscholar.org/56ff/9c575c29ae8ed6042e23075ff0ca00031ccc.pdf --\u003e\n\n**Articles**\n\n- Physics of oseiskar.github.io/black-hole - https://oseiskar.github.io/black-hole/docs/physics.html\n- Schwarzschild geodesics - https://en.wikipedia.org/wiki/Schwarzschild_geodesics\n- Photons and black holes - https://flannelhead.github.io/posts/2016-03-06-photons-and-black-holes.html\n- A real-time simulation of the visual appearance of a Schwarzschild Black Hole - http://spiro.fisica.unipd.it/~antonell/schwarzschild/\n- Ray Tracing a Black Hole in C# by Mikolaj Barwicki - https://www.codeproject.com/Articles/994466/Ray-Tracing-a-Black-Hole-in-Csharp\n- Ray Marching and Signed Distance Functions - http://jamie-wong.com/2016/07/15/ray-marching-signed-distance-functions/\n- Einstein's Rings and the Fabric of Space - https://www.youtube.com/watch?v=Rl8H4XEs0hw)\n- Opus 2, GLSL ray tracing tutorial - http://fhtr.blogspot.com/2013/12/opus-2-glsl-ray-tracing-tutorial.html\n- Ray Tracing in One Weekend - https://raytracing.github.io/\n- On ray casting, ray tracing, ray marching and the like - http://hugi.scene.org/online/hugi37/- hugi%2037%20-%20coding%20adok%20on%20ray%20casting,%20ray%20tracing,%20ray%20marching%20and%20the%20like.htm\n\n**Other GitHub Projects**\n\n- https://github.com/sirxemic/Interstellar\n- https://github.com/ssloy/tinyraytracer\n- https://github.com/RayTracing/raytracing.github.io\n- https://awesomeopensource.com/projects/raytracing\n- Ray-traced simulation of a black hole - https://github.com/oseiskar/black-hole\n- Raytracing a blackhole - https://rantonels.github.io/starless/\n- https://github.com/rantonels/schwarzschild\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossning92%2Fblackhole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossning92%2Fblackhole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossning92%2Fblackhole/lists"}