Code Monkey home page Code Monkey logo

fractal-optim's Introduction

fractal-optim

Fractal drawings with thread optimization by Felix Hildebrandt as final thesis for C++ development in 2019.

NOTE: Commentary might appear in German.

Description

The application is able to draw 2D fractals based on the Mandelbrot set math calculation and enables to search and move within the visualization to explore the world of mathamatically generated pictures.

Each code base has a separate description, adding more features to the program.

The final version can be found within the 04-final directory.

Functionality

  • Generate 2D fractal map
  • Move around the map
  • Zoom in and out
  • Anti-Aliasing Sharpness Option
  • Increase Fractal Iterations
  • Modularly Adaptable Thread Optimization
  • Modularly Adaptable Screen Resolution

Fractal Description

The Mandelbrot set is a mathematical set of points that are generated by a particular function and can be plotted on a graph. It is named after mathematician Benoit Mandelbrot, who is credited with popularizing the concept of fractals.

Fractals are geometric shapes or patterns that are self-similar, meaning that they are made up of smaller copies of themselves. They are characterized by their intricate, repeating patterns, which are created by repeating a simple process over and over again.

The Mandelbrot set is a particular type of fractal that is generated by a function that takes a complex number as input and performs a series of mathematical operations on it. The function iteratively calculates the value of the complex number using a formula that involves adding the number back to itself and squaring the result. If the resulting value stays within a certain range, the original complex number is considered to be part of the Mandelbrot set.

Fractals are found in many natural phenomena, such as trees, rivers, and coastlines, and they have been used in various fields, including mathematics, physics, and computer science. The Mandelbrot set, in particular, has become well-known for its intricate and beautiful patterns and has been the subject of much research and study.

Showcase

Fractal Showcase 1 Fractal Showcase 1

Running the application

make
./fractal [SCREEN_WIDTH] [SCREEN_HEIGHT] [THREAD_AMOUNT]

Key Assignment

  • Movement: cursor keys
  • Zoom: page up and down keys
  • Anti-Aliasing no/off: return key
  • In-/Decrease Iterations: plus and hyphen keys
  • Quit: Q key

Tools

fractal-optim's People

Contributors

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