# Automatically created
CAT Mandelbrot
  PRESET Amoeba
    red -COS(MAND()*.05)
    grn -COS2(MAND()*0.1)
    blu -COS3(MAND()*0.025)
    min -1
    max 1
    left -0.1546635491474
    top 1.0310219779327
    width .0000000000022
    height w*ph/pw
    zoom 1.4
    recurse 180*(-log10(w))
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Amoeba.mov
  ENDPRESET
  PRESET AmoebaTiger
    red ZEBRA(MAND(),32,4,0)
    grn ZEBRA(MAND(),32,4,4)
    blu ZEBRA(MAND(),32,4,8)
    min 0
    max 31
    left -0.16743627662
    top 1.04125245367
    width 3.0
    height w*ph/pw
    zoom 0.980097013
    recurse 250*(-log10(w))
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    oversample 1
    moviefile AmoebaTiger.mov
  ENDPRESET
  PRESET Amoeba2
    red -COS(MAND()*.05)
    grn -COS2(MAND()*0.1)
    blu -COS3(MAND()*0.025)
    min -1
    max 1
    left -0.16743627662
    top 1.04125245367
    width .0000000002
    height w*ph/pw
    zoom 1.4
    recurse 250*(-log10(w))
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Amoeba2.mov
  ENDPRESET
  PRESET Coral Reefs
    red -COS((n+MAND())*0.05)
    grn -COS2(MAND()*0.1)
    blu -COS3(MAND()*0.025)
    min -1
    max 1
    left 0.25188265324178507
    top 0.00013083326651398
    width .00004
    height w*ph/pw
    zoom .93
    recurse 160*(-log10(w))
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Coral Reefs.mov
  ENDPRESET
  PRESET Jason's Path
    red -COS(MAND()*.05)
    grn -COS(MAND()*.025)
    blu -COS(MAND()*.1)
    min -1
    max 1
    left -0.5509301299800098000
    top 0.5351177348798604621
    width 4
    height w*ph/pw
    zoom .95
    recurse fw*(-log10(w))
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Jason's Path.mov
  ENDPRESET
  PRESET Mandel Color
    red SIN((MAND()+170)*0.09817)
    grn SIN(MAND()*0.09817)
    blu SIN((MAND()+85)*0.09817)
    min -1
    max 1
    left -0.745429000238735
    top 0.11300800016628
    width 4
    height w*ph/pw
    zoom .93
    recurse 160*(-log10(w))
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Mandel Color.mov
  ENDPRESET
  PRESET Mandel Color Stripes
    red -COS(MAND()*3)
    grn -COS(MAND()*11)
    blu -COS(MAND()*29)
    min -1
    max 1
    left -0.746582
    top 0.107690005
    width .001
    height w*ph/pw
    zoom .93
    recurse 128*(-log10(w))
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Mandel Color Stripes.mov
  ENDPRESET
  PRESET Mandel Color2
    red -COS(MAND()*.05)
    grn -COS2(MAND()*.1)
    blu -COS3(MAND()*.025)
    min -1
    max 1
    left -0.746615089
    top 0.107702775
    width .00004
    height w*ph/pw
    zoom .96
    recurse 160*(-log10(w))
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Mandel Color2.mov
  ENDPRESET
  PRESET Mandel Cycle2
    red -COS((SQRT(MAND())+170)*.49)
    grn -COS((SQRT(MAND())+0)*.49)
    blu -COS((SQRT(MAND())+85)*.49)
    min -1
    max 1
    left .273494434911311902
    top .005937048794304621
    width 4
    height w*ph/pw
    zoom .95
    recurse 160*(-log10(w))
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Mandel Cycle2.mov
  ENDPRESET
  PRESET Mandel Zebra
    red ZEBRA(MAND(),32,4,0)
    grn ZEBRA(MAND(),32,4,4)
    blu ZEBRA(MAND(),32,4,8)
    min 0
    max 31
    left -0.745429000238735
    top 0.11300800016628
    width .00004
    height w*ph/pw
    zoom .96
    recurse 48*(-log10(w))
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Mandel Zebra.mov
  ENDPRESET
  PRESET Sauron's Eye
    red -COS(MAND()*.05)
    grn -COS2(MAND()*.1)
    blu -COS3(MAND()*.025)
    min -1
    max 1
    left 0.377256427198
    top 0.666868600956
    width .4
    height w*ph/pw
    zoom .93
    recurse 160*(-log10(w))
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Sauron's Eye.mov
  ENDPRESET
  PRESET Sea Horse
    red sqrt(MAND()/i)
    grn -COS2(MAND()*.1)
    blu -COS3(MAND()*.025)
    min 0
    max 1
    left -0.745278709469243
    top 0.112274698739540
    width .4
    height w*ph/pw
    zoom .93
    recurse 160*(-log10(w))
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Sea Horse.mov
  ENDPRESET
  PRESET Sparse Zebra
    red (MAND() MOD 7)==0
    grn (MAND() MOD 7)==0
    blu (MAND() MOD 7)==0
    min 0
    max 1
    left -0.745429000238735
    top 0.11300800016628
    width 0.00008
    height w*ph/pw
    zoom .96
    recurse 48*(-log10(w))
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    oversample 1
    moviefile Sparse Zebra.mov
  ENDPRESET
  PRESET WebWars
    red COND(MAND()==0,-1,SIN(.4188*MAND()+2.094))
    grn COND(MAND()==0,-1,SIN(.4188*MAND()-2.094))
    blu COND(MAND()==0,-1,SIN(.4188*MAND()))
    min 0
    max 1
    left -0.3884067
    top 0.5892687
    width 0.4
    height 0.4*.875
    zoom .93
    recurse 64*(-log10(w))
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile WebWars.mov
  ENDPRESET
