Each is one line to turn on. The value in the brackets is the one a plain number (or name) sets, and every other setting goes in by name: glow(0.8, { radius: 40 }), or in Python glow(0.8, radius=40). Every effect also has amount, from 0 to 1: how much of it is mixed in.
grain
The fine speckle of film.
JavaScript
Python
grain(0.18)
grain(0.18)
Setting
In Python
Starts at
Can be
strength
strength
0.18
0 to 1
size
size
1.5
0.5 to 20
seed
seed
1
0 to 9999, a whole number
amount
amount
1
0 to 1
vignette
Dark corners, which draw the eye to the middle.
JavaScript
Python
vignette(0.6)
vignette(0.6)
Setting
In Python
Starts at
Can be
strength
strength
0.6
0 to 1
size
size
0.75
0 to 2
colour
colour
"black"
any colour
amount
amount
1
0 to 1
dust
Specks and scratches, as on old film.
JavaScript
Python
dust(0.5)
dust(0.5)
Setting
In Python
Starts at
Can be
strength
strength
0.5
0 to 1
seed
seed
1
0 to 9999, a whole number
amount
amount
1
0 to 1
lightLeaks
Warm light creeping in from the sides, as in an old camera.
JavaScript
Python
lightLeaks(0.6)
light_leaks(0.6)
Setting
In Python
Starts at
Can be
strength
strength
0.6
0 to 2
speed
speed
0.2
-5 to 5
colour
colour
"#ff7a2a"
any colour
amount
amount
1
0 to 1
rain
Rain falling in front of the picture.
JavaScript
Python
rain(0.6)
rain(0.6)
Setting
In Python
Starts at
Can be
strength
strength
0.6
0 to 2
speed
speed
1
0 to 5
angle
angle
12
-80 to 80 degrees
amount
amount
1
0 to 1
snow
Snow falling in front of the picture.
JavaScript
Python
snow(0.8)
snow(0.8)
Setting
In Python
Starts at
Can be
strength
strength
0.8
0 to 2
speed
speed
1
0 to 5
size
size
3
0.5 to 20
amount
amount
1
0 to 1
bokeh
Soft discs of coloured light drifting by: lamps out of focus.