LiminaliaLiminalia
How-to: Screen effects

Screen effects

Open in Claude (new tab)
On this page

With the Effect part, you can warp the screen, make it look like the video is glitching, or apply a mosaic. A screen effect lasts until you place the part that removes it. To keep a character in focus and blur the background, use the depth of field part.

The examples on this page use the English sample story, “Waiting for Stars” (choose “A sample story” and English in New Project, or run lim new --lang en; the characters are Akari and Sou).

Screen effects

  1. Select the block just before where the effect should start (here, “Good evening. Is it all right if I come in?”).
  2. Type “screen effect” in the search box at the top of the parts panel, and double-click “Effect” in the results.
  3. In the parameter panel on the right, set type to “glitch.”
The Effect part. Set type to glitch.

From the next text on, the whole screen looks glitched.

With glitch applied. Color fringes appear along the character's outline.
typeEffectUnit and default for strength
waveWaveringpx, 12
glitchVideo distortionpx, 30
chromaticColor fringingpx, 4
noiseGrain (static)%, 25
vignetteDarkened edges%, 60
scanlinesScanlines%, 30
radial-blurRotational blurRotation angle, 8
zoom-blurZoom blur%, 15
mosaicMosaicpx, 16
rippleRipplepx, 6
shaderThe project’s own shaderValue passed to the shader, 1

Change the strength

Set the strength with strength. If you leave it out, each kind uses its default strength.

  1. In the same parameter panel, set type to “mosaic” and enter 24 in strength.
Set type to mosaic and strength to 24.

Each square of the mosaic is 24px.

With mosaic applied.

These parameters are also available.

ParameterWhat it sets
layerWhere to apply it (screen is the whole screen, base is the background, fg0 to fg2 are the layers that show images; noise, vignette and scanlines work only on the whole screen)
speedSpeed factor of the motion (0 stops it; 1 by default)
colorColor (vignette and scanlines only; black if left out)
x, yPosition of the center (radial-blur, zoom-blur, ripple, shader; % from the top left)
nameName (applying one with the same name replaces it; used to remove just one with the part that removes effects)

Remove screen effects

  1. Select the block just before where the effect should be removed (here, “For a moment, my vision seemed to warp.”).
  2. With “screen effect” still in the search box, double-click “Stop effect” (@effect-off).
The part that removes screen effects. Leave name empty.

If you leave name empty, every screen effect that’s applied is removed.

To apply an effect for a set time and have it remove itself, enter a time in time of “Effect.” Then you don’t need “Stop effect” (Add one-shot effects).

Blur the background with depth of field

Depth of field keeps one part of the screen in focus and blurs the rest. In the parts panel, it’s listed as “Depth blur.”

  1. Select the block just before where the blur should start (here, “When I blinked, the sunset was back to normal.”).
  2. Type “blur” in the search box, and double-click “Depth blur” in the results.
  3. Set on to “sprites” (focus on the sprites), and enter the blur strength 8 (px) in blur and 600 in time.
The Depth blur part. Set on to sprites and blur to 8.

Over 0.6 seconds, the background blurs and Akari comes into focus.

The background is blurred and Akari is in focus.
onWhat’s in focus
spritesThe sprites (blurs the background and the layers that show images)
backgroundThe background (blurs the sprites and the layers that show images)
noneNo blur (to go back to normal)

If you choose a character in who, that character is in focus, the background is blurred, and the other sprites are blurred at half the strength. To go back to normal, add “Depth blur” again and set on to “none.”

In code

Akari "Good evening. Is it all right if I come in?"
@effect mosaic strength=24
For a moment, my vision seemed to warp.
@effect-off
When I blinked, the sunset was back to normal.
@dof sprites blur=8 time=600ms
Akari "Is something wrong?"

For details, see @effect, @effect-off and @dof.

Commands used on this page

@effect-off@effect@dof