ai21.net
语言

Create an interactive zen garden simulation in a single HT…

演示视频

Create an interactive zen garden simulation in a single HT… — 1

提示词

Create an interactive zen garden simulation in a single HTML file. Implement a 1536px heightmap on a 440x440 grid for the sand. Allow users to drag across the sand to cut grooves (5 grooves and 6 ridges per stroke) along their path. Include 5 mossy rocks, 2 stone lanterns, and a maple tree with 420 leaves. Add a time-of-day toggle; when set to golden hour, drop the sun low so every groove throws a shadow. Ensure the rendering handles moss visibility through sand and prevents blocky rocks or out-of-frame lanterns.

中文译文

在一个单独的 HTML 文件中创建一个可交互的禅意庭院模拟。为沙地实现一个 440x440 网格上的 1536px 高度图。允许用户拖过沙面,沿其路径刻出沟槽(每一笔 5 条沟槽和 6 条垄脊)。包含 5 块长满苔藓的石头、2 座石灯笼,以及一棵有 420 片叶子的枫树。添加昼夜切换;设为黄金时刻时,把太阳压低,让每一条沟槽都投下阴影。确保渲染能处理苔藓透过沙子的可见性,并避免石头出现块状、灯笼跑出画面。

溯源

原作者
arixxbt
发布日期
2026-10-09(由推文 ID 反解)
原始出处
查看原帖 ↗
收录来源
yihui-dev/awesome-opus5-5-videos · arixxbt-292438 · MIT