LiminaliaLiminalia

@speedlines

Show focus lines (lines converging on a center) or speed lines (lines flowing one way) for a moment. For momentum, surprise, running and closing in

type

Parameters

type
focus / flow
Default: focus
Kind of lines (focus converges on the center, flow streams in one direction)
dir
left / right / up / down
Default: left
Direction the speed lines flow (with flow)
x
Number
Horizontal position of the focus center (px; the center of the screen if omitted)
y
Number
Vertical position of the focus center (px; the center of the screen if omitted)
inner
Number
Default: 0.35
Size of the empty middle of the focus lines (a fraction of the shorter side of the screen; 0 to 0.9)
density
Number
Default: 0.5
Amount of lines (0 to 1)
color
Color (#rrggbb)
Default: #000000
Line color
opacity
Number
Default: 0.8
Opacity (0 to 1)
time
Time (300ms, 1.5s)
Default: 800ms
How long it shows (including fading in and out)
layer
fx / overlay
Default: fx
Layer to place it on (fx is below the message window, overlay also covers the message window)
wait
true / false
Default: false
Wait until it disappears before continuing
skip
true / false
Default: true
Lets a click, the Enter key or a tap finish the effect at once. false prevents it (while skipping, it ends at once anyway)