An open API service indexing awesome lists of open source software.

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

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.