Giter Site home page Giter Site logo

mandelbrot-python's Introduction

Mandelbrot Image Renderer

Mandelbrot Image Renderer

Installation

To install the latest version just type $ pip install git+https://github.com/atheridis/mandelbrot-python.git in your terminal. The program has a bunch of different options, type $ mandelbrot --help to see all of the options.

You may also clone this repository and install it from there.

$ git clone https://github.com/atheridis/mandelbrot-python.git
$ cd mandelbrot-python
$ pip install .

How to use

Just by typing $ mandelbrot will create an 1080p image of the mandelbrot set inside the directory you are currently in. You also have a number of options to choose from.

  • $ mandelbrot -r 1440 will make the image have a width of 1440 pixels.
  • $ mandelbrot --scale 1 will make the image a square. The default is 16/9
  • $ mandelbrot -s 100 The depth which each point will check wether it is in the set or not.
  • $ mandelbrot -c -0.745428 0.113009 -l 0.0001 Will center at x=-0.745428 y=0.113009, with the x axis having a total length of 0.0001
  • $ mandelbrot -r 480 -v -f 350 -z 0.9 Will produce a video of resolution 480p, containing 350 frames (at 24fps) and each frame will reduce the x axis length to 0.9 times the previous. Since this code is running on Python, it is quite slow. A lower quality video is advised.

OLD PROJECT

This is one of many of my older projects which I have decided to turn it into a package and upload it to github.

mandelbrot-python's People

Contributors

yorugo avatar atheridis avatar

Watchers

 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.