◀ VibeCruiser

ink shan shui

A free generative art piece — play it in your browser, no install. 一笔江山 · One-stroke ink landscape — draw a stroke, watch a Chinese ink-wash mountain range grow, with streams running down its ridges. Single HTML file, zero build.

by @zhenmoran · zhenmoran/ink-shan-shui on GitHubLANG HTML★ 1HOSTED ON ZHENMORAN.GITHUB.IOUPDATED 1 Oct 2026▶ 5+ plays this week

Made this, @zhenmoran? 25+ people played it here → or use email

Controls: Mouse

▶ 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

单文件 · 零构建 · 直接双击就能跑

全部逻辑都在 index.html 一个文件里,Three.js 通过 importmap 从 CDN 取(three@0.160.0)。

为什么不直接从峰顶往下冲?山脊在水平方向只有约 4 个单位宽(笔刷 σ 窄), 直着冲下去路径只有三四个单位,出来是一小截断头水。沿脊布源、垂直排水, 数量多、分布匀,才是"山间处处有流水"的样子。

每套风格是一张色表(九级色阶 + 水色 + 树冠色 + 光照 + 天光)。UI 走 CSS 变量, body.night 一挂就把整套界面翻成深色。树冠存的是随机量(色相/饱和/亮度)而不是 颜色,所以换风格时整片树一起换色,还保持高低错落。

InstancedMesh.instanceColor 是乘在 material.color 上的。树冠基色沿用了 原稿的绿,五套主题的叶子就全被拉向同一个绿 —— 夜月档下也是一树绿,一眼假。 基色改白、让主题色成为唯一来源才干净。

不想开浏览器联网,就直接双击 index.html(或 clone 下来)。 Three.js 从 npmmirror 取,第一次需要联网。

想换 CDN,改 importmap 里那两行就行(jsdelivr 的地址在旁边的报错提示里给了)。

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 →