Skip to content

sarathsajan/auto-gradient-wallpaper

Repository files navigation

AutomatedGradientWallpaperSystem CQ-23

  • Generate 4K gradient coloured wallpapers
  • Directly change the desktop wallpaper in a click
  • Generated image is also saved in the directory, both Sharp and Gaussian Blurred
  • Demo on youtube

How It Works

  • Generate a block (or tile) of solid color, now use a FOR loop to generate NxN blocks(or tiles) of random color
  • Stich them all together to get a mosaic of NxN tiles.
  • Now pass Gaussian Blur effect of desired strength to achieve the frosted glass effect.

Samples

Auto-generated wallpaper sample 1

Auto-generated wallpaper sample 2

Auto-generated wallpaper sample 3

Auto-generated wallpaper sample 4


How to use

Project written in python 3.11, so I am assuming you have already python installed and is familiar with it. I will make the project more user-friendly at a later stage.

Step 1

Run the requirements.txt using the below command

pip install -r requirements.txt

Step 2

Run the python file named app.py using the below command

python app.py

Bonus Step

Right-click and edit the path inside the Windows Batch file named AutoGradientWallpaper.bat

Here, first give the absolute path to your python.exe (if virtual environment is used then give the path to python.exe in virtual environment).

Then, give the absolute path to our app.py file.

That's it, now create a copy of the AutoGradientWallpaper.bat in to your desktop (home screen). Double-click and enjoy.

About

Generate gradient coloured wallpaper that can either be saved to disk or or used to directly change the desktop wallpaper in a click or time-based trigger

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages