XMOUNTAINS(1)
ποΈ XMOUNTAINS(1) β bestie's guide to making fake mountains π
okay so this is the manual page for XMOUNTAINS, living in section 1 of the General Commands Manual. buckle up, we're generating fractals. π¦
β¨ NAME β¨
xmountains β a fractal landscape generator. that's it, that's the whole vibe. mountains but make them math ποΈβ¨
β¨ SYNOPSIS β¨
xmountains [ bqgPdEmMrBnZIASTWFGCapcevfRltxsXYH ]
no cap, that's just a giant pile of flags. every single letter is a little switch you can flip. π
β¨ DESCRIPTION β¨
xmountains is an X11 based fractal landscape generator. it makes random fractal surfaces and shows them off in a window. literally just mountains appearing out of nowhere, iconic. π
while the program is running, the fractal is continuously extended on the right, and the image is scrolled from right to left so you get to see the newly generated area. it's giving "endless scroll" but make it geology. πͺ¨
π Flags π
okay here's the whole flag menu, no skipping, every single one is below. yes, all of them. i promised. π«Ά
-bβ use the root window. your whole desktop is the mountain now, no window border, main character energy. π-qβ reset the root window when the program exits. lowkey important: this option gets ignored unless the program is actually using the root window. π-g[string] β set the geometry of the window. you know, the classic geometry string situation. π-P[filename] β write the PID to the specified file. so you can find it later. π-d[string] β set the display. which X display, bestie. π₯οΈ-Eβ toggle the way that window repainting is done. by default the image pixmap is installed as the background pixmap of the window, and window repainting should be performed automatically by the X server. if that does not work on a particular system, this flag can be used to enable explicit expose event processing. also worth knowing: in the default mode, root window images will remain in place after the program exits. β οΈ so like, they stick around. remember that.-mβ display a map of the surface rather than a perspective view. top-down instead of dramatic angle. πΊοΈ-Mβ disable reflections in the water. no more sparkly lake. π§π-r[20] β to reduce the load on the X server, the program generates several columns of pixels before scrolling the image. this flag sets the number of columns. a negative value reverses the direction of scrolling. a value of zero makes the program scan across the window without scrolling at all. three modes in one flag, she's versatile. β¨-B[80] β set the number of shades of each colour that the program allocates. π¨-n[245] β set a maximum number of colours to use. this is just a different way of setting the number of shades of each colour. same knob, different door. πͺ-Z[10] β set the number of seconds that the program sleeps after scrolling the screen. nap time between frames. π΄-I[40.0] β set the vertical angle of illumination. π‘-A[0.0] β set the horizontal angle of illumination. π‘-S[0.6] β set the vertical stretch of the surface. squish or elongate those peaks. ποΈ-T[0.5] β set the vertical shift of the surface. π-W[0.5] β set the height where the water occurs. sea level, bestie. π-F[1] β reduce the variation in the foreground height to ensure a good view of the surface. this flag sets the number of iterations for which the foreground height is constrained to a constant value. keeping the front row tidy so you can actually see the view. π§-G[-1.0] β mean altitude for the for foreground. (yes, that's what the original says. verbatim. i don't make the rules. π)-C[0.3] β set the contour parameter. the base colour of a point depends on its height and how flat the surface is. this parameter controls the relative importance of these factors. so it's a little height-vs-flatness weighting situation. βοΈ-a[2.5] β set the Altitude of the viewpoint. where your eyeballs are floating. ποΈ-p[4.0] β set the distance of the viewpoint from the front of the surface. how far back you're standing. πΆβοΈ-c[1.0] β set the contrast parameter. careful: values too far from1.0will give strange results. β οΈ she's sensitive, treat her gently.-e[0.3] β set the ambient light level. this is a fractional value that sets how bright shaded areas will be compared to fully illuminated ground. π€οΈ-v[0.6] β set the vertical light level. the program also implements a secondary light source shining from directly above the surface. this flag sets how bright this light source is relative to the main light source. two suns?? we love a dual-light situation. βοΈβοΈ-f[0.65] β set the fractal dimension of the surface. this should be in the range0.5-1.0. π-R[0] β set the seed for the random number generator. a value of0causes the seed to be set from the clock. so0means "surprise me". π²-l[10] β set the width of the surface. increasing this value by one doubles the width of the surface. yes, doubles. exponential, bestie. π-t[2] β set the number of non-fractal iterations. increasing this value by one doubles the average number of mountains across the width of the surface. also doubles. also unhinged. ποΈποΈποΈποΈ-xβ use cross updates (see under-H). π-s[1] β control the regeneration steps used to reduce creasing. there are three possible regeneration steps controlled by the first 3 bits of this flag value. (see under-H). bit manipulation in a landscape generator, we love to see it. π-X[0.0] β regeneration step parameter (see under-H). β¨-Y[0.0] β regeneration step parameter (see under-H). β¨-Hβ print a short description of the algorithm explaining the-x-s-Xand-Yparameters. it's the lore drop. read it. π
β¨ IDENTIFICATION β¨
Author: S.Booth@ed.ac.uk β thank you for the mountains, king/queen/royalty. ππ
quick vibe check:-Eand-care the two flags with actual "careful bestie" energy in this page, and-qquietly does nothing unless you're on the root window. noted. π
and that's the page!! this was XMOUNTAINS(1), from the General Commands Manual β the same page you'd get if you typed man 1 xmountains, just with way more emoji. go make some fake mountains, bestie. ποΈπβ¨
π¦ where this page comes from
- fedora 43: xmountains 2.11-5.fc43 Β· HPND
- fedora 44: xmountains 2.11-6.fc44 Β· HPND
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms