(Question) Distance estimator

  • 0 Replies
  • 143 Views

0 Members and 1 Guest are viewing this topic.

Offline gerrit

  • *
  • 3f
  • ******
  • Posts: 1830
« on: May 14, 2018, 11:18:59 PM »
In noticed the standard DE method for Mandelbrot set is wrong: it erroneously updates dz after z.
I thought it was easy to fix, just save old value of z in ufm file and use that in the DE formula.
So in the ufm file:
loop:
  zo = z
  z = z^@power + #pixel
and in the ucl file:
loop:
  dz = @power * zo^(@power-1) * dz + 1

But it seems the coloring code does not see the zo value, how can I make the variable zo in the ufm file visible in the ucl file?
There is nothing about scope in the docs.



Linkback: https://fractalforums.org/ultrafractal/59/distance-estimator/1331/


xx
"Time Span"

Started by cricke49 on Fractal Image Gallery

0 Replies
336 Views
Last post August 02, 2018, 07:05:21 AM
by cricke49
question
What is wrong with my amazing surf distance estimator?

Started by NLIBS on Programming

4 Replies
237 Views
Last post June 12, 2019, 10:02:02 AM
by NLIBS
xx
Birdie Style

Started by gannjondal on Fractal Image Gallery

1 Replies
407 Views
Last post May 08, 2018, 02:39:37 PM
by who8mypnuts
clip
Neural Style Transfer with Fractal Art

Started by reallybigname on Other Artforms

1 Replies
170 Views
Last post July 20, 2019, 04:25:41 PM
by reallybigname
xx
Buddhabrot-style Burning Ship [65536x24576]

Started by programagor on Fractal Image Gallery

12 Replies
669 Views
Last post October 10, 2018, 02:12:39 AM
by 3DickUlus