Skip to content
المشاريع

حول

Interactive, living desktop wallpapers

أدوات التطوير

كيف تُقاس هذه الأرقام

474 نجمة73 التفرعات +1 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+١
خلال 7 أيام
+٢
خلال 15 يومًا
+٤
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Deskworlds

Riverbed, Bonfire, Plasma globe and Cherry blossom on a Mac desktop, each answering the cursor

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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…