Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.05 KB

README.md

File metadata and controls

44 lines (35 loc) · 1.05 KB

Mandel

A simple mandelbrot explorer in under 1000 LoC

Tip

build using cargo run --release.


Screenshots

mandel in action

Controls

  • W Move up
  • S Move down
  • A Move left
  • D Move right
  • (up arrow) Increase iterations (default: 1000)
  • (down arrow) Decrease iterations
  • Mouse wheel scroll down: Decrease movement speed
  • Mouse wheel scroll up: Increase movement speed
  • E Zoom in
  • Q Zoom out
  • O Toggle SSAA
  • P Toggle filtering

Acknowledgments:

Inigo Quilez's palette function: https://iquilezles.org/articles/palettes/

Missing things:

  • Polish (code is very traumatizing in this state)
  • Proper Fp64 support
  • Refine chunk management
  • Anti Aliasing (3x3 SSAA, super unoptimized)

Performance optimizations:

  • Cardioid & Bulb checking
  • Length checking instead of naive greater-than-two approach
  • Periodicity checking
  • Image caching