(Kalles Fraktaler) Angle based colouring

  • 2 Replies
  • 201 Views

0 Members and 1 Guest are viewing this topic.

Offline saka

  • *
  • Fractal Phenom
  • ****
  • Posts: 44
« 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: 288
« 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 Phenom
  • ****
  • Posts: 44
« 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
510 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
155 Views
Last post February 24, 2019, 02:33:32 AM
by mclarekin
xx
OpenGL font rendering

Started by sjhalayka on Programming

2 Replies
127 Views
Last post April 20, 2020, 05:00:47 PM
by sjhalayka
xx
Kalles Fraktaler 2 + GMP

Started by claude on Kalles Fraktaler

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

Started by claude on Kalles Fraktaler

222 Replies
7062 Views
Last post June 04, 2020, 07:17:25 PM
by FractalAlex