fracwall

This fractal wallpaper generator creates a bitmap file depicting either the Mandelbrot or the Julia set
Log | Files | Refs | README | LICENSE

config.c (873B)


      1 /*
      2   Configuration File Source
      3   "config.c"
      4   M. Yamanaka
      5   email: myamanaka@live.com
      6   website: csmyamanaka.com
      7   license: MIT (See included "LICENSE" file for details)
      8 */
      9 
     10 #include "config.h"
     11 
     12 /*
     13   This is the config file to edit.
     14 
     15   While I am definitely borrowing from Suckless's design principles,
     16   I am still dividing the source from the header.
     17   
     18   If I may say so myself, I believe that the variable names are sufficiently
     19   descriptive but if not, the description of the variables are available in
     20   the header file, "config.h"
     21 */
     22 
     23 const char* img_name = "wallpaper.bmp";
     24 int img_width = 1366;
     25 int img_height = 768;
     26 
     27 /*
     28   min/max on X and Y axes
     29 */
     30 float vx_min = -1.5;//-2;
     31 float vx_max = 1.5;//2;
     32 float vy_min = -1.5;//-2;
     33 float vy_max = 1.5;//2;
     34 
     35 int iter_max = 30;
     36 
     37 /*
     38   0 for mandelbrot, else julia
     39 */
     40 int fractal_flag = 0;
     41 
     42 float julia_C[2] = {-0.5, -1};
     43 

Generated using stagit (https://codemadness.org/stagit.html)