Skip to content
프로젝트

소개

상호작용할 수 있는 살아 움직이는 데스크톱 배경화면

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+2
in 15 days
+4
in 1 month
업데이트 지연

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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.

관련 프로젝트 살펴보기

불러오는 중…