logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

distort - distort the content of the screen in interesting ways

Authors

       Jonas  Munsin  <jmunsin@iki.fi>  and  Jamie  Zawinski <jwz@jwz.org>.  This manual page by Matthias Warkus
       <mawa@iname.com>, 17-Oct-1999.

X Version 11                                   6.08 (10-Oct-2023)                                    distort(6x)

Description

       The  distort  program  takes  an  image  and lets circular zones of distortion wander randomly around it,
       distorting what is under them.  The mode of distortion and the overall behaviour  of  the  zones  can  be
       influenced in various ways.

       The  image  that  it manipulates will be grabbed from the portion of the screen underlying the window, or
       from the system's video input, or from a random file on disk,  as  indicated  by  the  grabDesktopImages,
       grabVideoFrames, and chooseRandomImages options in the ~/.xscreensaver file; see xscreensaver-settings(1)
       for more details.

Environment

DISPLAY to get the default host and display number

       XENVIRONMENT
               to  get  the  name  of  a  resource  file  that  overrides  the  global  resources  stored in the
               RESOURCE_MANAGER property.

       XSCREENSAVER_WINDOW
               The window ID to use with --root.

Name

       distort - distort the content of the screen in interesting ways

Options

distort accepts the following options:

       --root  Draw on the root window.

       --window-idnumber
               Draw on the specified window.

       --window
               Draw on a newly-created window. This is the default.

       --mono  If on a color display, pretend we're on a monochrome display.

       --install
               Install a private colormap for the window.

       --noinstall
               Don't install a private colormap for the window.

       --visualvisual
               Specify  which  visual  to  use.  Legal  values  are  the name of a visual class or the id number
               (decimal or hex) of a specific visual.

       --window-idwindow-id
               Specify which window id to use.

       --delayusecs
               Specify the delay between subsequent animation frames in microseconds.

       --durationseconds
               How long to run before loading a new image.  Default 120 seconds.

       --radiuspixels
               Specify the radius of the distortion zone in pixels.

       --speedint
               Specify the speed at which the distortion zone moves, where 0 is slow, higher numbers are  faster
               (10 is pretty fast.)

       --numberint
               Specify the number of distortion zones.

       --swamp Instead  of letting zones wander around, let small zones pop up like bubbles in a swamp and leave
               permanent distortion.  WARNING: this option uses a colossal amount of memory: keep  the  --radius
               small when using --swamp.

       --bounce
               Let zones wander around and bounce off the window border. This is the default.

       --reflect
               Mode of distortion that resembles reflection by a cylindrical mirror.

       --vortex
               Whirlpool-shaped distortion. Way cool.

       --magnify
               This mode of distortion looks like a magnifying glass.

       --blackhole
               Suck your pixels beyond the event horizon. Favourite mode of Dr Stephen Hawking.

       --slow  Make the zone wander slower.

       --shm   Use shared memory extension.

       --no-shm
               Don't use shared memory extension.

       --fps   Display the current frame rate and CPU load.

See Also

X(1), xscreensaver(1), xscreensaver-settings(1), xscreensaver-getimage(6x)

Synopsis

distort  [--root]  [--window-id  number][--window]  [--mono]  [--install] [--noinstall] [--visual visual]
       [--window-id window-id] [--delay usecs] [--duration secs] [--radius pixels] [--speed int] [--number  int]
       [--swamp] [--bounce] [--reflect] [--vortex] [--magnify] [--blackhole] [--slow] [--shm] [--no-shm] [--fps]

See Also