What was drawn stays
Each of these keeps what it made last frame and builds on it, so it wants a scene that moves.
3 of the 94 effects: smear, stutter, trails.
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.
smear
What was drawn is carried away on a slow current, like wet paint.
| JavaScript | Python |
|---|---|
smear(3) | smear(3) |
It keeps its own last frame, so it wants a scene that moves.
| Setting | In Python | Starts at | Can be |
|---|---|---|---|
length | length | 3 | 0 to 30 |
size | size | 40 | 0 to 400 |
scale | scale | 150 | 20 to 1000 |
amount | amount | 1 | 0 to 1 |
stutter
Only so many new pictures a second: the last one is held between them.
| JavaScript | Python |
|---|---|
stutter(8) | stutter(8) |
It keeps its own last frame, so it wants a scene that moves.
| Setting | In Python | Starts at | Can be |
|---|---|---|---|
speed | speed | 8 | 0.5 to 60 |
amount | amount | 1 | 0 to 1 |
trails
What was drawn stays and fades. With zoom, spin and hue it becomes the classic screensaver tunnel.
| JavaScript | Python |
|---|---|
trails(0.5) | trails(0.5) |
It looks at a dozen or more places for every pixel, so it costs a little more than most.
It keeps its own last frame, so it wants a scene that moves.
| Setting | In Python | Starts at | Can be |
|---|---|---|---|
length | length | 0.5 | 0 to 20 seconds |
zoom | zoom | 1 | 0.1 to 10 |
spin | spin | 0 | -720 to 720 degrees |
hue | hue | 0 | -720 to 720 degrees |
dx | dx | 0 | -2000 to 2000 |
dy | dy | 0 | -2000 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 |