ENDCAT
  PRESET MonaTest2
    red terp(samptile(.5+x+noise3d(x/w,y/h,sin(t*pi2)),.5+y+noise3d(x/w,y/h,sin(t*pi2))),samptile(x/pw+noise3d(x/w+.5,y/h+.5,sin(t*pi2)),y/pw+noise3d(x/w+.5,y/h+.5,sin(t*pi2))))
    grn 
    blu noise(x,y)
    min 0
    max 255
    left 0
    top 0
    width 1
    height 1
    zoom 1.061215
    recurse 64
    p0 0
    q0 0
    colormode 3
    startwidth 1.000000
    endwidth 300.000000
    framerate 12.000000
    duration 8.000000
    depth 2
    priority 1
    codec 3
    oversample 1
    seamless 1
    moviefile C:\Dev\pixmagic\release\monatest.mov
  ENDPRESET
  PRESET MonaTest
    red terp(samptile(x,y),samptile(.5+x/pw,.5+y/ph))
    grn 
    blu x+y
    min 0
    max 255
    left 0
    top 0
    width 1
    height 1
    zoom 1.153262
    recurse 64
    p0 0
    q0 0
    colormode 3
    startwidth 1.000000
    endwidth 300.000000
    framerate 10.000000
    duration 4.000000
    depth 2
    priority 1
    codec 3
    moviefile C:\Dev\pixmagic\release\monatest.mov
  ENDPRESET
CAT Julia
  PRESET Julia Twist
    red ZEBRA(JULIA(),32,4,0)
    grn ZEBRA(JULIA(),32,4,10)
    blu ZEBRA(JULIA(),32,4,20)
    min 0
    max 31
    left 0
    top 0
    width 3.5
    height w*ph/pw
    zoom 1
    recurse 512
    p0 -1+COS(n*.02094)*.25
    q0 SIN(n*.02094)*.25
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    center 1
    moviefile Julia Twist.mov
  ENDPRESET
  PRESET Julia Zoom
    red ZEBRA(JULIA(),32,4,0)
    grn ZEBRA(JULIA(),32,4,10)
    blu ZEBRA(JULIA(),32,4,20)
    min 0
    max 31
    left -0.755429
    top 0.113008
    width 4
    height w*ph/pw
    zoom .96
    recurse 400*(-log10(w))
    p0 -0.39054
    q0 0.58679
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    center 1
    moviefile Julia Zoom.mov
  ENDPRESET
