(Kalles Fraktaler) Angle based colouring

  • 2 Replies
  • 153 Views

0 Members and 1 Guest are viewing this topic.

Offline saka

  • *
  • Fractal Fanatic
  • ***
  • Posts: 37
« on: December 08, 2019, 11:45:03 AM »
Playing with a different method to colour the Mandelbrot using KF data.
Using the angle to the Mandelbrot to choose a colour.  (A variation on distance estimation)


(Note: I've made my After Effect plug-in available for free if you want to try it for yourself.  (but you'd need to own AE)  https://www.maths.town/after-effects-plugins/kfmoviemaker)

Linkback: https://fractalforums.org/fractal-movie-gallery/19/angle-based-colouring/3226/

Offline Adam Majewski

  • *
  • Fractal Furball
  • ***
  • Posts: 207
« Reply #1 on: December 08, 2019, 08:10:41 PM »
Cool
I see also the code.
https://github.com/adamsaka/KFMovieMaker/blob/master/KF-AE/Render-Angle.cpp

Great
Can you describe algorithm in simple words and pseudocode ?
Maybe you can made a page in wikibooks about it ?
Like for example:
https://en.wikibooks.org/wiki/Fractals/Iterations_in_the_complex_plane/stripeAC

Offline saka

  • *
  • Fractal Fanatic
  • ***
  • Posts: 37
« Reply #2 on: December 20, 2019, 02:05:36 AM »
roughly speaking the code is

For each pixel:
   x = average change in iteration count of pixels to left and right.
   y = average change in iteration count above and below.
   colourIndex = atan2(x,y)





xx
"Time Span"

Started by cricke49 on Fractal Image Gallery

0 Replies
393 Views
Last post August 02, 2018, 07:05:21 AM
by cricke49
xx
iteration based color

Started by mclarekin on Code Snippets (fragments)

2 Replies
113 Views
Last post February 24, 2019, 02:33:32 AM
by mclarekin
xx
Kalles Fraktaler 2 + GMP

Started by claude on Kalles Fraktaler

232 Replies
10115 Views
Last post September 12, 2019, 10:27:53 PM
by claude
xx
Kalles Fraktaler 2.14

Started by claude on Kalles Fraktaler

128 Replies
5217 Views
Last post January 14, 2020, 05:42:27 PM
by gerrit
xx
Kalles Fraktaler 2.13

Started by claude on Kalles Fraktaler

90 Replies
4179 Views
Last post March 20, 2019, 05:32:26 AM
by claude