Giter Club home page Giter Club logo

benoit's Introduction

What Is It?

Benoit is a Java application that renders the Mandelbrot Set to the screen. It has the capability to use arbitrary precision in its numeric calculations.

Features

History

Benoit supports a history of visited regions of the set. That is, as you visit regions of the set, the boundaries are saved in the order they were viewed. You can visit old regions using the left arrow button in the toolbar. To see the more recent regions, use the right arrow button.

Image Caching

Benoit attempts to cache the rendered images in a memory sensitive manner. That is, if there is sufficient free memory, the images will be cached indefinitely. Under low-memory conditions, some or all of the cached images may be freed. Thus revisiting past regions of the set (using the Back button), may result in the image being rendered again, while other times it may appear immediately.

Precision

Benoit allows performing the calculations using arbitrary numeric precision. It supports both double and BigDecimal precision. By default it uses doubles, which are less precise but very fast. The BigDecimal type is an object that represents a real number without any loss of precision. The default scale of the BigDecimal is 30 digits. If you want more digits, you must use the "Set Scale" menu item in the "Options" menu.

You will notice that BigDecimals are incredibly slow compared to doubles. For this reason, the rendering algorithm is significantly different than the one used when the calculations are performed with doubles. This is to allow a rough representation of the region to appear initially, which is continually refined in subsequent passes.

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.