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