ENDCAT
CAT Natural
  PRESET Clouds
    red 204/360
    grn .5 - (sin(sin(TURB(x,y)*pi/2)*pi/2)+1)*.2
    blu 0.96+(sin(sin(TURB(x,y)*pi/2)*pi/2)+1)*.02
    min 0
    max 1
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Clouds.mov
  ENDPRESET
  PRESET Clouds Moving
    red 1-y*.05
    grn -sin(sin(TURB3D(x+n/32,y,n/32)*pi/2)*pi/2)
    blu 2
    min -1
    max 2
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Clouds Moving.mov
  ENDPRESET
  PRESET Lightning
    red 1-SQRT(FABS(TURB3D(x,y,n/12)))
    grn 0
    blu 0
    min 0
    max 1
    left 0
    top 0
    width 4
    height 4
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Lightning.mov
  ENDPRESET
  PRESET Marble
    red SQRT(FABS(TURB(x,y)))
    grn 0
    blu 0
    min 0
    max 1
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Marble.mov
  ENDPRESET
  PRESET Marble - blue
    red 180
    grn 55
    blu 100+SQRT(FABS(TURB(x,y)))*200
    min 0
    max 255
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Marble - blue.mov
  ENDPRESET
  PRESET Marble - brown
    red 19
    grn 170
    blu 100+SQRT(FABS(TURB(x,y)))*200
    min 0
    max 255
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Marble - brown.mov
  ENDPRESET
  PRESET Marble - gray
    red 100+SQRT(FABS(TURB(x,y)))*200
    grn 170
    blu 
    min 0
    max 255
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Marble - gray.mov
  ENDPRESET
  PRESET Planet Clouds
    red TURB((sx+1)*4,(sy+1)*4)
    grn y
    blu x+y
    min -1
    max 1
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    oversample 1
    moviefile Planet Clouds.mov
  ENDPRESET
  PRESET TreeTrunk
    red d+TURB(x/16,y/16)*4+TURB(d,0)
    grn y
    blu x+y
    min 0
    max 3
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    oversample 1
    moviefile TreeTrunk.mov
  ENDPRESET
  PRESET Water
    red FBM(x/3,y,0,2,2,2)
    grn y
    blu x+y
    min -1
    max 1
    left 0
    top 0
    width 32
    height 32
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Water.mov
  ENDPRESET
  PRESET Waves
    red cos(x*2+n/12+turb3d(x+n/12,y,n/18)*3)
    grn y
    blu x+y
    min -1
    max 1
    left 0
    top 0
    width 2*pi
    height 2*pi
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Waves.mov
  ENDPRESET
ENDCAT
CAT Unnatural
  PRESET Bumps
    red SIN(x)*SIN(y)
    grn SIN(x+2.0943)*SIN(y+2.0943)
    blu SIN(x+4.1887)*SIN(y+4.1887)
    min -1
    max 1
    left 0
    top 0
    width 4*3.14159
    height 4*3.14159
    zoom 1.5
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Bumps.mov
  ENDPRESET
  PRESET Embedded Circles
    red COND(d<50 OR d>100,w-x,x)
    grn y
    blu x+y
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Embedded Circles.mov
  ENDPRESET
  PRESET Oil Spill
    red SIN(d+NOISE(x,y)*3)
    grn SIN(d+NOISE(x,y)*2)*.5
    blu COS2(d+NOISE(x,y))
    min -1
    max 1
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    moviefile Oil Spill.mov
  ENDPRESET
  PRESET Plaid Bits
    red SIN(((x XOR y)+170)*0.01227)
    grn SIN(((x XOR y)+0)*0.01227)
    blu SIN(((x XOR y)+85)*0.01227)
    min -1
    max 1
    left 0
    top 0
    width fw*2
    height fh*2
    zoom 1.5
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Plaid Bits.mov
  ENDPRESET
  PRESET Random Sphere
    red ?*(w/2-D)
    grn y
    blu x+y
    min 0
    max fw/2
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Random Sphere.mov
  ENDPRESET
  PRESET Sine Argyle
    red COS(x*.2)+SIN(y*.2)
    grn COS(x*.4)+SIN(y*.4)
    blu COS(x*.1)+SIN(y*.1)
    min -1
    max 1
    left 0
    top 0
    width 100
    height 100
    zoom 1.5
    recurse fw*(-log10(w))
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Sine Argyle.mov
  ENDPRESET
  PRESET Weave
    red -COND(((x XOR y) MOD 3)&1,COS(x*6.28318),COS(y*6.28318))
    grn y
    blu x+y
    min -1
    max 1
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Weave.mov
  ENDPRESET
  PRESET XOR 12-24-48
    red (x XOR y) MOD 12
    grn (x XOR y) MOD 24
    blu (x XOR y) MOD 48
    min 0
    max 15
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile XOR 12-24-48.mov
  ENDPRESET
