|
12 | 12 | "mandelbar": (-2.0, 1.0, -1.0, 1.0), |
13 | 13 | "phoenix_fractal": (-2.0, 1.0, -1.0, 1.0), |
14 | 14 | "lambda_fractal": (-2.0, 1.0, -1.0, 1.0), |
| 15 | + "buffalo_fractal": (-2.0, 1.5, -2.0, 1.0), |
15 | 16 | "burning_ship": (-2.0, 1.5, -2.0, 1.0), |
16 | 17 | "newton_fractal": (-2.0, 2.0, -2.0, 2.0) |
17 | 18 | } |
|
23 | 24 | "Snowflake": (-0.8, 0.156) |
24 | 25 | } |
25 | 26 |
|
26 | | -iter_fractals = ["mandelbrot", "mandelbar", "phoenix_fractal", "lambda_fractal", "julia", "burning_ship", "newton_fractal"] |
| 27 | +iter_fractals = ["mandelbrot", "mandelbar", "phoenix_fractal", "lambda_fractal", "julia", "burning_ship", "buffalo_fractal", "newton_fractal"] |
27 | 28 |
|
28 | 29 | button_style = {'normal': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK), 'hover': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK), |
29 | 30 | 'press': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK), 'disabled': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK)} |
|
53 | 54 | "Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "mandelbar_zoom_increase", "default": 2}, |
54 | 55 | "Max Iterations": {"type": "slider", "min": 100, "max": 10000, "config_key": "mandelbar_max_iter", "default": 200, "step": 100} |
55 | 56 | }, |
| 57 | + "Burning Ship": { |
| 58 | + "Float Precision": {"type": "option", "options": ["Single", "Double"], "config_key": "burning_ship_precision", "default": "Single"}, |
| 59 | + "Escape Radius": {"type": "slider", "min": 1, "max": 10, "config_key": "burning_ship_escape_radius", "default": 2, "step": 0.1}, |
| 60 | + "Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "burning_ship_zoom_increase", "default": 2}, |
| 61 | + "Max Iterations": {"type": "slider", "min": 100, "max": 10000, "config_key": "burning_ship_max_iter", "default": 200, "step": 100} |
| 62 | + }, |
| 63 | + "Buffalo Fractal": { |
| 64 | + "Float Precision": {"type": "option", "options": ["Single", "Double"], "config_key": "buffalo_fractal_precision", "default": "Single"}, |
| 65 | + "N": {"type": "slider", "min": 1, "max": 10, "config_key": "buffalo_fractal_n", "default": 2, "step": 1}, |
| 66 | + "Escape Radius": {"type": "slider", "min": 1, "max": 10, "config_key": "buffalo_fractal_escape_radius", "default": 2, "step": 0.1}, |
| 67 | + "Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "buffalo_fractal_zoom_increase", "default": 2}, |
| 68 | + "Max Iterations": {"type": "slider", "min": 100, "max": 10000, "config_key": "buffalo_fractal_max_iter", "default": 200, "step": 100} |
| 69 | + }, |
56 | 70 | "Phoenix Fractal": { |
57 | 71 | "Float Precision": {"type": "option", "options": ["Single", "Double"], "config_key": "phoenix_fractal_precision", "default": "Single"}, |
58 | 72 | "Escape Radius": {"type": "slider", "min": 1, "max": 10, "config_key": "phoenix_fractal_escape_radius", "default": 2, "step": 0.1}, |
|
65 | 79 | "Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "phoenix_fractal_zoom_increase", "default": 2}, |
66 | 80 | "Max Iterations": {"type": "slider", "min": 100, "max": 10000, "config_key": "phoenix_fractal_max_iter", "default": 200, "step": 100} |
67 | 81 | }, |
68 | | - "Burning Ship": { |
69 | | - "Float Precision": {"type": "option", "options": ["Single", "Double"], "config_key": "burning_ship_precision", "default": "Single"}, |
70 | | - "Escape Radius": {"type": "slider", "min": 1, "max": 10, "config_key": "burning_ship_escape_radius", "default": 2, "step": 0.1}, |
71 | | - "Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "burning_ship_zoom_increase", "default": 2}, |
72 | | - "Max Iterations": {"type": "slider", "min": 100, "max": 10000, "config_key": "burning_ship_max_iter", "default": 200, "step": 100} |
73 | | - }, |
74 | 82 | "Sierpinsky Carpet": { |
75 | 83 | "Float Precision": {"type": "option", "options": ["Single", "Double"], "config_key": "sierpinsky_precision", "default": "Single"}, |
76 | 84 | "Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "sierpinsky_zoom_increase", "default": 2}, |
|
0 commit comments