Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bvsam/fractal
https://github.com/bvsam/fractal
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bvsam/fractal
- Owner: bvsam
- License: mit
- Created: 2023-12-14T09:03:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-01T01:42:32.000Z (10 months ago)
- Last Synced: 2024-02-01T02:36:26.257Z (10 months ago)
- Language: C++
- 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