# PERCEPTRON SETTINGS FILE # # Perceptron reads this file on startup to determine the values of # key program parameters. You may alter these settings at will, some # values may cause the program to run out of memory or behave # unexpectedly. Try to follow the guidelines for each setting. # Follow the format + " " + # RESOURCE DIRECTORY # # The contents of the resource directory are best left untouched, # because the program cannot start if a file is missing. image_directory resource/images/ # THE AUDIO INPUT can turn Perceptron into a sound visualizer (testing!) audio_line 0 # SCREEN SETTINGS # # This determines the resolution of Perceptron's screen. Perceptron # attempts to set the display size to the smallest possible display # that supports the resolution listed here. If the screen width and # height listed here are greater than the maximum resolution of the # monitor, then these values default to the maximum monitor resolution. # Set these to smaller values to increase speed at runtime. # possible values : integers greater than 0 # Note: 20230911 youtube size is 1186 666 # 16:9 ratio # Reccomended # 426 240 # 640 360 # 854 480 # 1280 720 # 1920 1080 # For 1600 x 720 HD+ low resolution #SWIDTH=1520 #SHEIGHT=720 # For 2400 x 1080 FHD+ medium resolution #SWIDTH=2280 #SHEIGHT=1080 # For 3200 x 1440 QHD+ high resolution #SWIDTH=3040 #SHEIGHT=1440 screen_width 1520 screen_height 720 #screen_width 854 #screen_height 480 #screen_width 1280 #screen_height 720 #screen_width 1920 #screen_height 1080 #TREE SETTINGS # # These settings control aspects of the Tree located in the foreground # This is the largest depth to which to render the tree that is in # the foreground. Reduce this if the program runs out of memory # (which may manifest as the program failing to run at all) # The number of computations required to draw the tree scales as # 2^(1 + tree_depth) so the time for rendering the tree grows rapidly # as a function of depth. # possible values : integers greater than 0 and less than 30 max_tree_depth 10 # This is the minimum depth to which to render the tree. # possible values : integers greater than 0 and less than 30 min_tree_depth 4 # EQUATION DEFINITIONS (maps) # # expressions in terms of z, no spaces please # # Legal constants include: # e = 2.71828... # i = square-root of -1 # p = pi = 3.14159... # f = golden ratio = 1.618... map z*z map z*1.1*e^(0.1*i) map z*z*z map z*abs(z) map sin(z)^2 map cos(i*z/w*2*p)^2 map e^(sin(ln(z)*2*i)^2*p/(w*i)) map z/abs(sqrt((abs(z))^2-1.5)) map e^z+e^(iz) map e^z+e^(z*e^(i*p/4))eryy[y map 1/(z*e^(i*2*p/3)+1.4)+1/(z*e^(i*-2*p/3)+1.4)+1/(z+1.4) map abs(z)*e^(i*arg(z)*2)*2 map z*z*e^(i*abs(z)) map z*z*z*e^(i*abs(z)) map z*e^(i*abs(z))*abs(z)/f map acos(z*z)*asin(z*z)*e^(i*abs(z)) map acos(z*z)*asin(z*z) map f/z+i*z map (z+1)/(z-1)+(z-1)/(z+1) map (z+i)/(z-i)+(z-i)/(z+i) map z-((z^3-e^z-1)/(3*z^2-e^z)) map z-((z^3-1)/(3*z^2)) map 4*sqrt(w*w+h*h)/(2*p)*(arg(z)*exp(i*atan(h/w))+ln(abs(z))*exp(i*(p-atan(h/w)))) map 2*sqrt(w*w*4+h*h)/(2*p)*(arg(z)*exp(i*atan(h/w/2))+ln(abs(z))*exp(i*(p-atan(h/w*2))))