ENDCAT
CAT Moire
  PRESET Color Moire
    red DIST(x-6,y-6)
    grn DIST(x+6,y+6)
    blu DIST(x,y)
    min 0
    max 1
    left 0
    top 0
    width 32
    height 32
    zoom .90
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    center 1
    moviefile Color Moire.mov
  ENDPRESET
  PRESET Gray Moire
    red (x**2)+(y**2)
    grn (x**2)+(y**2)
    blu (x**2)+(y**2)
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    moviefile Gray Moire.mov
  ENDPRESET
  PRESET Polar Moire
    red int((a*40.75+1)  MOD  2)
    grn y
    blu x+y
    min 0
    max 1
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Polar Moire.mov
  ENDPRESET
  PRESET Time Tunnel
    red (D & 32) > 0
    grn (D & 64) > 0
    blu (D & 16) > 0
    min 0
    max 1
    left 0
    top 0
    width fw
    height fh
    zoom 1.2
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Time Tunnel.mov
  ENDPRESET
ENDCAT
CAT Noise
  PRESET Alien Blob
    red SIN(d*.05+NOISE(x/16,y/16)*3)
    grn SIN(d*.05+NOISE(x/16,y/16)*2)*.5
    blu SIN(d*.05+NOISE(x/16,y/16))
    min -1
    max 1
    left 0
    top 0
    width 128
    height 128
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    moviefile Alien Blob.mov
  ENDPRESET
  PRESET Clouds
    red 204/360
    grn .5 - (sin(sin(TURB(x,y)*pi/2)*pi/2)+1)*.2
    blu 0.96+(sin(sin(TURB(x,y)*pi/2)*pi/2)+1)*.02
    min 0
    max 1
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Clouds.mov
  ENDPRESET
  PRESET Cloud Sphere
    red NOISE(x/32,y/32)*(w/2-D)/2
    grn (w/2-D)
    blu ((TURB(x/32,y/32)+1)/2)*(w/2-D)
    min 0
    max fw/5
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Cloud Sphere.mov
  ENDPRESET
  PRESET Color Blobs
    red SIN(d*.01+NOISE(x/16,y/16)*12)
    grn SIN(d*.01+NOISE(x/16,y/16)*10)
    blu SIN(d*.01+NOISE(x/16,y/16)*8)
    min -1
    max 1
    left 0
    top 0
    width 128
    height 128
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    moviefile Color Blobs.mov
  ENDPRESET
  PRESET Noise
    red NOISE(x,y)
    grn 0
    blu 0
    min 0
    max 1
    left 0
    top 0
    width 10
    height 10
    zoom 1.1
    recurse 512
    p0 0
    q0 0
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Noise.mov
  ENDPRESET
  PRESET Oil Spill
    red SIN(d+NOISE(x,y)*3)
    grn SIN(d+NOISE(x,y)*2)*.5
    blu COS2(d+NOISE(x,y))
    min -1
    max 1
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    moviefile Oil Spill.mov
  ENDPRESET
  PRESET Rainbow Turb
    red SIN(a+TURB(x,y)*.3)
    grn SIN(a+TURB(x,y)*.2)
    blu SIN(a+TURB(x,y)*.1)
    min -1
    max 1
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    moviefile Rainbow Turb.mov
  ENDPRESET
  PRESET Turbulence
    red TURB(x,y)
    grn 
    blu 
    min -1
    max 1
    left 0
    top 0
    width 10
    height 10
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Turbulence.mov
  ENDPRESET
