https://github.com/erfan-ops/delaunay-flow
live and interactive desktop wallpaper
https://github.com/erfan-ops/delaunay-flow
animated-background cpp desktop-wallpaper gpu-rendering graphics live-wallpaper multi-monitor opengl visual-effects wallpaper-engine-alternative windows-desktop
Last synced: 14 days ago
JSON representation
live and interactive desktop wallpaper
- Host: GitHub
- URL: https://github.com/erfan-ops/delaunay-flow
- Owner: erfan-ops
- License: mit
- Created: 2025-08-01T14:26:09.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-02-19T10:00:19.000Z (4 months ago)
- Last Synced: 2026-02-19T14:50:27.695Z (4 months ago)
- Topics: animated-background, cpp, desktop-wallpaper, gpu-rendering, graphics, live-wallpaper, multi-monitor, opengl, visual-effects, wallpaper-engine-alternative, windows-desktop
- Language: C++
- Homepage:
- Size: 941 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Delaunay Flow - Geometric Live Desktop Wallpaper
## Description
Delaunay Flow is a visually striking and interactive live desktop wallpaper that uses Delaunay Triangulation to generate and color a field of triangles across your screen. Each triangle's color is determined by its vertical position, creating a smooth gradient that flows from top to bottom.
## Features
- Dynamic triangle mesh generated via Constrained Delaunay Triangulation
- Smooth vertical color gradient with multiple color stops
- Fully customizable via `settings.json`
- High-performance OpenGL rendering
- Built in C++ with real-time responsiveness
## Requirements
- OS: Windows 10/11
- GPU: OpenGL-compatible
- Compiler: Visual Studio 2022 (recommended)
## Installation
1. **Download**: Get the latest version of Delaunay Flow from the [Releases](https://github.com/erfan-ops/Delaunay-Flow/releases) page.
2. **Launch**: Run `Delaunay-Flow.exe` to enjoy your new live wallpaper.
## Building
1. Clone the repository:
```bash
git clone https://github.com/erfan-ops/Delaunay-Flow.git
cd Delaunay-Flow
```
2. Generate and build using CMake (choose one):
**Release build:**
```bash
cmake --preset vs-release
cmake --build --preset release
```
**Debug build:**
```bash
cmake --preset vs-debug
cmake --build --preset debug
```
3. Run the executable from the output directory:
- Release: `build/Release/Delaunay-Flow.exe`
- Debug: `build/Debug/Delaunay-Flow.exe`
## Configuration
Customize the wallpaper by editing `settings.json`:
```json
{
"fps": 120,
"vsync": false,
"background-colors": [
[ 0.28, 0.09, 0.65, 1 ],
[ 0.98, 0.33, 0.33, 1 ],
[ 0.98, 0.55, 0.15, 1 ],
[ 0.96, 0.82, 0.2, 1 ],
[ 0.47, 0.3, 0.58, 1 ]
],
"stars": {
"draw": false,
"segments": 12,
"radius": 0.01,
"count": 150,
"min-speed": 0.005,
"max-speed": 0.026,
"color": [ 0, 0, 0, 0.66 ]
},
"edges": {
"draw": true,
"width": 0.0038,
"color": [ 0, 0, 0, 0.69 ]
},
"interaction": {
"mouse-interaction": true,
"distance-from-mouse": 0.25,
"speed-based-mouse-distance-multiplier": 0
},
"mouse-barrier": {
"draw": true,
"radius": 0.25,
"color": [ 0.2, 0.05, 0.7, 0.3 ],
"blur": 25
},
"offset-bounds": 0.3,
"MSAA": 4
}
```
- `fps`: Target frames per second.
- `vsync`: uses vertical synchronization.
- `background-colors`: Gradient stops (RGBA format) interpolated based on triangle Y position.
- `stars`: Star configurations (speed, count, radius, color, etc.).
- `edges`: Configuration for drawing triangle edges.
- `interaction`: enables the mouse to move the stars away.
- `mouse-barrier`: Configuration for drawing a glow around the mouse.
- `offset-bounds`: The screen offset which enables the stars to go pass though screen boundaries.
- `MSAA`: enables multi-sample anti-aliasing
## Contribution
Contributions are welcome! If you have an idea for improvement or want to submit a fix, open an issue or send a pull request.
## License
This project is licensed under the [MIT License](LICENSE).
## Acknowledgments
- OpenGL for rendering
- Delaunay Triangulation algorithms for triangle generation
🎨 Transform your desktop into a geometric canvas with **Delaunay Flow**! ✨