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.
edges
Only the outlines, each in its own colour.
JavaScript
Python
edges(2)
edges(2)
Setting
In Python
Starts at
Can be
strength
strength
2
0 to 10
size
size
1.5
0.5 to 20
fill
fill
0
0 to 1
amount
amount
1
0 to 1
dots
Printed in dots, big where the picture is bright, as a comic or a newspaper is.
JavaScript
Python
dots(9)
dots(9)
Also called halftone.
Setting
In Python
Starts at
Can be
size
size
9
2 to 100
angle
angle
25
-360 to 360 degrees
paper
paper
"black"
any colour
amount
amount
1
0 to 1
emboss
Pressed into grey metal: only the bumps and hollows show.
JavaScript
Python
emboss(2)
emboss(2)
Setting
In Python
Starts at
Can be
strength
strength
2
0 to 10
angle
angle
135
-360 to 360 degrees
size
size
1.5
0.5 to 20
amount
amount
1
0 to 1
sharpen
Crisper edges.
JavaScript
Python
sharpen(1)
sharpen(1)
Setting
In Python
Starts at
Can be
strength
strength
1
0 to 5
size
size
1
0.5 to 10
amount
amount
1
0 to 1
sketch
A pencil drawing on paper.
JavaScript
Python
sketch(3)
sketch(3)
Setting
In Python
Starts at
Can be
strength
strength
3
0 to 10
size
size
1.2
0.5 to 20
paper
paper
"#f4efe2"
any colour
colour
colour
"#2a2a33"
any colour
amount
amount
1
0 to 1
cartoon
Flat colours and black outlines.
JavaScript
Python
cartoon(4)
cartoon(4)
Setting
In Python
Starts at
Can be
levels
levels
4
2 to 12, a whole number
strength
strength
2.5
0 to 10
size
size
1.5
0.5 to 20
amount
amount
1
0 to 1
stainedGlass
Pieces of coloured glass with dark lead between them.
JavaScript
Python
stainedGlass(40)
stained_glass(40)
Setting
In Python
Starts at
Can be
size
size
40
8 to 400
colour
colour
"#101010"
any colour
amount
amount
1
0 to 1
crosshatch
Shaded with crossing pen lines: more lines where it is darker.
JavaScript
Python
crosshatch(6)
crosshatch(6)
Setting
In Python
Starts at
Can be
size
size
6
2 to 60
colour
colour
"#1a1a22"
any colour
paper
paper
"#f6f2e8"
any colour
amount
amount
1
0 to 1
oil
Smoothed into patches of colour, like oil paint. Heavy: it looks at 36 places for every pixel.
JavaScript
Python
oil(4)
oil(4)
Heavy. It looks at dozens of places for every pixel: use it alone, or at a lower effectsQuality.