/fractal_rs

Testing assembly SIMD intrinsics and rayon with fun

Primary LanguageRust

fractal_rs

This is a port to Rust of my implementation of rendering a Mandelbrot set written long long time ago in C++.

Running

cargo +nightly run --release

Navigation

  • Left mouse click Centers view on given position
  • [ Zoom out
  • ] Zoom in
  • ←↑↓→ Fine tuning, moves the view by 10%
  • = Increase iterations
  • - Decrease iterations
  • 1...9 Set center of the window to some POI (6 is iteresting one)
  • 0 Reset view
  • space Dump current position to the console

Features

  • simple version - one thread + double
  • multithreaded - unsafeCell + atomics to sync up with workers
  • multithreaded using Rayon
  • avx2 version + Rayon
  • avx512 (lack of CPU to test it, lol)
  • arbitrary precision rug
  • quadruple (double double) + Rayon:

drawing drawing

Notes