ENDCAT
CAT Spirals
  PRESET Chaos Spiral
    red sin(d+a*3+turb(x,y)*(d/2))
    grn y
    blu x+y
    min -1
    max 1
    left 0
    top 0
    width 32
    height 32
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Chaos Spiral.mov
  ENDPRESET
  PRESET Checkboard Spiral
    red ((d+a)/(pi)  XOR  a*32/pi) & 1
    grn y
    blu x+y
    min 0
    max 1
    left 0
    top 0
    width fw/2
    height fh/2
    zoom .98
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    oversample 1
    moviefile Checkboard Spiral.mov
  ENDPRESET
  PRESET Log Blossom
    red log(d)*4+a
    grn log(d)*4-a-pi/2-n*.1
    blu log(d)*4+a+pi/2+n*.1
    min 0
    max pi
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    oversample 1
    moviefile Log Blossom.mov
  ENDPRESET
  PRESET Log Spiral
    red sin(log(d)*8+a)
    grn sin(log(d)*8+a-pi/2-n*.1)
    blu sin(log(d)*8+a+pi/2+n*.1)
    min -1
    max 1
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    oversample 1
    moviefile Log Spiral.mov
  ENDPRESET
  PRESET Checkboard Spiral
    red ((d+a)/(pi)  XOR  a*32/pi) & 1
    grn y
    blu x+y
    min 0
    max 1
    left 0
    top 0
    width fw/2
    height fh/2
    zoom .98
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    oversample 1
    moviefile Checkboard Spiral.mov
  ENDPRESET
  PRESET Log Starburst
    red sin(log(d)*8+a)*sin(a*8)
    grn sin(log(d)*8+a-pi/2-n*.1)*sin(a*8)
    blu sin(log(d)*8+a+pi/2+n*.1)*sin(a*8)
    min -1
    max 1
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    oversample 1
    moviefile Log Starburst.mov
  ENDPRESET
  PRESET Pinwheel
    red a*40.74+d
    grn y
    blu x+y
    min 0
    max 16
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    moviefile Pinwheel.mov
  ENDPRESET
  PRESET Rainbow Spiral
    red SIN(d+a+n*.2094)
    grn SIN(d+a+n*.2094+2.094)
    blu SIN(d+a+n*.2094+4.188)
    min -1
    max 1
    left 0
    top 0
    width 32
    height 32
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Rainbow Spiral.mov
  ENDPRESET
  PRESET Sun Burst
    red sin(a*(2**int(d))+pi/(int(d))*(n+1))
    grn 1-fabs(GNOISE(x,y,0))
    blu sqrt(fabs(GTURB(x,y)))
    min -1
    max 1
    left 0
    top 0
    width 16
    height 16
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    oversample 1
    moviefile Sun Burst.mov
  ENDPRESET
  PRESET Sun Burst Spiral
    red a*(2**int(d+a/(2*pi)))
    grn sin(a*1+0)
    blu -1
    min 0
    max 2*pi
    left 0
    top 0
    width 16
    height 16
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    oversample 1
    moviefile Sun Burst Spiral.mov
  ENDPRESET
ENDCAT
CAT Logic
  PRESET Plaid Bits
    red SIN(((x XOR y)+170)*0.01227)
    grn SIN(((x XOR y)+0)*0.01227)
    blu SIN(((x XOR y)+85)*0.01227)
    min -1
    max 1
    left 0
    top 0
    width fw*2
    height fh*2
    zoom 1.5
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Plaid Bits.mov
  ENDPRESET
  PRESET Polar Dartboard
    red (a*40.743) | D
    grn y
    blu x+y
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Polar Dartboard.mov
  ENDPRESET
  PRESET Weave
    red -COND(((x XOR y) MOD 3)&1,COS(x*6.28318),COS(y*6.28318))
    grn y
    blu x+y
    min -1
    max 1
    left 0
    top 0
    width 8
    height 8
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Weave.mov
  ENDPRESET
  PRESET XOR 12-24-48
    red (x XOR y) MOD 12
    grn (x XOR y) MOD 24
    blu (x XOR y) MOD 48
    min 0
    max 15
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile XOR 12-24-48.mov
  ENDPRESET
  PRESET XOR Movie
    red (x XOR y) MOD ((SIN(n*.20)+1)*22)
    grn (x XOR y) MOD ((SIN(n*.41)+1)*23)
    blu (x XOR y) MOD ((SIN(n*.13)+1)*24)
    min 0
    max 15
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile XOR Movie.mov
  ENDPRESET
  PRESET XOR Zoom
    red ((x XOR y) MOD 3)=0
    grn ((x XOR y) MOD 3)=0
    blu ((x XOR y) MOD 3)=0
    min 0
    max 1
    left 0
    top 0
    width fw
    height fh
    zoom 1.01
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    oversample 1
    moviefile XOR Zoom.mov
  ENDPRESET
