2020-11-26 19:05:18 +00:00
|
|
|
# Mandelbrot Set
|
2021-01-28 05:57:45 +00:00
|
|
|
[![Build Status](https://ci.paoda.moe/api/badges/paoda/mandelbrot/status.svg)](https://ci.paoda.moe/paoda/mandelbrot)
|
2020-11-26 19:05:18 +00:00
|
|
|
An interactive interface where you can navigate the Mandelbrot Set.
|
|
|
|
|
|
|
|
### Controls
|
|
|
|
|
2021-03-30 02:07:50 +00:00
|
|
|
#### 2D Movement
|
|
|
|
Key | Action
|
|
|
|
--- | ---
|
|
|
|
<kbd>W</kbd> | Up
|
|
|
|
<kbd>A</kbd> | Left
|
|
|
|
<kbd>S</kbd> | Down
|
|
|
|
<kbd>D</kbd> | Right
|
2020-11-26 19:05:18 +00:00
|
|
|
|
2021-03-30 02:07:50 +00:00
|
|
|
#### Zoom
|
|
|
|
Key | Action
|
|
|
|
--- | ---
|
|
|
|
<kbd>Q</kbd> | Zoom Out
|
|
|
|
<kbd>E</kbd> | Zoom In
|
2020-11-26 19:07:04 +00:00
|
|
|
|
2021-03-30 02:07:50 +00:00
|
|
|
#### 2D and Zoom Scale
|
|
|
|
Key | Action
|
|
|
|
--- | ---
|
|
|
|
<kbd>R</kbd> | Increase Scale
|
|
|
|
<kbd>F</kbd> | Decrease Scale
|
|
|
|
|
2021-04-07 04:53:54 +00:00
|
|
|
#### Mandelbrot Iteration Limit (Can go up to 1024)
|
2021-03-30 02:07:50 +00:00
|
|
|
Key | Action
|
|
|
|
--- | ---
|
|
|
|
<kbd>T</kbd> | Increment by a factor of 2
|
|
|
|
<kbd>G</kbd> | Decrement by a factor of 2
|
2020-11-26 21:40:13 +00:00
|
|
|
|
|
|
|
|
2021-03-30 02:07:50 +00:00
|
|
|
|
|
|
|
### Build Instructions
|
|
|
|
You can build the program with `cargo build`, or `cargo build --release` on stable.
|
2020-11-26 21:40:13 +00:00
|
|
|
|
|
|
|
### Run Instructions
|
2021-03-30 02:07:50 +00:00
|
|
|
You can either execute the compiled binary, or use `cargo run --release`
|
2020-11-26 21:35:23 +00:00
|
|
|
|
2020-11-26 19:07:04 +00:00
|
|
|
|
2020-11-26 19:05:18 +00:00
|
|
|
### TODO
|
2021-03-30 02:07:50 +00:00
|
|
|
- [x] Make Zooming feel more natural (where you zoom to is fixed, and not centred)
|
|
|
|
- [x] Make the amount of iterations done when calculating the Mandelbrot set configurable
|
|
|
|
- [x] Add smooth colouring
|
|
|
|
<!-- * Maybe look into histograms? -->
|
|
|
|
- [ ] Zoom with the Mouse?
|
|
|
|
- [ ] Automatically change scale? Remove the need for the user to deal with the Scale modifier
|