Skip to content

Commit

Permalink
prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkesy committed Feb 14, 2024
1 parent b8d439b commit 28c8537
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 22 deletions.
50 changes: 28 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
# Mandelbrot Visualizer

![Screenshot](./docs/screenshot.png)
Quick and dirty [Mandelbrot set](https://en.wikipedia.org/wiki/Mandelbrot_set) Visualizer in modernish C++ built to pass time and apply knowledge.

## Used Features and Libs?
<img src='./docs/screenshot.png' width='625'>

- ImGUI
- OpenGL
- GLFW
- OpenMP
- C++ Futures
- Docker
- clang-format/tidy
- fmt
- cmake
- pre-commit
<!-- - Cuda -->
- ...?
## Used Technologies

- C++11/17/20 Features (Threads, Futures, Lambdas, ...)
- [clang-format](https://clang.llvm.org/docs/ClangFormat.html)/[tidy](https://clang.llvm.org/extra/clang-tidy/)
- [CMake](https://cmake.org/)
- [GoogleTest](https://github.com/google/googletest)
- [Benchmark](https://github.com/google/benchmark)
- [OpenMP](https://www.openmp.org/)
- [imgui](https://github.com/ocornut/imgui)
- [OpenGL](https://www.opengl.org/)
- [GLFW](https://www.glfw.org/)
- [Docker](https://www.docker.com/)
- [fmt](https://github.com/fmtlib/fmt)
- [pre-commit](https://pre-commit.com/)

## Build and Execution

### Docker

run with xorg:
Run GUI with xorg:

```
xhost +local:docker || true
Expand All @@ -35,12 +37,13 @@ docker compose run --rm nvidia_mandelbrot_visualizer
## Dependencies

- OpenGL
<!-- - Cuda -->
- CMake
- C++11
- CMake 3.11+
- C++20+
- OpenMP

_See docker container for Ubuntu/Debian install steps_
All other dependencies are built from source through external submodules.

_See docker container for example Ubuntu/Debian install steps_

#### Build

Expand All @@ -54,11 +57,14 @@ cmake --build .
#### Execution

```
export OMP_CANCELLATION=true # enable OpenMP cancellation for redrawing
export OMP_CANCELLATION=true # enable OpenMP cancellation for redrawing -> program tries to bootstrap it anyway
./mandelbrot_visualizer
```

## Development

- pre-commit
- docker
```
pre-commit install
```

[GitHub Action](https://docs.github.com/en/actions) enabled which runs [pre-commit](https://pre-commit.com/) on main merge request.
Binary file modified docs/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 28c8537

Please sign in to comment.