#fractals #anti-aliasing #renderer

app fractal_rndr

A fractal renderer that features several coloring modes, anti-aliasing and a gui

7 releases

0.2.6 Feb 17, 2026
0.2.5 Nov 9, 2025
0.2.4 Aug 10, 2025
0.2.2 Jul 11, 2025
0.2.1 Feb 22, 2025

#120 in Images

MIT license

290KB
3K SLoC

Fractal Renderer

This is a program used to render fractals using a RON parameter file. It also has a simple GUI for easier navigation.

It features anti-aliasing and the GUI allows for progressive sampling by manually taking as many samples as necessary to smoothen the image.

Table of contents

How to install

If you have cargo installed:

cargo install fractal_rndr

You can also download executables for older versions from github.

How to use

You can either directly run the executable or use the command line:

fractal_rndr path/to/param_file.ron path/to/output_image.png

[!NOTE] Supported image formats are png and jpg (the extension is used to guess the format)

This is what the app looks like:

gui preview

Enjoy !

Preset renders

See this repository.

Ideas

  • use wgpu to perform calculations ? see this
  • use opencl to perform calculations ? see this
  • Make a new program using this one that is a purely gui program with progressive rendering
    • Progressive rendering ? Save a global raw_image and sample continuously from another thread to improve image quality
      • How to sample ? Use Low or Medium for first pass then do other passes with High (as the number of passes increases, the value of each pixel gets more and more accurate)
      • Careful: The average between new passes and the current values must be weighted: (sampling_point_count_from_start * stored_value + sampling_point_count_for_current_pass * new_value) / (sampling_point_count_from_start + sampling_point_count_for_current_pass)

Notes

  • To create a video from the frames:
    ffmpeg -framerate <fps> -pattern_type glob -i 'frames/*.png' -c:v libx264 -pix_fmt yuv420p video.mp4
    

Dependencies

~19–44MB
~712K SLoC