anufrievroman / waypaper

GUI wallpaper manager for Wayland and Xorg Linux systems
https://anufrievroman.gitbook.io/waypaper
GNU General Public License v3.0
277 stars 11 forks source link

Generator of tiled wallpapers #28

Open peteroupc opened 5 months ago

peteroupc commented 5 months ago

Include a generator of images that have the feel of classic tiled wallpapers. The following are suggestions on how the generator can generate these tiled wallpapers.

None of the suggestions above should involve artificial intelligence.

anufrievroman commented 5 months ago

To be honest, the code for this kind of generator and its UI will probably be larger than the entire code for this application at the moment :D I mean, it seems a bit too complex for a very niche feature. Maybe you have some examples of programs that do that or even better some projects that could be used as a dependency?

peteroupc commented 5 months ago

My interest here is in simple programs that generate tiled wallpapers of abstract designs without artificial intelligence, especially if they evoke the feel of classic wallpapers from the 90s and earlier.

There are several open-source wallpaper generators, many of which are in Python and include the following:

Many of these repositories could use the suggestions given in my previous message to generate new kinds of wallpapers.

A Python wallpaper generator can involve the use of ImageMagick (especially its convert tool) as well as Python's pillow library. In addition, it's enough for this issue to support the following operations in its user interface:

Other operations (described in my previous message) can be added later if they're easy enough to write, or Waypaper can add a button that generates a random wallpaper with the help of a third-party open-source wallpaper generator like the ones linked to above.

peteroupc commented 5 months ago

Indeed, the last four of the five effects I listed (and several more) are possible in less than a hundred lines of Python code and the ImageMagick convert tool: https://github.com/peteroupc/classic-wallpaper/blob/main/desktopwallpaper.py

anufrievroman commented 1 month ago

I checked a bit all the repositories, yes, it's very interesting. Note to myself: This is easy to add or this to create waypaper.

The conceptual problem I have is that if a make a generator, I won't be able to include a bunch of controls with it to substantially change the generated images. But, considering that each generator generate very similar images just color pallet (which is the main parameter) is different, I wonder if it's not easier to just pre-generate a bunch of images for all color pallets that I plan to supply as options... Anyways, I'll think about it.