On this page:
9.23.1 Parameters
9.23.2 Examples
9.23.2.1 Moving Polygons example

9.23 MovingPolygons

A custom effect used in the Reflections style. It renders random animating shapes on a plane. Refer to the screen shot below.

9.23.1 Parameters

 

Parameters

 

Default

 

Range    

 

Description

 

PolygonType

 

0

 

{0,1,2,3}

 

  • 0: Circle shape

  • 1: Square shape

  • 2: Double-triangle shape

  • 3: Star shape

 

 

 

 

 

PolygonNum

 

10

 

> 0

 

The total number of polygons at any given type

 

 

 

 

 

PolygonLength

 

0.1

 

> 0.0

 

The length of the polygon. For circles, it means radius. For squares and stars, it means the length of one side. This value is normalized with respect to the width of the screen

 

 

 

 

 

PolygonRed

 

1.0

 

[0.0,1.0]

 

The value of the red component of our shape.

 

 

 

 

 

PolygonGreen

 

1.0

 

[0.0,1.0]

 

The value of the blue component of our shape.

 

 

 

 

 

PolygonBlue

 

1.0

 

[0.0,1.0]

 

The value of the green component of our shape.

 

 

 

 

 

Accelerator

 

1.0

 

> 0.0

 

A constant that is multiplied to the speed of our polygon.

 

 

 

 

 

Transparency

 

0.5

 

[0.0,1.0]

 

The transparency of our shapes

Input pattern: (A)

9.23.2 Examples
9.23.2.1 MovingPolygons example
; muSE v2
; 
;  My not-so-awesome style.
;  This style adds moving shapes at the base of our picture
 
(style-parameters)
 
(segment-durations 8.0)
 
(define muvee-global-effect
  (effect-stack (effect "Perspective" (A))
                (effect "CropMedia" (A))
                (effect "Translate" (A)
                        (param "z" -1.0))))
 
(define muvee-segment-effect (layers (A)
                                     A
                                     (effect "MovingPolygons" ())))