darclander / starBackground

A self-made wallpaper engine which turns your windows wallpaper into a moving background.
GNU General Public License v3.0
20 stars 4 forks source link
live-wallpaper wallpaper wallpaper-engine wallpaper-engine-free windows-10 windows-11

starBackground

This project is a very basic implementation of a wallpaper engine and is currently in development. The only current functionality is to make a star looking animation which can be seen below or to load your own video files (see more details below).

Alt text Alt text

This youtube video will go through how it works and what the next steps are (currently a bit outdated).

The project was made in C++ using SDL2 and FFMPEG.

People who want to contribute can now also make edits to the ideas file if they have any ideas for updates or open an issue

Usage

Assuming all required DLLs are available the program now has updated functionality. You can run the program with default settings or by additional command lines (UI and monitor "detection" is still in progress).

-w, --width: specifies the width of the window. default is 1920 \ -h, --height: specifies the height of the window. default is 1080 \ --stars: specifies the number of stars. default is 300 \ --video: specfies file path to a video file. (NOTE: if video is used this overrides the "star" setting).

Examples: \ ./starBG.exe -w 1920 -h 1080 --video ./video.mp4 \ ./starBG.exe -w 1920 -h 1080 --stars 1000 \ ./starBG.exe

Compilation

To simplify development on windows, MSYS2 has been used in order to compile this project. The following are required:

When all dependencies have been installed, run make in the root folder. The executable should then be in the debug folder.

Required DLLs

As per https://github.com/darclander/starBackground/issues/10 I realized I should mention the required DLLs for running the executable on windows. To run the application you need: