A CLI utility to set algorithmically generated triangle art as your desktop wallpaper/background.
Uses the awesome Trianglify to randomly generate a low-poly triangle art desktop wallpaper:
Requires Node.js >= 14.
$ npm install -g wallangle
$ wallangle
$ wallangle --width=2560 --height=1440 --variance=0.75 --cellSize=250 --seed=helloworld --colors="#083d77,#ebebd3,#da4167,#f4d35e,#f78764"
These flags set specific options for Trianglify:
Resolution width of your display. Defaults to 3840
.
Resolution height of your display. Defaults to 2160
.
Decimal value between 0 and 1 (inclusive), defaults to Math.random()
. Specify the amount of randomness used when generating triangles.
Integer, defaults to Math.floor(Math.random() * 200 + 40)
. Specify the size of the mesh used to generate triangles. Larger values will result in coarser patterns, smaller values will result in finer patterns. Note that very small values may dramatically increase the runtime of Trianglify.
Number or string, defaults to null
. Seeds the random number generator to create repeatable patterns. When set to null, the random number will be seeded with random values from the environment.
Comma-separated string of CSS-formatted colors. Defaults to 'random'
. You can use a tool such as Coolors to generate color palettes. Example is --colors="#083d77,#ebebd3,#da4167,#f4d35e,#f78764"