LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jigsaw

XScreenSaver hack that animates a jigsaw puzzle solving itself

TLDR

Run as the screensaver on the root window
$ jigsaw -root
copy
Run in a window for testing
$ jigsaw -window
copy
Set the animation speed
$ jigsaw -root -speed [1.0]
copy
Set the puzzle complexity
$ jigsaw -root -complexity [1.0]
copy

SYNOPSIS

jigsaw [-root | -window] [options]

DESCRIPTION

jigsaw is one of the OpenGL hacks shipped with xscreensaver (and xscreensaver-gl). It loads an image, slices it into jigsaw puzzle pieces, scatters them in 3D space, and then animates them flying back together to reform the picture before scrambling again.The image source is controlled by xscreensaver's standard image-grabbing settings, so the screensaver can use a random image from disk, a webcam frame, or a screenshot of the desktop.

PARAMETERS

-root

Draw on the root window (used by xscreensaver itself).
-window
Draw in a new top-level window.
-window-id id
Draw in an existing window with the given X11 ID.
-speed float
Animation speed multiplier.
-complexity float
Puzzle complexity (controls number of pieces).
-delay usecs
Delay between frames, in microseconds.
-fps
Display the frames-per-second counter.

CAVEATS

Requires OpenGL and a working X11 display. Older systems without 3D acceleration will see degraded performance. Image source is configured globally for xscreensaver via xscreensaver-settings, not per-hack.

SEE ALSO

Copied to clipboard
Kai