https://github.com/lucasfturos/blackholeinc
Buraco negro em C
https://github.com/lucasfturos/blackholeinc
c cmake
Last synced: 12 months ago
JSON representation
Buraco negro em C
- Host: GitHub
- URL: https://github.com/lucasfturos/blackholeinc
- Owner: lucasfturos
- Created: 2024-05-29T01:31:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-17T14:06:50.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T02:43:00.189Z (over 1 year ago)
- Topics: c, cmake
- Language: C
- Homepage:
- Size: 2.72 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Black Hole in C
Um buraco negro feito em C
## Instalação e Execução
### Requisitos
- CMake
- GCC
- Make
- SDL2
### Instruções:
1. Clone o repositório:
```
git clone https://github.com/lucasfturos/BlackHoleInC.git && cd BlackHoleInC
```
2. Crie a pasta build:
```
cmake -S . -B build && cd build
```
3. Compile o programa:
```
make
```
4. Execute o programa:
```
./src/Demo
```
## Screenshot
### Primeiro render

### Segundo render

## Referências
1. [Implementing General Relativity: Rendering the Schwarzschild black hole, in C++ - James (@20k)](https://20k.github.io/c++/2024/05/31/schwarzschild.html)
2. [Path-Traced Black Hole - Zi7ar21](https://www.shadertoy.com/view/7tS3DW)
3. [Ray Tracing Black Holes - Eliot Han, Michael Tu, Alejandro Garcia](https://eliot1019.github.io/Black-Hole-Raytracer/)