Welcome to Fractal Forums

Fractal Art => Animation => Topic started by: Pauldelbrot on May 17, 2012, 03:09:02 AM




Title: FractalForums Swimmingly
Post by: Pauldelbrot on May 17, 2012, 03:09:02 AM
FractalForums Swimmingly

(http://nocache-nocookies.digitalgott.com/gallery/11/511_17_05_12_3_08_49.gif)

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

16-color animated GIF FF banner that seems to swim.

There's a 256-color version that looks better but is 2 megabytes in size:

(http://i1248.photobucket.com/albums/hh496/Paul_Derbyshire/Miscellaneous/banner_julia_morph_anim.gif)

It's a parameter morph. Each frame is a Matchmaker Julia set image where the Julia set is the whole complex plane; structure can be made visible using orbit traps. Here the trap is in the shape of words. :) In the animation, the Julia seed goes in a circle. The shifting between "FractalForums.com" and "The Possibilities Are Infinite" was accomplished by crossfading between two animations that differ only by which phrase is used to generate the trap. I set the gif generator up so it would pause briefly on each of the two frames that are entirely one phrase.

Because I think most of you are using UF, here's a UF coloring that can be used with UF5 to use a black-on-white image as an orbit trap. Black pixels in the image will be treated as trap points and white pixels not. The other parameters position and scale the trap. For inside coloring convergent fractals, try to position the trap on/near an attractor for best results. For Matchmaker Julias that are the whole complex plane, the default works well.

Code:
ImageTrap {
global:
  Image img = new @img
init:
  int i = 0
  bool done = false
loop:
  IF (!done)
    i = i + 1
    color c = img.getColor((#z - @ctr)/@size)
    done = (alpha(c) > 0.1 && lum(c) < 0.9)
  ENDIF
final:
  #index = 0.01*i
default:
  title = "Image Trap"
  Image param img
    caption = "Image"
    hint = "Trap shape is determined by non-100%-transparent, non-white pixels of image."
  endparam
  param ctr
    caption = "Center"
    hint = "Trap will be centered on these coordinates."
    default = (0,0)
  endparam
  param size
    caption = "Size"
    hint = "Trap size. The trap image is scaled to fit inside a square extending this far in all directions from the chosen center point."
    default = 0.1
  endparam
}