chaseleantj/deskworlds
Sobre
Interactive, living desktop wallpapers
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- +1
- em 7 dias
- +2
- em 15 dias
- +4
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalDeskworlds
Deskworlds puts a small living 3D world on your Mac desktop. The creatures in each world react to your cursor, and you can feed them from the menu bar. Everything runs locally with Three.js and WebGL2, with no account, analytics or internet connection.
Install on Mac
You need macOS 13 or newer and the Xcode command line tools (xcode-select --install). Clone the repository, then run this from the project folder:
sh wallpaper/install.sh
This builds the app, installs it at ~/Applications/Deskworlds.app, and adds a login item. The first frame takes about 20 seconds to appear. Your desktop picture is not changed; the world draws on top of it.
To update, pull the latest source and run the installer again. To remove it, run sh wallpaper/uninstall.sh.
Usage
Click the Deskworlds icon in the menu bar to switch worlds, feed the creatures, stir the fire, switch on the holiday lights, send a breeze through the cherry tree, or pause. Desktop icons and clicks work as usual.
The wallpaper lowers its frame rate on battery or when windows cover the desktop, and stops when the desktop is hidden, the screen is locked, or Low Power Mode is on. It reads your cursor position and window sizes for this, but does not record keystrokes or request any special permissions.
Run in a browser
All worlds also run in any browser with WebGL2. With Node.js 20 or newer:
npm start
Then open http://127.0.0.1:8080. Click a scene to drop food (or a pebble in the lake), or switch worlds from the menu at the top right. Space pauses, F toggles fullscreen, and H hides the controls.
Development
There are no dependencies to install. Each world lives in scenes/<name>/, the gallery in ui/, and the macOS app in wallpaper/. The list of worlds that the gallery and the world menu show is ui/worlds.js; the macOS app keeps its own in wallpaper/Wallpaper.swift, and a test checks the two agree.
npm run check
npm test
License
MIT. Three.js is bundled under its MIT license.
Explore projetos relacionados
Carregando…
