On this page:
9.24.1 Parameters
9.24.2 Examples
9.24.2.1 Old movie lines example

9.24 OldMovieLines

Simulates scratches on old film by rendering randomly animating lines on to the scene.

9.24.1 Parameters

 

Parameters

 

Default

 

Range    

 

Description

 

NumLines

 

50

 

> 0

 

The number of lines present at any give time

 

 

 

 

 

Alpha

 

1.0

 

[0.0,1.0]

 

The transparency of the lines

 

 

 

 

 

Red

 

1.0

 

[0.0,1.0]

 

The red component of the color of the lines

 

 

 

 

 

Green

 

1.0

 

[0.0,1.0]

 

The green component of the color of the lines

 

 

 

 

 

Blue

 

1.0

 

[0.0,1.0]

 

The blue component of the color of the lines

 

 

 

 

 

LineGaps

 

100

 

> 0

 

The number of gaps in each individual line. This is what creates the empty spaces in the lines

 

 

 

 

 

LineDuration

 

1.0

 

> 0

 

The duration measured in seconds of the lines

 

 

 

 

 

LineDistance

 

0.2

 

[0.0, 1.0]

 

The total distance that the lines will cover during their lifespan. This value is normalized between 0.0 to 1.0. 0.0 means the lines don’t move. 1.0 means the lines will cover the distance of the video width during its lifespan.

Input pattern: ()

9.24.2 Examples
9.24.2.1 Old movie lines example
; muSE v2
; 
;  My super awesome style.
;  This style adds vertical dotted lines on the input media.
 
(style-parameters)
 
(segment-durations 8.0)
 
(define muvee-global-effect
  (effect-stack (effect "Perspective" (A))
                (effect "CropMedia" (A))))
 
(define muvee-segment-effect
  (layers (A)
           A
          (effect "OldMovieLines" ()
                  (param "NumLines" 5)
                  (param "Red"   0.0)
                  (param "Blue"  0.0)
                  (param "Green" 0.0)
                  (param "Alpha" 0.5))))

Because this effect has no inputs, it has to be placed in a layers.