xaos-project / XaoS

Real-time interactive fractal zoomer
https://xaos-project.github.io/
GNU General Public License v2.0
498 stars 58 forks source link

Feature request: distance estimator method #87

Open edco opened 6 years ago

edco commented 6 years ago

The distance estimator method essentially allows for widening of very thin filaments to the width of a pixel, for high resolution display/printing, generally with a simple two-colour palette. See here for more details: http://www.nahee.com/spanky/www/fractint/dem.html

Given the particular use-case of this feature, a solution to #53 would be helpful too.

dpthurst commented 4 years ago

The link seems to be broken. What is the requested feature?

edco commented 4 years ago

The Wayback Machine has a copy, but it doesn't do much to describe the algorithm: https://web.archive.org/web/20161203234552/http://www.nahee.com/spanky/www/fractint/dem.html

There's a description of the algorithm here - http://iquilezles.org/www/articles/distancefractals/distancefractals.htm - that was comprehensive enough to allow me to implement the algorithm in Fractview.