EnglishFrenchSpanish

Ad


OnWorks favicon

ico - Online in the Cloud

Run ico in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ico that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ico - animate an icosahedron or other polyhedron

SYNOPSIS


ico [-display display] [-geometry geometry] [-r] [-d pattern] [-i] [-dbl] [-faces]
[-noedges] [-sleep n] [-obj object] [-objhelp] [-colors color-list]

DESCRIPTION


Ico displays a wire-frame rotating polyhedron, with hidden lines removed, or a solid-fill
polyhedron with hidden faces removed. There are a number of different polyhedra
available; adding a new polyhedron to the program is quite simple.

OPTIONS


-r Display on the root window instead of creating a new window.

-d pattern
Specify a bit pattern for drawing dashed lines for wire frames.

-i Use inverted colors for wire frames.

-dbl Use double buffering on the display. This works for either wire frame or solid
fill drawings. For solid fill drawings, using this switch results in substantially
smoother movement. Note that this requires twice as many bit planes as without
double buffering. Since some colors are typically allocated by other programs,
most eight-bit-plane displays will probably be limited to eight colors when using
double buffering.

-faces Draw filled faces instead of wire frames.

-noedges
Don't draw the wire frames. Typically used only when -faces is used.

-sleep n
Sleep n seconds between each move of the object.

-obj object
Specify what object to draw. If no object is specified, an icosahedron is drawn.

-objhelp
Print out a list of the available objects, along with information about each
object.

-colors color color ...
Specify what colors should be used to draw the filled faces of the object. If less
colors than faces are given, the colors are reused.

PROGRAM TERMINATION


Pressing "q" will close a window. If compiled with threads support, the program will stop
only when all threads terminate. You can also close an animation window using the ICCCM
delete message (depending on your window manager, you will have a decoration button or
menu to send such message).

ADDING POLYHEDRA


If you have the source to ico, it is very easy to add more polyhedra. Each polyhedron is
defined in an include file by the name of objXXX.h, where XXX is something related to the
name of the polyhedron. The format of the include file is defined in the file polyinfo.h.
Look at the file objcube.h to see what the exact format of an objXXX.h file should be,
then create your objXXX.h file in that format.

After making the new objXXX.h file (or copying in a new one from elsewhere), simply do a
'make depend'. This will recreate the file allobjs.h, which lists all of the objXXX.h
files. Doing a 'make' after this will rebuild ico with the new object information.

Use ico online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Zabbix
    Zabbix
    Zabbix is an enterprise-class open
    source distributed monitoring solution
    designed to monitor and track
    performance and availability of network
    servers, device...
    Download Zabbix
  • 2
    KDiff3
    KDiff3
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    https://download.kde.o...
    Download KDiff3
  • 3
    USBLoaderGX
    USBLoaderGX
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 4
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 5
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 6
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • More »

Linux commands

Ad