Welcome to Fractal Forums

Fractal Software => FractInt Gallery => Topic started by: simon.snake on January 30, 2015, 09:54:18 PM




Title: Wave Distortion
Post by: simon.snake on January 30, 2015, 09:54:18 PM
Wave Distortion

(http://nocache-nocookies.digitalgott.com/gallery/16/6528_30_01_15_9_54_18.gif)

http://www.fractalforums.com/index.php?action=gallery;sa=view;id=16961

The following FractInt formula:

Code:

simon0156-C {
  p = pixel
  x = (real(p) + 2) * 2.25
  y = 10 - ((imag(p) + 1.5) * 3)
  t = fn1(y)*(fn2(x))
  u = fn3(y)*(fn4(x))
  z = flip(u) + t
  c = 0:
  if (c == 0)
    z = z * z + p
    if (|z|>4)
      z = |z| ; * 10
      c = 1
    endif
  else
    t = t - 1
    u = u - 1
    z = z - 1
    if (t + u + z < -10)
      c = 2
    endif
  endif
  ; bailout once t + u are zero
  c < 2
}


When run with the four functions set as:

Code:
fn1 = cotan
fn2 = sqrt
fn3 = cos
fn4 = sin


Produces the picture shown.

Playing about with different combinations of functions produces very varied results.  I will attach further images on the FractInt discussion forum associated with the gallery.