|
10 | 10 | </p> |
11 | 11 |
|
12 | 12 | <h3 align="center"> |
13 | | - A high-performance, real-time visualizer for complex functions $f: \mathbb{C} \to \mathbb{C}$. |
| 13 | + A high-performance, real-time visualizer for complex functions $f: \mathbb{C} \to \mathbb{C}$ in 2D and 3D. |
14 | 14 | </h3> |
15 | 15 |
|
16 | | -<p align="center"> |
17 | | - <img src="docs/assets/gifs/GridWarping.gif" width="800" alt="Grid Warping Demo"> |
18 | | -</p> |
| 16 | +<table align="center"> |
| 17 | + <tr> |
| 18 | + <td align="center"> |
| 19 | + <img src="docs/assets/polynomial.png" width="250" height="250" alt="Polynomial"> |
| 20 | + </td> |
| 21 | + <td align="center"> |
| 22 | + <img src="docs/assets/fractal.png" width="250" height="250" alt="Fractal"> |
| 23 | + </td> |
| 24 | + <td align="center"> |
| 25 | + <img src="docs/assets/gifs/2D-Animation.gif" width="250" height="250" alt="2D Animation"> |
| 26 | + </td> |
| 27 | + </tr> |
| 28 | + <tr> |
| 29 | + <td align="center"> |
| 30 | + <img src="docs/assets/3d_tan.png" width="250" height="250" alt="3D Tangent"> |
| 31 | + </td> |
| 32 | + <td align="center"> |
| 33 | + <img src="docs/assets/3d_ln.png" width="250" height="250" alt="3D Natural Logarithm"> |
| 34 | + </td> |
| 35 | + <td align="center"> |
| 36 | + <img src="docs/assets/gifs/3D-Animation.gif" width="250" height="250" alt="3D Animation"> |
| 37 | + </td> |
| 38 | + </tr> |
| 39 | +</table> |
| 40 | + |
| 41 | +## Table of Contents |
| 42 | +* [Overview](#overview) |
| 43 | +* [Quick Start](#quick-start) |
| 44 | + * [Download & Run](#downloading--running) |
| 45 | + * [Build from Source](#building-from-source) |
| 46 | +* [Documentation](#documentation) |
| 47 | + * [Math Primer](#math-primer) |
| 48 | + * [Features](#features) |
| 49 | + * [Advanced](#advanced) |
| 50 | +* [Contributing](CONTRIBUTING.md) |
| 51 | +* [License](LICENSE.md) |
| 52 | + |
| 53 | +## Overview |
| 54 | +Complex Plotter is a general-purpose, GPU-accelerated visualizer for complex functions. In standard mathematics, we plot functions on 2D axis ($y = f(x)$). However, complex functions map 2D inputs to 2D outputs, making their plot four-dimensional. |
| 55 | +This tool solves this problem using **Domain Coloring** (mapping complex nummbers to colors) and **Height Maps** (mapping output magnitude to height). This tool currently supports every elementary function, complex operators, derivatives, and more. |
| 56 | + |
| 57 | +## Requirements |
| 58 | + |
| 59 | + |
| 60 | +## Quick Start |
| 61 | + |
| 62 | +### Downloading & Running |
| 63 | +A compiled binary for both windows and linux is available in the [Releases]() section of this repository. They are both compiled for 64-bit architectures. |
| 64 | +- [x64 Windows]() |
| 65 | +- [x64 Linux]() |
| 66 | +To use the program, simply install the executable file, and run it. |
| 67 | +> Note: In Linux, you have to allow the executable to run. To do so, run `chmod +x complex_plotter` |
| 68 | +
|
| 69 | +### Building from Source |
| 70 | +Before building, ensure you have the following installed: |
| 71 | +* **CMake** (Version 3.15 or higher) |
| 72 | +* **C++ Compiler** with **C++20** support: |
| 73 | + * *Windows:* Visual Studio 2022 (MSVC) or MinGW64 |
| 74 | + * *Linux:* GCC 10+ or Clang 10+ |
| 75 | +* **Graphics Driver** compatible with **OpenGL 3.3+** |
| 76 | +> On Linux, you will need the X11 and GL development libraries: |
| 77 | +> ```bash |
| 78 | +> sudo apt-get update |
| 79 | +> sudo apt-get install build-essential cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev |
| 80 | +> ``` |
| 81 | +
|
| 82 | +### 1. Clone the repository |
| 83 | +```bash |
| 84 | +git clone https://github.com/Sekqies/complex-plotter.git |
| 85 | +cd complex-plotter |
| 86 | +``` |
| 87 | +
|
| 88 | +### 2. Configure with CMake |
| 89 | +```bash |
| 90 | +mkdir build && cd build |
| 91 | +cmake .. |
| 92 | +``` |
| 93 | + |
| 94 | +### 3. Compile |
| 95 | +* Unix systems |
| 96 | + ```bash |
| 97 | + make |
| 98 | + ``` |
| 99 | +* Windows: |
| 100 | + ```bash |
| 101 | + cmake --build . --config Release |
| 102 | + ``` |
| 103 | +Then, the executable will be available in the `build/` directory. |
| 104 | + |
| 105 | +## Documentation |
| 106 | +Since this project is math-intensive and quite complex, there are three main sources of documentation (all contained within the `docs/` [directory](docs/)) |
| 107 | + |
| 108 | +### [Math Primer](docs/the-basics.md) |
| 109 | +A guide for those not familiar with the mathematical foundation of complex analysis, and would like to understand the theory behind this tool. Uses graphical imagery and animations to better explain some introductory concepts. |
| 110 | + |
| 111 | +### [Features](docs/features.md) |
| 112 | +An exhaustive list of features supported by this tool |
| 113 | + |
| 114 | +### [Advanced](docs/advanced.md) |
| 115 | +An architectural explanation of how this tool works, internally. |
0 commit comments