xshadertoy(6)

xshadertoy6

Screen saver for shadertoy glsl programs.

Usage

xshadertoy [--display host:display.screen] [--visual visual] [--window] [--root] [--delay number] [--speed number] [--scale number] [--automouse] [--automouse-speed number] [--program-common file] [--program0 file] [--program1 file] [--program2 file] [--program3 file] [--program4 file] [--fps]

Overview

Runs arbitrary GLSL programs that use the shadertoy.com API.

Options

--visual visual

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

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

--root

Draw on the root window.

--delay number

Per-frame delay, in microseconds. Default: 20000 (0.02 seconds).

--speed number

Animation speed. 2.0 means twice as fast, 0.5 means half as fast.

--scale number

Frame buffer resolution. 0.5 means halve the resolution for better performance but lower quality output. Default 1.0, full quality.

--program0 file
--program1 file
--program2 file
--program3 file
--program4 file

GLSL code, each as an input to the previous.

--program-common file

GLSL code to prepend to each program.

--automouse | --no-automouse

Whether to pretend to drag the mouse around sinusoidally. Default false.

--automouse-speed ratio

How fast. Default 1.0.

--fps | --no-fps

Whether to show a frames-per-second display at the bottom of the screen.

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.

Author

Jamie Zawinski.

From xscreensaver 6.15-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.