---
name: "triangle"
section: "6"
platform: "linux"
package: "xscreensaver"
version: "6.15-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/triangle"
---

# triangle(6)

random mountains using iterative subdivision of triangles.

## NAME

triangle - random mountains using iterative subdivision of triangles.

## SYNOPSIS

**triangle** \[--display *host:display.screen*\] \[--visual *visual*\] \[--window\] \[--root\] \[--window-id *number*\] \[--delay *number*\] \[--ncolors *number*\] \[--fps\]

## DESCRIPTION

Generates random mountain ranges using iterative subdivision of triangles.

## OPTIONS

- **--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.

- **--window**

  Draw on a newly-created window.  This is the default.

- **--root**

  Draw on the root window.

- **--window-id *number***

  Draw on the specified window.

- **--delay *number***

  Per-frame delay, in microseconds.  Default: 10000 (0.01 seconds.).

- **--ncolors *number***

  Number of Colors.  Default: 128.

- **--fps**

  Display the current frame rate and CPU load.

## ENVIRONMENT

- **DISPLAY**

  to get the default host and display number.

- **XENVIRONMENT**

  to get the name of a resource file that overrides the global resources stored in the RESOURCE\_MANAGER property.

- **XSCREENSAVER\_WINDOW**

  The window ID to use with *--root*.

## SEE ALSO

**X**(1), [**xscreensaver**(1)](/xscreensaver/1.md)

## COPYRIGHT

Copyright © 2002 by Tobias Gloth.  Permission to use, copy, modify,  distribute, and sell this software and its documentation for any purpose is  hereby granted without fee, provided that the above copyright notice appear  in all copies and that both that copyright notice and this permission notice appear in supporting documentation.  No representations are made about the  suitability of this software for any purpose.  It is provided "as is" without express or implied warranty.

## AUTHOR

Tobias Gloth.
