ifs — draws spinning, colliding iterated-function-system images


ifs [-display host:display.screen] [-visual visual] [-window] [-root] [-no-db] [-delay number] [-detail number] [-colors number] [-functions number] [-iterate | -recurse] [-no-rotate] [-no-scale] [-no-translate] [-fps]


The ifs program draws spinning, colliding iterated-function-system images.


-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.
Draw on a newly-created window. This is the default.
Draw on the root window.
Disable double-buffering.
-delay number
Per-frame delay, in microseconds. Default: 20000
-colors number
Number of colours to use. Default: 200
-detail number
In -iterate mode, number of times to randomly iterate the functions, in thousands. In -recurse mode, number of times to apply functions (recursion depth) before drawing each point. Default: 9
-functions number
Number of functions to be iterated. Default: 3
Calculate by iteratively applying the functions in a random order, usually faster than -recurse. This is the default.
Calculate by recursively applying all combinations of the functions. This is the historical behavior and may produce neater output than -iterate.
Disable the rotation component of the functions.
Disable the scaling component of the functions.
Disable the varying translation component of the functions.
Turn off multi-coloured mode, only one colour is used to colour the whole set.
Display the current frame rate and CPU load.


to get the default host and display number.
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.


This version by Chris Le Sueur <thefishface@gmail.com>, Feb 2005 Many improvements by Robby Griffin <rmg@terc.edu>, Mar 2006