mirror of
https://github.com/csd4ni3l/fractal-viewer.git
synced 2026-01-01 04:13:41 +01:00
Rename to Fractal Viewer, add Sierpinsky Carpet, use arcade 3.2.0
instead of development
This commit is contained in:
@@ -27,9 +27,13 @@ slider_style = {'normal': slider_default_style, 'hover': slider_hover_style, 'pr
|
||||
|
||||
settings = {
|
||||
"Mandelbrot": {
|
||||
"Float Precision": {"type": "option", "options": ["Single", "Double"], "config_key": "precision", "default": "Single"},
|
||||
"Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "zoom_increase", "default": 2},
|
||||
"Max Iterations": {"type": "slider", "min": 100, "max": 10000, "config_key": "max_iter", "default": 200}
|
||||
"Float Precision": {"type": "option", "options": ["Single", "Double"], "config_key": "mandelbrot_precision", "default": "Single"},
|
||||
"Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "mandelbrot_zoom_increase", "default": 2},
|
||||
"Max Iterations": {"type": "slider", "min": 100, "max": 10000, "config_key": "mandelbrot_max_iter", "default": 200}
|
||||
},
|
||||
"Sierpinsky Carpet": {
|
||||
"Zoom Increase Per Click": {"type": "slider", "min": 2, "max": 100, "config_key": "sierpinsky_zoom_increase", "default": 2},
|
||||
"Depth": {"type": "slider", "min": 2, "max": 10000, "config_key": "sierpinsky_depth", "default": 10}
|
||||
},
|
||||
"Graphics": {
|
||||
"Window Mode": {"type": "option", "options": ["Windowed", "Fullscreen", "Borderless"], "config_key": "window_mode", "default": "Windowed"},
|
||||
|
||||
@@ -52,7 +52,7 @@ class ErrorView(arcade.gui.UIView):
|
||||
def on_show_view(self):
|
||||
super().on_show_view()
|
||||
|
||||
self.window.set_caption('Mandelbrot Viewer - Error')
|
||||
self.window.set_caption('Fractal Viewer - Error')
|
||||
self.window.set_mouse_visible(True)
|
||||
self.window.set_exclusive_mouse(False)
|
||||
arcade.set_background_color(menu_background_color)
|
||||
|
||||
Reference in New Issue
Block a user