Giter Site home page Giter Site logo

mandelbrotset's Introduction

Mandelbrot Set

Interactive visualisation of the Mandelbrot set.

The Mandelbrot set is the set of complex numbers C for which the function f(z) = z**2 + c, starting with z = 0, does not diverge.

Note that to be in the set, an infinite amount of interactions is required for each point, therefore a maxIters is set and if the sequence does not diverge within that limit, interaction stops. Hence small value of interaction means that the point diverged quickly. The more iteractions, be longer it took to diverge. Points that reached maxIters interactions did not diverge.

The image represents a complex plane and the color space is calculated from the number of iterations for each point, from red to violet as that number increases and black if maxIters is reached.

Use

Drag the mouse to draw a rectangle. The selected region is zommed in upon release the mouse.

Note that the calculation of a frame can take some time. Progress can be seem by the queue size.

Keys

  • up increase maxiters by a factor of 2
  • down decrease maxiters by a factor of 4
  • b back to previous zoom level
  • r force repaint (obsolete)

TODO

  • Improve color map

  • Increase precision

  • Optional input of numThreads. For now hard coded to 64.

  • Optional input of resolution. For now hard coded to 1920 x 1080 pixels.

Interface

Download

Get the JAR file under Actions

Project Status

Java CI with Maven

mandelbrotset's People

Contributors

haphaeu avatar

Watchers

 avatar  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.