LegalizeAdulthood / iterated-dynamics

Iterated Dynamics is an open source fractal generator with support for many fractal types.
https://legalizeadulthood.github.io/iterated-dynamics/
GNU General Public License v3.0
21 stars 8 forks source link

Formulas using fn1(x*x) #20

Open LegalizeAdulthood opened 9 years ago

LegalizeAdulthood commented 9 years ago

Simon_Snake[CodePlex]
In the formula parser, using fn1(xx) and setting the function to ident gives different results on the dos fractint compared to beta 5. It is as if the parser is treating the parameter as just x, not xx.

This can be demonstrated here:

http://www.fractalforums.com/index.php?topic=11980.0

LegalizeAdulthood commented 2 months ago

These two formulas should render identically, but they don't.

simon0063-A {
  ; Trying to figure out ident
  ;
  z = p = pixel:
  z = fn1(z * z) + p
  |z| < 4
}

simon0063-B {
  ; Trying to figure out ident
  ;
  z = p = pixel:
  t = z * z
  z = fn1(t) + p
  |z| < 4
}

With fn1=ident it should render standard M-set

LegalizeAdulthood commented 2 months ago

I suspect this is another bug/difference between the C parser and the assembly language parser.