Linux command
ico 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
ico -sleep [0.1]
Example
ico -faces -noedges -colors [red] -bg [blue]
Example
ico -obj cube -size [100x100] -delta +1+2
Example
ico -i -lw [10] -threads [5]
说明
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.
参数
- -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
FAQ
What is the ico command used for?
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.
How do I run a basic ico example?
Run `ico -sleep [0.1]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -sleep _SECONDS_ do in ico?
Delay between position updates