MCPcopy Index your code
hub / github.com/PottierLoic/Fractouille

github.com/PottierLoic/Fractouille @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
80 symbols 171 edges 28 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Fractouille

Fractouille is a simple fractal explorer running in your terminal.

Rust Ratatui License

Features

  • Multiple fractal sets (Mandelbrot, Julia, Burning Ship)
  • High-quality screenshot capture with smooth coloring
  • Zoom videos recording
  • Interactive navigation
  • Command mode for advanced usage

Requirements

  • Rust
  • FFmpeg (for video recording)

Usage

# clone the repository
git clone https://github.com/pottierloic/fractouille
cd fractouille

# run directly
cargo run

# or install and run from anywhere
cargo install --path .
fractouille

Keybinds

  • wasd: Move around
  • r/f: adjust max iterations
  • -/+: adjust zoom level
  • space: cycle color palette
  • enter: switch fractal set
  • q: quit fractouille

Command mode

Just like in Vim, press : to enter command mode. A list of all available commands can be found by in the COMMANDS.md file.

Screenshots or records

Screenshots and records are automatically saved to your system's Pictures folder inside of fractouille. Recording need ffmpeg to be installed on your system, more information can be found in the RECORD.md file.

Roadmap

  • [x] Basic fractal sets implementation
    • [x] Mandelbrot Set
    • [x] Julia Set
    • [x] Burning Ship
  • [x] Screenshot functionality
    • [x] Smooth coloring
    • [x] Auto-save
  • [x] Variable power parameter

  • [ ] Border tracing method

  • [ ] Arbitray precision
  • [x] Customizable color palette

  • [x] Phoenix Set implementation

  • [ ] Newton fractals
  • [ ] Lyapunov fractals

Museum

Some really cool pictures I took can be seen in the museum folder.

Core symbols most depended-on inside this repo

add
called by 12
src/complex/complex.rs
render_frame
called by 7
src/fractal/render.rs
abs_sq
called by 6
src/complex/complex.rs
square
called by 6
src/complex/complex.rs
abs
called by 5
src/complex/complex.rs
rgb_to_hsv
called by 4
src/palette/utils.rs
resolve_segment
called by 4
src/palette/palette.rs
mul
called by 3
src/complex/complex.rs

Shape

Function 46
Method 23
Class 6
Enum 5

Languages

Rust100%

Modules by API surface

src/command/parse.rs18 symbols
src/complex/complex.rs8 symbols
src/fractal/render.rs7 symbols
src/palette/interpolation.rs5 symbols
src/complex/tests.rs5 symbols
src/ui/fractal_view.rs4 symbols
src/palette/palette.rs4 symbols
src/fractal/iter.rs4 symbols
src/app.rs4 symbols
fractal.rs4 symbols
src/fractal/types.rs3 symbols
src/ui/app_view.rs2 symbols

For agents

$ claude mcp add Fractouille \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page