How would I make a procedurally generated desktop background on Linux?
You can use a scripting language such as Python or a tool such as ImageMagick to generate a procedurally generated desktop background on Linux.

Here is an example using Python:

1. Install the Python Imaging Library (PIL):
```
pip install Pillow
```

2. Create a new Python script, e.g. procedural_background.py:

```python

from PIL import Image
import random

# Set the size of the background
width, height = 1920, 1080

# Create a new image with a random color
img = Image.new(RGB, (width, height), color=(random.randint(0, 255), random.randint(0, 255), random.randint(0, 255)))

# Save the image
img.save(background.jpg)
```

3. Run the script to generate a new background image.

4. Set the generated image as your desktop background in your preferred desktop environment.

Note: The above code is just an example and can be modified to create more complex and varied procedural backgrounds.
Write an example of how to use math to create more interesting looking image.
Here is an example of how you can use mathematical functions to create an interesting looking image using Python:

from PIL import Image
import numpy as np
import math

# Set the size of the image
width, height = 500, 500

# Create a blank image
img = Image.new(RGB, (width, height), (255, 255, 255))

# Convert the image to a numpy array
pixels = np.array(img)

# Loop over all pixels in the image
for i in range(height):
    for j in range(width):
        # Use sine and cosine functions to calculate the color of each pixel
        r = int(127 * (math.sin(i / 20) + math.cos(j / 20)))
        g = int(127 * (math.sin(i / 20) + math.cos(j / 20)))
        b = int(127 * (math.sin(i / 20) + math.cos(j / 20)))
        
        # Set the color of the pixel
        pixels[i][j] = [r, g, b]

# Convert the numpy array back to an image
img = Image.fromarray(pixels.astype('uint8'))

# Save the image
img.save(interesting_image.jpg)


This code creates an image by using the sin and cos functions to calculate the color of each pixel. The resulting image has a wave-like pattern with alternating bright and dark regions. You can modify the code to use different mathematical functions and parameters to create a variety of interesting images.