Colours

These change the colours and leave the shapes alone.

18 of the 94 effects: rgbSplit, hue, saturate, brighten, contrast, invert, posterize, tint, duotone, colourCycle, gradientMap, thermal, nightVision, sepia, threshold, solarize, colourBleed, rainbowEdges.

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.

rgbSplit

Red and blue pulled apart, like a cheap lens or a bad signal.

JavaScriptPython
rgbSplit(4)rgb_split(4)
SettingIn PythonStarts atCan be
sizesize40 to 60
angleangle0-360 to 360 degrees
spreadspreadfalsetrue or false (True, False)
amountamount10 to 1

hue

Every colour moved round the colour wheel. With speed, the colours keep turning.

JavaScriptPython
hue(90)hue(90)
SettingIn PythonStarts atCan be
shiftshift90-360 to 360 degrees
speedspeed0-720 to 720
amountamount10 to 1

saturate

More colour, or less: at 0 the picture is grey.

JavaScriptPython
saturate(1.6)saturate(1.6)
SettingIn PythonStarts atCan be
strengthstrength1.60 to 4
amountamount10 to 1

brighten

Brighter, or darker below 1.

JavaScriptPython
brighten(1.3)brighten(1.3)
SettingIn PythonStarts atCan be
strengthstrength1.30 to 4
amountamount10 to 1

contrast

Lights lighter and darks darker.

JavaScriptPython
contrast(1.4)contrast(1.4)
SettingIn PythonStarts atCan be
strengthstrength1.40 to 4
amountamount10 to 1

invert

A negative: every colour swapped for its opposite.

JavaScriptPython
invert()invert()
SettingIn PythonStarts atCan be
amountamount10 to 1

posterize

Only a few shades of each colour, like a poster.

JavaScriptPython
posterize(4)posterize(4)
SettingIn PythonStarts atCan be
levelslevels42 to 16, a whole number
amountamount10 to 1

tint

Seen through coloured glass.

JavaScriptPython
tint("gold")tint("gold")
SettingIn PythonStarts atCan be
colourcolour"gold"any colour
amountamount10 to 1

duotone

Two colours only: one for the dark parts and one for the light.

JavaScriptPython
duotone("midnightblue", "gold")duotone("midnightblue", "gold")
SettingIn PythonStarts atCan be
darkdark"midnightblue"any colour
lightlight"gold"any colour
amountamount10 to 1

colourCycle

Brightness becomes a colour from a palette, and the colours move round.

JavaScriptPython
colourCycle("rainbow")colour_cycle("rainbow")

Also called colorCycle (color_cycle).

SettingIn PythonStarts atCan be
palettepalette"rainbow"a palette's name, or a list of colours
speedspeed0.3-5 to 5
bandsbands10.1 to 8
amountamount10 to 1

gradientMap

Brightness becomes a colour from a palette, dark to light.

JavaScriptPython
gradientMap("sunset")gradient_map("sunset")
SettingIn PythonStarts atCan be
palettepalette"sunset"a palette's name, or a list of colours
amountamount10 to 1

thermal

A heat camera: cold is dark blue, hot is yellow and white.

JavaScriptPython
thermal()thermal()
SettingIn PythonStarts atCan be
palettepalette"thermal"a palette's name, or a list of colours
amountamount10 to 1

nightVision

Green, grainy and bright in the dark, like a night-vision scope.

JavaScriptPython
nightVision(1.6)night_vision(1.6)
SettingIn PythonStarts atCan be
strengthstrength1.60 to 6
amountamount10 to 1

sepia

The warm brown of an old photograph.

JavaScriptPython
sepia(1)sepia(1)
SettingIn PythonStarts atCan be
strengthstrength10 to 1
amountamount10 to 1

threshold

Two colours and nothing between: dark or light.

JavaScriptPython
threshold(0.5)threshold(0.5)
SettingIn PythonStarts atCan be
levellevel0.50 to 1
darkdark"black"any colour
lightlight"white"any colour
amountamount10 to 1

solarize

The bright parts turned to their opposite, as in an over-exposed photograph.

JavaScriptPython
solarize(0.5)solarize(0.5)
SettingIn PythonStarts atCan be
levellevel0.50 to 1
amountamount10 to 1

colourBleed

Colours smeared sideways, as on old videotape.

JavaScriptPython
colourBleed(10)colour_bleed(10)

Also called colorBleed (color_bleed).

SettingIn PythonStarts atCan be
sizesize100 to 100
amountamount10 to 1

rainbowEdges

Every edge in the picture drawn in rainbow colours.

JavaScriptPython
rainbowEdges(2)rainbow_edges(2)
SettingIn PythonStarts atCan be
strengthstrength20 to 10
sizesize1.50.5 to 20
speedspeed0.1-5 to 5
amountamount10 to 1