Coder Social home page Coder Social logo

mandelbrotzoom's Introduction

Binder

MandelbrotZoom

Simple python app to explore the mandelbrot set

Getting started

Clone this repository by downloading and extracting the zip or by running

git clone https://github.com/DanielDondorp/MandelbrotZoom.git

Go into the directory and install the dependencies. I recommend installing into a virtual environment.

cd MandelbrotZoom
pip install -r requirements.txt

Run the program:

python Mandelbrot_Zoom_app.py

Controls:

  • arrow keys for panning
  • enter to zoom in
  • backspace to zoom out
  • page up and page down to change resolution *
  • a and z to change colormap
  • d to save the current view as png
  • double-click on a region to zoom specifically there

* this changes how many iterations are calculated to create the image.

example1 example2 example3

Notebooks

The notebooks in this repository offer implementations of this program that run in a jupyter notebook. Mandelbrot_notebook.ipynb offers control of colormaps, iterations and resolution using ipywidgets. The controls are slightly different but pretty intuitive. Zoom in and out with left and right clicks, and do the rest with widgets.

mandelbrotzoom's People

Contributors

danieldondorp avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.