Giter VIP home page Giter VIP logo

Comments (5)

solendil avatar solendil commented on August 21, 2024

I tried Pauldebrot's multiwave coloring : http://www.fractalforums.com/images-showcase-%28rate-my-fractal%29/mandelbrot-safari/
But although it gives spectacular results when adjusted for a given zoom or picture, a single palette cannot fit the entire set (for example a zoom in elephant valley and one in scepters valley require different parameters and logarithm strength).
I shall test histograms methods.

from fractaljs.

methusalah avatar methusalah commented on August 21, 2024

Pauldebrot's multiwave coloring is awsome ! Will you include it in FractalJX, cohabiting with other colorings?

from fractaljs.

solendil avatar solendil commented on August 21, 2024

Pauldebrot's algorithm has 47 different config variables (!) while one of the goals of FractalJS is to remain dead simple (3 coloring variables for the moment: palette, offset, density). I will include Pauldebrot's algorithm (or a variation thereof) only if I manage to reduce its configuration to a handful of simple variables. Thus the problem is more a UX problem than a coding one (as often)...

from fractaljs.

solendil avatar solendil commented on August 21, 2024

TODO in V3. I tried two approaches so far:

  • using the sqrt of iterations count is better (but will invalidate current bookmarks, unless opt-in through a variable)
  • adjust palette on redraw (not comfortable to use...)

Will try to have something soon...

from fractaljs.

solendil avatar solendil commented on August 21, 2024

Done at last.

I spent a few days toying with Pauldebrot Multiwave. Results of these experiments are in branch pauldebrot-tests. The algorithm is quick enough to run realtime, but it is definitely very tricky to find nice palettes with it. Especially palettes that give good results in FractalJS. It is more amenable to very deep zooms.

So using a simple transfer function sqrt(iter) is the simplest solution that gives good result in 90% of cases. For extreme cases, the slider is always there.

The change is hidden: current bookmarks work with the old transfer function (linear), and the new transfer function (sqrt) is automatically activated upon choosing a new palette. There's no way to go back to the old transfer function when selected.

from fractaljs.

Related Issues (20)

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.