https://github.com/phdenzel/julia
Explore fractal structures with this Julia set generator
https://github.com/phdenzel/julia
c fractals julia-sets sdl2
Last synced: 7 months ago
JSON representation
Explore fractal structures with this Julia set generator
- Host: GitHub
- URL: https://github.com/phdenzel/julia
- Owner: phdenzel
- License: mit
- Created: 2017-03-28T16:51:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T23:58:13.000Z (almost 8 years ago)
- Last Synced: 2025-02-26T06:35:08.500Z (10 months ago)
- Topics: c, fractals, julia-sets, sdl2
- Language: C
- Homepage:
- Size: 1.38 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# julia
A Julia set generator programmed in C using the SDL2 library.
Fractals are of great mathematical as well as artistical interest. They can be generated in different ways, **strange attractors** and **Lindenmayer systems** being some of the more prominent keys.
The easiest way however, is **iterating a system of functions**, which probably reflects the self-similar, repetitive nature of fractals best.
Using
```math
f(z) = z*z + c | z,c are complex numbers
```
as iterative function, we can generate Julia sets, of which the Mandelbrot set is a specific variant.
### Install
To compile the code, cd into the directory and type
```bash
make julia
```
Prerequisite is the GNU compiler `gcc-6` or any other c-compiler. Just make sure to apply according adjustments to the `Makefile` if you want to use another compiler.
Another requirement is the c-library ``, for real-time graphics.