◀ VibeCruiser

leave a light on

A free generative music toy — play it in your browser, no install. 把夜晚留一盏灯 · 一部 40 秒原创代码动画。雨夜、窗边的小猫、两杯热茶。. Leave a light on. 一部 40 秒的原创动画短片。 城市把夜晚拉得很长。总有一扇窗,替你亮着。 观看网页短片 · 下载 / 播放 MP4 从蓝色雨夜走到暖黄色的窗,再走进一张摆着两杯热茶的桌子。小猫望过街道,最后蜷在窗边。茶上有蒸汽,纸条上写着“慢慢回来,茶还热”。 片尾的一句:老公,灯给你留着。 40 秒,1920 × 1080,30 fps,H.264 / AAC MP4。 三个场景、缓慢镜头运动、溶解转场、落雨、玻璃水滴、猫的眨眼与尾巴、茶的蒸汽。…

by @shangshang21 · shangshang21/leave-a-light-on on GitHubLANG JavaScriptHOSTED ON SHANGSHANG21.GITHUB.IOUPDATED 4 Oct 2026

Made this, @shangshang21? See how many people played it → or use email

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

Leave a light on. 一部 40 秒的原创动画短片。

城市把夜晚拉得很长。总有一扇窗,替你亮着。

观看网页短片 · 下载 / 播放 MP4

从蓝色雨夜走到暖黄色的窗,再走进一张摆着两杯热茶的桌子。小猫望过街道,最后蜷在窗边。茶上有蒸汽,纸条上写着“慢慢回来,茶还热”。

片尾的一句:老公,灯给你留着。

40 秒,1920 × 1080,30 fps,H.264 / AAC MP4。 三个场景、缓慢镜头运动、溶解转场、落雨、玻璃水滴、猫的眨眼与尾巴、茶的蒸汽。 原创的合成音乐与雨声;没有外部歌曲、素材库画面或下载图片。 网页可播放、暂停、拖动进度、开关声音、全屏。第一次播放请点击画面按钮。

网页里的动画实时绘制,film/leave-a-light-on.mp4 是同一时间轴逐帧渲染的成片。

画面由 Canvas 2D 绘制,音乐由振荡器、包络、轻微反射和经过滤波的噪声合成。给定时间、种子和相同字体环境,画面可重复生成。

FFMPEG_PATH 缺省为 PATH 中的 ffmpeg。重新生成的 WAV、关键帧与日志放在被 Git 忽略的 work/,成片、网页音轨与封面放在 film/。RENDER_WORK、AUDIO_OUT 可指定临时输出位置。

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →