https://github.com/bvsam/fractal
Visualizing fractals using C++ and SFML.
https://github.com/bvsam/fractal
Last synced: about 1 month ago
JSON representation
Visualizing fractals using C++ and SFML.
- Host: GitHub
- URL: https://github.com/bvsam/fractal
- Owner: bvsam
- License: mit
- Created: 2023-12-14T09:03:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T01:42:32.000Z (over 2 years ago)
- Last Synced: 2025-03-04T03:43:02.321Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fractal
Visualizing fractals using C++ and SFML.
## Running
Controls:
- **A** - zoom in
- **E** - zoom out
## Building
### Locally
Note: Building the code locally requires both [SFML](https://www.sfml-dev.org/) and [CMake](https://cmake.org/) to be installed. The following instructions are meant for Linux/WSL.
To build and run the code, do the following:
1. Make a `build` directory and cd into it
```bash
mkdir build
cd build
```
2. While in the `build` directory, run `cmake` with the `CMakeLists.txt` in the root directory of this repo.
```bash
cmake ..
```
3. Run make
```bash
make
```
4. Run the generated binary
```
./fractal
```
## References and Attribution
- [_Understanding Julia and Mandelbrot Sets_](https://www.karlsims.com/julia.html) by _Karl Sims_
- [_Simple Fractal Rendering_](https://youtu.be/uc2yok_pLV4) by _Pezzza's Work_
- [_From Newton’s method to Newton’s fractal (which Newton knew nothing about)_](https://youtu.be/-RdOwhmqP5s) by _3Blue1Brown_
- idea inspiration