尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Sunlight filtering through leaves onto paper, at your own time of day, in the browser.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
木漏れ日, sunlight filtering through leaves, on a sheet of cold-press watercolour paper, in the browser, at your own time of day. By night the moon takes over and the words become 木漏れ月, komorezuki. Now and then a visitor comes to the light: a sparrow to the shrub by the window, a butterfly, a bumblebee, and by night a moth. Then open http://localhost:5181. npm run build writes a static site to dist that any static host can serve. In the address, #clock=17.5 opens at a given time (otherwise the light follows your clock), and #screensaver shows the light alone.查看完整 README ↗
木漏れ日, sunlight filtering through leaves, on a sheet of cold-press watercolour paper, in the browser, at your own time of day. By night the moon takes over and the words become 木漏れ月, komorezuki. Now and then a visitor comes to the light: a sparrow to the shrub by the window, a butterfly, a bumblebee, and by night a moth.
Live: https://komorebi-light.vercel.app
npm install
npm run dev
Then open http://localhost:5181. npm run build writes a static site to dist
that any static host can serve.
In the address, #clock=17.5 opens at a given time (otherwise the light follows
your clock), and #screensaver shows the light alone.
"screensaver" on the page shows the light alone, full screen, and keeps the screen awake; any key or movement brings the page back.
To make it your computer's screensaver or wallpaper, give an app that shows web pages the address https://komorebi-light.vercel.app/#screensaver (or your own build's):
src/light, three.js with GLSL). The paper lies flat with the
window behind you. For every point of the paper the shader integrates over the
sun's disc: each direction toward the sun passes the window's rail, a visitor
when one is about, a balcony shrub 45 cm away, a garden tree at 3 m and far
crowns at 9 m. So
shadows soften with distance as real ones do, and gaps in the far canopy cast
round images of the sun.settings.js, daylight.js) is a few art-directed moments,
between which every value follows a monotone curve: rose at sunrise, near white
at noon, gold in the late afternoon, a street lamp at blue hour, then the moon.visitors.js) come one at a time, modelled in 3D at their
real size and cast along the light, so only their shadows are seen, softened
by their distance like every leaf's. A sparrow (bird.js) comes down along the
light, lands on a twig that dips under its weight, looks about, preens and
leaves. A butterfly, a bumblebee and, by night, a moth (insects.js) fly
about the light by the window, often in at it, where their small shadows are
sharpest, and settle on the window's bar or a twig: the butterfly basks with
its wings to the sun, the bee hovers and darts, the moth dances and rests with
its wings in a delta.src/dissolve) are drawn as ink: written in on arrival, lifted
where the pointer passes and settling back. The page's own text stays in place,
transparent, for selection and screen readers.src/sunpath.js) is the sky itself: the sun's arc over the
horizon by day and the moon's by night, and on them the sun or the moon, which is
what you move. It springs to where you press, follows the hand, glides on when
flicked, and holds a little at sunrise, sunset and your own time. A native range
input lies over it, so keyboard, touch and assistive technology work.clips/clips.js holds the choreography of the clips posted with the page. With
the development server running and the browser's view at 960 × 540 (device pixel
ratio 2), in the page's console:
const { record } = await import('/clips/clips.js');
await record('day');
Frames and the music go to captures/clip-day. On macOS, encode them with:
swiftc -O tools/encodeav.swift -o tools/encodeav
tools/encodeav captures/clip-day 30 captures/clip-day/track.wav komorebi-day.mp4
By Sandeep Joshi (@sandypjoshi on X). The code is under the MIT licence
(LICENSE), except:
src/light/shaders/paper.frag contains getRoughness() and getFiber() from
Paper Shaders' Paper Texture shader
(@paper-design/shaders 0.0.81, Copyright 2026 Paper), Apache License 2.0
(third-party/paper-shaders).public/fonts) is Fraunces with its optical size, softness and
wonk fixed (the reading text at optical size 12, the word itself at 72;
scripts/instance-font.py), under the SIL Open Font License
(public/fonts/OFL.txt). 木漏れ日 and 木漏れ月 are set in Shippori Mincho, and two
IPA letters in Noto Serif, both from Google Fonts.