LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ico

displays an animated wireframe or solid polyhedron bouncing around an X11 window

TLDR

Display a wireframe icosahedron that changes position
$ ico -sleep [0.1]
copy
Display a solid icosahedron with colored faces
$ ico -faces -noedges -colors [red] -bg [blue]
copy
Display a cube with specific size and movement delta
$ ico -obj cube -size [100x100] -delta +1+2
copy
Display inverted wireframe with line width and threads
$ ico -i -lw [10] -threads [5]
copy

SYNOPSIS

ico [options]

DESCRIPTION

ico displays an animated wireframe or solid polyhedron bouncing around an X11 window. It's a simple demonstration program that shows various geometric shapes including icosahedrons, cubes, and octahedrons.
The animation continuously moves the polyhedron around the window, bouncing off the edges. Various options control the appearance, speed, and rendering style.

PARAMETERS

-sleep SECONDS

Delay between position updates
-obj OBJECT
Polyhedron to display (icosahedron, cube, octahedron, etc.)
-size WxH
Size of the polyhedron in pixels
-delta +X+Y
Movement per frame
-faces
Draw solid faces instead of wireframe
-noedges
Don't draw edges
-colors COLOR
Color for faces or edges
-bg COLOR
Background color
-lw WIDTH
Line width for wireframe edges
-i
Invert (swap foreground and background)
-threads N
Number of rendering threads

CAVEATS

Requires X11 display server. Primarily a demonstration program with no practical purpose. May consume significant CPU when using multiple threads.

HISTORY

ico is one of the classic X11 demonstration programs, originating from the early days of the X Window System at MIT in the mid-1980s. It has been included in X.Org releases as part of the standard distribution.

SEE ALSO

xeyes(1), xlogo(1)

Copied to clipboard
Kai