fractal_rndr

Crates.iofractal_rndr
lib.rsfractal_rndr
version0.2.4
created_at2025-02-22 11:41:34.089302+00
updated_at2025-08-10 17:15:08.529126+00
descriptionA fractal renderer that features several coloring modes, anti-aliasing and a gui.
homepagehttps://gitlab.com/valflrt/fractal_rndr
repository
max_upload_size
id1565332
size306,094
𝕧𝕒𝕝 (valflrt)

documentation

README

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

Otherwise, you can download the latest executable from the releases tab.

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
    
Commit count: 0

cargo fmt