[Open Source Share] Add Wallpaper Engine live wallpapers to Google Antigravity, with 4K 60FPS and full UI customization
Recently I built some extensions on top of an open-source project, adding Wallpaper Engine live wallpaper support to Google Antigravity, along with a theme editor, frosted glass effects, and some performance tweaks.
The main goal was to make Antigravity's UI a bit more flexible — not just changing the background color, but letting you tune the whole working environment to your liking.
The project is open source now, sharing it with folks who also like messing with their IDE UI.
Main features
1. Wallpaper Engine live wallpapers
It can read directly from your local Steam Workshop Wallpaper Engine library, with 4K 60FPS video playback.
-
Supports MP4 and WebM video wallpapers and HTML web wallpapers
-
Automatically detects Steam Workshop directories across different drives
-
Built-in visual wallpaper picker with preview and quick switching
-
Newly downloaded wallpapers can be loaded by hitting Refresh — no restart needed
-
Supports sound control, Eco Pause power-saving mode, and multi-monitor setups
One thing to note: Wallpaper Engine's Scene-type wallpapers can't be played directly for now, but you can use them by recording a video.
No Wallpaper Engine install needed — regular images and local videos work as backgrounds too.
2. Custom theme editor
Press Alt + Shift + T to open Custom Theme Studio.
You can directly adjust background brightness, frosted glass blur amount, user and AI avatars, chat bubbles, input box styles, and more.
There are currently 4 input box styles, light and dark themes are supported, and you can import/export configs via JSON so it's easy to share your themes.
3. Performance optimizations
Put some effort into this part too — after all, an IDE is still for writing code.
The project follows the Zero Live Blur design approach, pre-processing part of the frosted glass effect through an offscreen Canvas to reduce the rendering cost of real-time CSS blur.
Also added:
-
CSS variable caching to cut down on repeated parsing when adjusting themes
-
Automatically releasing unneeded static wallpaper textures during video playback
-
Using ResizeObserver to reduce unnecessary layout calculations
-
Split-screen browser automatically avoids background effects so web content stays clear
4. Auto-runs with Antigravity
The theme engine integrates with Antigravity through a Native Sidecar.
It starts when you open Antigravity and exits when you close it — no need to set up a separate startup entry or keep an extra background process running.
5. Let AI design themes for you
This one's pretty fun too.
You can just send Antigravity a reference image and have the AI generate a theme config based on the image's colors and style.
No need to tweak color parameters bit by bit — good for users who want to quickly try out different visual styles.
Installation
Installation is actually pretty simple — just send the GitHub repo link to Antigravity.
Then tell it:
Please read the README of this GitHub repo and follow the project instructions to help me complete the installation.
Antigravity can help with the configuration based on the install scripts and docs in the repo; just handle any steps that need authorization or confirmation manually.
The specific install commands and instructions are all in the README, so I won't repeat them here.
Project link
GitHub:
https://github.com/nimosocute/antigravity-wallpaper-engine-theme
The project is open source under the MIT license.
This version builds on antigravity-custom-theme-skill — thanks to the original author @giakiet22102006 for the theme engine and related architecture.
Right now I'm mainly polishing features based on my own usage habits. Feel free to try it out, report issues, or share ideas for improvements.
[开源分享] 给 Google Antigravity 加上 Wallpaper Engine 动态壁纸,支持 4K 60FPS 和完整 UI 自定义
最近基于开源项目做了一些扩展,给 Google Antigravity 加入了 Wallpaper Engine 动态壁纸支持,同时整合了主题编辑器、毛玻璃效果和一些性能优化。
主要是想让 Antigravity 的界面更自由一些,不只是换个背景颜色,而是可以按照自己的喜好调整整个工作环境。
项目目前已经开源,分享给同样喜欢折腾 IDE 界面的朋友。
主要功能
1. Wallpaper Engine 动态壁纸
可以直接读取本地 Steam Workshop 的 Wallpaper Engine 壁纸库,支持 4K 60FPS 视频播放。
-
支持 MP4、WebM 视频壁纸和 HTML 网页壁纸
-
自动识别不同磁盘中的 Steam Workshop 目录
-
内置可视化壁纸选择器,支持预览和快速切换
-
新下载的壁纸点击 Refresh 就能加载,不需要重启
-
支持声音控制、Eco Pause 节能模式以及多显示器使用
需要说明的是,Wallpaper Engine 的 Scene 类型壁纸暂时不能直接播放,但可以通过录制视频的方式使用。
不安装 Wallpaper Engine 也没关系,普通图片和本地视频同样可以作为背景。
2. 自定义主题编辑器
按 Alt + Shift + T 就能打开 Custom Theme Studio。
可以直接调整背景亮度、毛玻璃模糊程度、用户和 AI 头像、聊天气泡、输入框样式等。
目前提供 4 种输入框风格,支持浅色和深色主题,也可以通过 JSON 导入、导出配置,方便分享自己的主题。
3. 性能优化
这部分也花了一些精力,毕竟 IDE 还是要拿来写代码的。
项目沿用了 Zero Live Blur 的设计思路,通过离屏 Canvas 预先处理部分毛玻璃效果,减少 CSS 实时模糊带来的渲染开销。
另外还加入了:
-
CSS 变量缓存,减少调整主题时的重复解析
-
视频播放时自动释放不需要的静态壁纸纹理
-
使用 ResizeObserver 减少不必要的布局计算
-
分屏浏览器自动避让背景效果,保证网页内容清晰
4. 跟随 Antigravity 自动运行
主题引擎通过 Native Sidecar 与 Antigravity 集成。
打开 Antigravity 时自动启动,关闭后自动结束,不需要单独设置开机自启或者一直运行额外的后台程序。
5. 让 AI 帮你设计主题
这个功能也比较有意思。
可以直接给 Antigravity 发一张参考图片,让 AI 根据图片的配色和风格生成主题配置。
不需要自己一点点修改颜色参数,比较适合想快速尝试不同视觉风格的用户。
安装方式
安装其实很简单,直接把 GitHub 仓库链接发给 Antigravity 就可以了。
然后告诉它:
请阅读这个 GitHub 仓库的 README,并按照项目说明帮我完成安装。
Antigravity 可以根据仓库里的安装脚本和文档协助完成配置,需要授权或确认的步骤再手动操作即可。
具体安装命令和说明都放在 README 里,这里就不重复写了。
项目地址
GitHub:
https://github.com/nimosocute/antigravity-wallpaper-engine-theme
项目基于 MIT 协议开源。
这个版本是在 antigravity-custom-theme-skill 的基础上继续开发的,感谢原作者 @giakiet22102006 提供的主题引擎和相关架构。
目前主要是按照自己的使用习惯在完善功能,也欢迎大家试用、反馈问题或者交流改进思路。
Translated by AI from 简体中文Original (简体中文)
1 replies
Sort order