### (Kalles Fraktaler) Angle based colouring

• 2 Replies
• 232 Views

0 Members and 1 Guest are viewing this topic.

#### saka

• Fractal Phenom
• Posts: 45

#### Angle based colouring

« 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)

• Fractal Flamingo
• Posts: 347

#### Re: Angle based colouring

« Reply #1 on: December 08, 2019, 08:10:41 PM »
Cool

Great
Can you describe algorithm in simple words and pseudocode ?
Like for example:
https://en.wikibooks.org/wiki/Fractals/Iterations_in_the_complex_plane/stripeAC

#### saka

• Fractal Phenom
• Posts: 45

#### Re: Angle based colouring

« 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)

### Similar Topics

###### "Time Span"

Started by cricke49 on Fractal Image Gallery

0 Replies
581 Views
August 02, 2018, 07:05:21 AM
by cricke49
###### iteration based color

Started by mclarekin on Code Snippets (fragments)

2 Replies
176 Views
February 24, 2019, 02:33:32 AM
by mclarekin
###### OpenGL font rendering

Started by sjhalayka on Programming

2 Replies
179 Views
April 20, 2020, 05:00:47 PM
by sjhalayka
###### Kalles Fraktaler 2 + GMP

Started by claude on Kalles Fraktaler

232 Replies
12067 Views
September 12, 2019, 10:27:53 PM
by claude
###### Kalles Fraktaler 2.14

Started by claude on Kalles Fraktaler

246 Replies
7904 Views
Today at 05:15:19 AM
by gerrit