Mandelbrot / Julia shaders for AZUR Just for Fun
Go to file
Sylvain PILLOT 434195fee8 Allow moving C=A+B.i in the complex plan with [SHIFT+ARROWs] for the Julia set 2023-01-19 13:19:26 +01:00
assets-cg Better addin Icons 2023-01-18 21:13:19 +01:00
src Allow moving C=A+B.i in the complex plan with [SHIFT+ARROWs] for the Julia set 2023-01-19 13:19:26 +01:00
.gitignore first working, non optimized, version of the Shader (Julia set only) 2023-01-17 12:29:49 +01:00
CMakeLists.txt improve speed of z->z²+c iteration and also parameterize z 2023-01-19 09:20:09 +01:00
README.md Allow moving C=A+B.i in the complex plan with [SHIFT+ARROWs] for the Julia set 2023-01-19 13:19:26 +01:00
build first working, non optimized, version of the Shader (Julia set only) 2023-01-17 12:29:49 +01:00
capture first working, non optimized, version of the Shader (Julia set only) 2023-01-17 12:29:49 +01:00
clean first working, non optimized, version of the Shader (Julia set only) 2023-01-17 12:29:49 +01:00
send first working, non optimized, version of the Shader (Julia set only) 2023-01-17 12:29:49 +01:00

README.md

A simple shader for AZUR aiming at computing the Mandelbrot and the Julia fractal sets

What is this addin doing ?

This small demo is based on Azur. It uses its ultra fast rendering pipeline with specific shaders :

  • Mandelbrot shader written in ASM by Lephe'
  • Julia shader written in C with the libnum fast fixed point arithmetic lib

Both Mandelbrot - named as per Benoît MANDELBROT (1924-2010) - and Julia - named as per Gaston JULIA (1893-1978) - fractals are based on the convergence determination of the equation Z_(n+1) = Z_n^2 + C.

What can we do ?

Control keys are :

[EXIT] to leave to the Operating System [F1] to [F4] to show/switch off some informations on the screen :

  • [F1] : hide everything
  • [F2] : minimal output FPS + rendering time
  • [F3] : detailed update/rendering time
  • [F4] : memory usage [F5]/[F6] : switch fractal mode
  • [F5] : set Mandelbrot fractal
  • [F6] : set Julia fractal [OPTN]/[VARS] : switch resolution
  • [OPTN] : set resolution scale to 1, the fractals are computed on a 396x224 grid
  • [VARS] : set resolution scale to 0.5 (2x2 pixels), the fractals are computed on a 198x112 grid (much faster but lower quality)

For the Julia set only : [SHIFT]+[Directional Cross] : change the value of the C value (C = A + B i)

  • [SHIFT+LEFT] : A = A - 0.002
  • [SHIFT+RIGHT] : A = A + 0.002
  • [SHIFT+DOWN] : B = B - 0.002
  • [SHIFT+UP] : B = B + 0.002 A and B are constrained in the range [-2.000 .. 2.000]

Have fun !!!