ENDCAT
CAT Image
  PRESET Colorize
    red COND(l<128,l,255-l)
    grn COND(l<128,l,255-l)
    blu l
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Colorize.mov
  ENDPRESET
  PRESET Desaturate
    red g*.1+r*.9
    grn b*.1+g*.9
    blu r*.1+b*.9
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1.0
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Desaturate.mov
  ENDPRESET
  PRESET Distort Image
    red r[TURB(x/16,y/16)*8,TURB(x/16,y/16)*3]
    grn 
    blu 
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Distort Image.mov
  ENDPRESET
  PRESET Emboss
    red 128+L[-1,-1]-L[1,1]
    grn 
    blu 
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Emboss.mov
  ENDPRESET
  PRESET Find Edges
    red FABS(L[-1,-1]-L[1,1])
    grn 
    blu 
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Find Edges.mov
  ENDPRESET
  PRESET Harden
    red r-cos(r*0.01231996)*30
    grn g-cos(g*0.01231996)*30
    blu b-cos(b*0.01231996)*30
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Harden.mov
  ENDPRESET
  PRESET Horiz Flip
    red r[pw-x-x-1,0]
    grn g[pw-x-x-1,0]
    blu b[pw-x-x-1,0]
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Horiz Flip.mov
  ENDPRESET
  PRESET Negative
    red 255-r
    grn 255-g
    blu 255-b
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Negative.mov
  ENDPRESET
  PRESET Posterize
    red int(r/128)*128
    grn int(g/128)*128
    blu int(b/128)*128
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Posterize.mov
  ENDPRESET
  PRESET Psychadelicize
    red r
    grn g
    blu b
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 2
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Psychadelicize.mov
  ENDPRESET
  PRESET Soften
    red r+cos(r*0.01231996)*30
    grn g+cos(g*0.01231996)*30
    blu b+cos(b*0.01231996)*30
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Soften.mov
  ENDPRESET
  PRESET Solarize
    red COND(r<128,r,255-r)
    grn COND(g<128,g,255-g)
    blu COND(b<128,b,255-b)
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Solarize.mov
  ENDPRESET
  PRESET UnSphere
    red r[cx+cos(pi+pi*x/w)*sin(pi*y/h)*w/2-x,0]
    grn g[cx+cos(pi+pi*x/w)*sin(pi*y/h)*w/2-x,0]
    blu b[cx+cos(pi+pi*x/w)*sin(pi*y/h)*w/2-x,0]
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile UnSphere.mov
  ENDPRESET
ENDCAT
CAT Test
  PRESET 3-Way Gradient
    red x
    grn y
    blu x+y
    min 0
    max 1
    left 0
    top 0
    width 1
    height 1
    zoom 1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile 3-Way Gradient.mov
  ENDPRESET
  PRESET Color Bars
    red (x & 16) > 0
    grn (x & 32) > 0
    blu (x & 64) > 0
    min 0
    max 1
    left 0
    top 0
    width fw
    height fh
    zoom 1.1
    recurse 1
    colormode 1
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    moviefile Color Bars.mov
  ENDPRESET
  PRESET Default
    red x
    grn y
    blu x+y
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 1
    startwidth 1.000000
    endwidth 1.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 2
    moviefile untitled.mov
  ENDPRESET
  PRESET Graph Paper
    red 255-((x XOR (x-1))|(y XOR (y-1)))
    grn y
    blu x+y
    min 0
    max 255
    left 0
    top 0
    width fw
    height fh
    zoom 1
    recurse 1
    colormode 0
    startwidth 0.000000
    endwidth 0.000000
    framerate 10.000000
    duration 1.000000
    depth 2
    priority 1
    codec 3
    wrap 1
    moviefile Graph Paper.mov
  ENDPRESET
ENDCAT
