Skip to content

rice7th/mandel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simple glsl mandelbrot viewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published