Wallpaper creator from repeated polygon patterns - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: Wallpaper creator from repeated polygon patterns (/showthread.php?tid=2364) |
Wallpaper creator from repeated polygon patterns - mnrvovrfc - 12-30-2023 I was inspired by a program for Linux called Kali that allows creating wallpapers from simple polygons. Basically it repeated a pattern over the whole screen, by flipping or replication. The program is quite good and I installed it into one of my Debian "Bookworm" installations. I don't give the link to the program because the GUI appears to be FLTK and some of you aren't familiar or aren't comfortable with that style. The FLTK is an older GUI programming toolkit than GTK and Qt. Also it might be installable via a "dot-DEB" file only, which some people have become as suspicious as Windows installers. :/ Also the Kali program doesn't straight out save to JPEG or PNG or other popular format, but in EPS Postscript format. This might not be sufficient importing the EPS into GIMP converting to another format with Imagemagick. Just look it up in search service, but write "kali drawing" because just putting down "kali" might give entries about Kali Linux. Which is not what I was talking about here. Anyway, here's a program that creates 20 pictures that could be used as wallpapers for a 15-inch laptop (1366x768 resolution). Feel free to adjust it to your tastes. For each pass, it creates polygons from triangle to octagon inclusive and draws them repeatedly according to fixed horizontal and vertical offsets. Each polygon is given an initial 32-bit color value, then one of the registers is "bounced" back and forth like in a gradient to increase interest in the picture. The actual screen to save is hidden but written to, because it's too big to fit into my screen including the window titlebar and frame. Instead a 67%-scale screen is shown of what it was like. Note the line with ```_SAVEIMAGE``` is commented out. In my version it saves in QOI format because I wanted to check out the plug-in for GIMP which could save and load those files. This plug-in cannot be used in Debian "Bullseye" or earlier, unfortunately. In the open file requester in GIMP, must check enabled "Show all files" to be able to see and select a QOI file. Happy New Year to all members of this forum and to everybody. Code: (Select All)
RE: Wallpaper creator from repeated polygon patterns - aurel - 12-31-2023 looks like screen saver RE: Wallpaper creator from repeated polygon patterns - aurel - 01-30-2024 hey ..where is my member @roquedrivel RE: Wallpaper creator from repeated polygon patterns - bplus - 01-30-2024 Where is mnr? RE: Wallpaper creator from repeated polygon patterns - aurel - 01-31-2024 hmmm @mnr gone too ???? RE: Wallpaper creator from repeated polygon patterns - SMcNeill - 01-31-2024 Mn was last in here on Jan 1. Looks like he's taking his winter sabbatical as well. |