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

https://github.com/irevoire/rulia

Compute the Julia Set
https://github.com/irevoire/rulia

fractals interactive julia julia-fractal rust

Last synced: about 2 months ago
JSON representation

Compute the Julia Set

Awesome Lists containing this project

README

          

# Rulia
| ![multiple examples of what you can get with this repo](images/julia_unzoomed.png) | ![](images/base_julia.png) |
| :-------------: |:-------------:|
| ![](images/julia1.png) | ![](images/julia2.png) |
| ![](images/julia3.png) | ![](images/julia4.png) |
| ![](images/julia5.png) | [![video of the code running](images/youtube-logo.png)](https://youtu.be/zIn4UwnOfdY) |

This project draw the [julia set](https://en.wikipedia.org/wiki/Julia_set).

It uses the `minifb` crate for the window / drawing.

To build the project use:
```
cargo build --release
```

To run the project:
```
cargo run --release
```

This project is largely inspired, and share most of its code with the
[mandelbrüst](http://github.com/irevoire/mandelbrust) project.

## Control

- Use the arrow key to move on the fractal.
- Use `zqsd` to move
- Use `wasd` to move
- `i`: Augment the level of iteration
- `u`: Reduce the level of iteration
- `space`: Zoom in the fractal
- `x`: Unzoom the fractal
- `escape`: Exit