Git Product home page Git Product logo

liten-fraktaler's Introduction

Liten fraktaler

A fractal rendering software, written in C++, inspired by a much more popular program called Kalles Fraktaler

Compiling on Linux with cmake and gcc

  • Clone this repository
  • cd into the repository where the CMakeLists.txt is located
  • cmake -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release -B./build
  • cmake --build ./build/ --config Release --target all

You should now have an executable in the build folder called liten-fraktaler.

Usage

The help is available by launching the program with the -H or the --help flag, like this:
./liten-fraktaler --help.

Automation

This program has been thought to be easily integrated with other programs.
An example is the bash script called zoom.sh, which repeatedly runs liten_fraktaler at different levels of zoom to generate a zoom in sequence to a Minibrot in the Mandelbrot set located at -1.992561950824231 + 0i. This script requires bc to work; it can be easily modified to work with other fractals and do other types of zoom/pan sequences.

To do

Still a lot of stuff, there are some sparse TODOs in the source code (and some personal notes in the notes file), but the doable ones are summarized here:

  • fix smooth coloring
  • solid guessing
  • supersampling
  • add flag to automatically set the number of iterations based on the specified zoom
  • Pickover stalks
  • allow image segmentation, i.e. subdivide big images that wouldn't fit in RAM, into multiple smaller images, compute each of the individually, and save them on disk
  • hybrid fractals
  • reorganize and refactor
  • [...]

liten-fraktaler's People

Contributors

git-gabri avatar

Stargazers

Richard Thomson 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.