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.
kaleidoscope
One slice of the picture, folded round and round. The slice starts at the middle and points right: turn it with angle.
JavaScript
Python
kaleidoscope(8)
kaleidoscope(8)
Setting
In Python
Starts at
Can be
segments
segments
8
2 to 32, a whole number
angle
angle
0
-360 to 360 degrees
zoom
zoom
1
0.2 to 5
x
x
the middle
a place in the scene
y
y
the middle
a place in the scene
amount
amount
1
0 to 1
mirror
One half of the picture shown on both sides, or one quarter in all four.
JavaScript
Python
mirror("left")
mirror("left")
Setting
In Python
Starts at
Can be
side
side
"left"
"left", "right", "top", "bottom", "four"
amount
amount
1
0 to 1
pixelate
Big square pixels.
JavaScript
Python
pixelate(10)
pixelate(10)
Setting
In Python
Starts at
Can be
size
size
10
1 to 100
amount
amount
1
0 to 1
waves
The picture ripples like a flag in the wind.
JavaScript
Python
waves(12)
waves(12)
Setting
In Python
Starts at
Can be
size
size
12
0 to 100
length
length
160
10 to 1000
speed
speed
0.5
-5 to 5
amount
amount
1
0 to 1
ripple
Rings spreading from a point, as from a stone dropped in water.
JavaScript
Python
ripple(8)
ripple(8)
Setting
In Python
Starts at
Can be
size
size
8
0 to 100
length
length
60
10 to 1000
speed
speed
1
-5 to 5
x
x
the middle
a place in the scene
y
y
the middle
a place in the scene
amount
amount
1
0 to 1
wobble
The picture wobbles like jelly, or something seen under water.
JavaScript
Python
wobble(14)
wobble(14)
Setting
In Python
Starts at
Can be
size
size
14
0 to 100
scale
scale
120
10 to 1000
speed
speed
0.4
-5 to 5
amount
amount
1
0 to 1
swirl
The middle of the picture twisted round, like stirred paint.
JavaScript
Python
swirl(180)
swirl(180)
Setting
In Python
Starts at
Can be
angle
angle
180
-1440 to 1440 degrees
radius
radius
0
0 to 2000
x
x
the middle
a place in the scene
y
y
the middle
a place in the scene
amount
amount
1
0 to 1
fisheye
A bulge, as through a round lens. Below zero it pinches instead.
JavaScript
Python
fisheye(0.5)
fisheye(0.5)
Also called bulge.
Setting
In Python
Starts at
Can be
strength
strength
0.5
-1 to 1
radius
radius
0
0 to 2000
x
x
the middle
a place in the scene
y
y
the middle
a place in the scene
amount
amount
1
0 to 1
tunnel
The picture becomes the walls of a tunnel you are flying down.
JavaScript
Python
tunnel(0.4)
tunnel(0.4)
Setting
In Python
Starts at
Can be
speed
speed
0.4
-5 to 5
repeat
repeat
2
1 to 12, a whole number
depth
depth
0.5
0.05 to 4
x
x
the middle
a place in the scene
y
y
the middle
a place in the scene
amount
amount
1
0 to 1
tile
The picture repeated in rows and columns.
JavaScript
Python
tile(3)
tile(3)
Setting
In Python
Starts at
Can be
across
across
3
1 to 40, a whole number
down
down
0
0 to 40, a whole number
flip
flip
false
true or false (True, False)
amount
amount
1
0 to 1
droste
The picture inside itself, smaller each time, for ever. With a twist it winds in as a spiral.
JavaScript
Python
droste(3)
droste(3)
Setting
In Python
Starts at
Can be
zoom
zoom
3
1.2 to 10
twist
twist
1
0 to 4, a whole number
speed
speed
0.3
-5 to 5
x
x
the middle
a place in the scene
y
y
the middle
a place in the scene
amount
amount
1
0 to 1
rotozoom
The picture tiled, turning and zooming: an old demo-scene favourite.
JavaScript
Python
rotozoom(0.5)
rotozoom(0.5)
Setting
In Python
Starts at
Can be
speed
speed
0.5
-5 to 5
zoom
zoom
1.5
0.2 to 8
amount
amount
1
0 to 1
hexagons
Six-sided pixels, like a honeycomb.
JavaScript
Python
hexagons(14)
hexagons(14)
Setting
In Python
Starts at
Can be
size
size
14
3 to 100
amount
amount
1
0 to 1
glassTiles
Seen through a wall of glass blocks.
JavaScript
Python
glassTiles(40)
glass_tiles(40)
Setting
In Python
Starts at
Can be
size
size
40
6 to 300
strength
strength
0.4
0 to 1
amount
amount
1
0 to 1
frosted
Seen through frosted glass.
JavaScript
Python
frosted(6)
frosted(6)
Setting
In Python
Starts at
Can be
size
size
6
0 to 60
amount
amount
1
0 to 1
heatHaze
The shimmer of hot air rising.
JavaScript
Python
heatHaze(5)
heat_haze(5)
Setting
In Python
Starts at
Can be
size
size
5
0 to 60
scale
scale
40
5 to 400
speed
speed
1
-5 to 5
amount
amount
1
0 to 1
caustics
The net of bright lines that sunlight makes on the floor of a pool.
JavaScript
Python
caustics(0.5)
caustics(0.5)
Setting
In Python
Starts at
Can be
strength
strength
0.5
0 to 2
scale
scale
120
20 to 600
speed
speed
0.5
-5 to 5
colour
colour
"#bfe8ff"
any colour
amount
amount
1
0 to 1
shake
The whole picture shakes. Set strength when something hits, and let it fall away.
JavaScript
Python
shake(10)
shake(10)
Setting
In Python
Starts at
Can be
strength
strength
10
0 to 200
speed
speed
25
1 to 100
amount
amount
1
0 to 1
punch
A zoom in towards a point. Tie its strength to the beat.