1XMOUNTAINS(1)               General Commands Manual              XMOUNTAINS(1)
2
3
4

NAME

6       xmountains - A fractal landscape generator.
7

SYNOPSIS

9       xmountains [ bqgPdEmMrBnZIASTWFGCapcevfRltxsXYH ]
10
11

DESCRIPTION

13       xmountains  is  a  X11 based fractal landscape generator.  It generates
14       random fractal surfaces and displays them in a window.  While the  pro‐
15       gram  is  running the fractal is continuously extended on the right and
16       the image is scrolled from right to left to expose the newly  generated
17       area.
18
19
20       Flags:
21       -b
22              Use the root window.
23       -q
24              Reset  the  root  window  when the program exits. This option is
25              ignored unless the program is using the root window.
26       -g [string]
27              Set the geometry of the window.
28       -P [filename]
29              Write the PID to the specified file.
30       -d [string]
31              Set the display.
32       -E
33              Toggle the way that window repainting is done.  By  default  the
34              image pixmap is installed as the background pixmap of the window
35              and window repainting should be performed automatically by the X
36              server.  If  this does not work on a particular system then this
37              flag can be used to enable explicit expose event processing.  In
38              the  default  mode root window images will remain in place after
39              the program exits.
40       -m
41              Display a map of the surface rather than a perspective view.
42       -M
43              Produce reflections in the water. This may be a little slower.
44       -r [20]
45              To reduce the load on the X server the program generates several
46              columns of pixels before scrolling the image. This flag sets the
47              number of columns.  A negative value reverses the  direction  of
48              scrolling.  A  value  of  zero makes the program scan across the
49              window without scrolling at all.
50       -B [80]
51              Set the number of shades of each colour that the  program  allo‐
52              cates.
53       -n [245]
54              Set a maximum number of colours to use. This is just a different
55              way of setting the number of shades of each colour.
56       -Z [10]
57              Set  the  number  of  seconds  that  the  program  sleeps  after
58              scrolling the screen.
59       -I [40.0]
60              Set the vertical angle of illumination.
61       -A [0.0]
62              Set the horizontal angle of illumination.
63       -S [0.6]
64              Set the vertical stretch of the surface.
65       -T [0.5]
66              Set the vertical shift of the surface.
67       -W [0.5]
68              Set the height where the water occurs.
69       -F [1]
70              Reduce  the  variation in the foreground height to ensure a good
71              view of the surface. This flag sets the number of iterations for
72              which the foreground height is constrained to a constant value.
73       -G [-1.0]
74              Mean altitude for the for foreground.
75       -C [0.3]
76              Set the contour parameter. The base colour of a point depends on
77              its height and how flat the surface is. This parameter  controls
78              the relative importance of these factors.
79       -a [2.5]
80              Set the Altitude of the viewpoint.
81       -p [4.0]
82              Set the distance of the viewpoint from the front of the surface.
83       -c [1.0]
84              Set  the  contrast  parameter. Values too far from 1.0 will give
85              strange results
86       -e [0.3]
87              Set the ambient light level. This is  a  fractional  value  that
88              sets  how  bright shaded areas will be compared to fully illumi‐
89              nated ground.
90       -v [0.6]
91              Set the vertical light level. The program also implements a sec‐
92              ondary  light  source  shining  from directly above the surface.
93              This flag sets how bright this light source is relative  to  the
94              main light source.
95       -f [0.65]
96              Set  the fractal dimension of the surface. This should be in the
97              range 0.5-1.0.
98       -R [0]
99              Set the seed for the random  number  generator.  A  value  of  0
100              causes the seed to be set from the clock.
101       -l [10]
102              Set  the width of the surface. Increasing this value by one dou‐
103              bles the width of the surface.
104       -t [2]
105              Set the number of non-fractal iterations. Increasing this  value
106              by  one doubles the average number of mountains across the width
107              of the surface.
108       -x
109              Use cross updates (see under -H)
110       -s [1]
111              Control the regeneration steps used to  reduce  creasing.  There
112              are  three possible regeneration steps controlled by the first 3
113              bits of this flag value.  (see under -H)
114       -X [0.0]
115              regeneration step parameter (see under -H)
116       -Y [0.0]
117              regeneration step parameter (see under -H)
118       -H
119              Print a short description of the algorithm explaining the -x  -s
120              -X and -Y parameters.
121
122

IDENTIFICATION

124       Author: S.Booth@ed.ac.uk
125
126
127
128
129
130
131                                                                 XMOUNTAINS(1)
Impressum