chaseleantj/deskworlds
概要
操作できる、生き生きとしたデスクトップ壁紙
開発ツール計測したスター増加
- 24時間
- +1
- 7日間
- +2
- 15日間
- +4
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルDeskworlds
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.
関連プロジェクトを探す
読み込み中…
