Update screenshot in readme
This commit is contained in:
parent
361aa988bc
commit
f0b9eaa0c3
|
@ -1,7 +1,7 @@
|
||||||
# Mandelbrot
|
# Mandelbrot
|
||||||
A simple python script that draws an interactive mandelbrot set in the terminal
|
A simple python script that draws an interactive mandelbrot set in the terminal
|
||||||
|
|
||||||
![Mandelbrot](https://i.imgur.com/OfKPse8.png)
|
![Mandelbrot](https://i.imgur.com/shZLyxK.png)
|
||||||
|
|
||||||
## Keybindings
|
## Keybindings
|
||||||
- Arrow keys - Move around
|
- Arrow keys - Move around
|
||||||
|
|
|
@ -87,7 +87,7 @@ def handle_keyboard(char):
|
||||||
global MONOCHROME
|
global MONOCHROME
|
||||||
global COLOR_COUNT
|
global COLOR_COUNT
|
||||||
|
|
||||||
if char == 113:
|
if char == 113: # Quit
|
||||||
return True
|
return True
|
||||||
elif char == 258: # Down
|
elif char == 258: # Down
|
||||||
Y_MID += Y_SCALE * (1 / (2 ** (ZOOM_LEVEL + 1)))
|
Y_MID += Y_SCALE * (1 / (2 ** (ZOOM_LEVEL + 1)))
|
||||||
|
|
Loading…
Reference in New Issue