ai21.net
語言

交互式毛絨鯊魚對比

示範影片

交互式毛絨鯊魚對比 — 1

提示詞

Build a single-file WebGPU interactive experience featuring a soft, squishy plush shark.

Design the shark with a recognizable silhouette: a rounded body, pointed snout, dorsal fin, side fins, and a powerful tail. Give it a blue fabric exterior, cream belly, glossy black button eyes, stitched gills, and a playful mouth with small felt teeth. Make the fabric visibly fuzzy, with subtle seams and soft shadows.

Interactions:
- Grab and drag any part of the shark. Its body should stretch, squash, wobble, and settle naturally.
- Pull its tail and release to make it dash forward.
- Boop its nose for a cute reaction.
- Brush its fur with a comb tool.
- Feed it little fish and animate it chasing and eating them.
- Let it swim in gentle circles when idle.

Use convincing soft-body physics with volume preservation, springy recovery, and responsive fins and tail. Avoid rigid movement or excessive jitter.

Include controls for stuffing firmness, fur length, swimming speed, and color palettes. Add reset, feed, dash, and wireframe buttons.

Present everything in a polished minimalist interface with a warm off-white background, elegant typography, a compact settings panel, and the title “Plush Shark.”

Deliver one self-contained HTML file with all code and assets embedded. Use WebGPU for rendering, support mouse and touch, and keep the experience smooth and responsive.

中文翻譯

構建一個單文件的 WebGPU 互動體驗,主角是一隻柔軟、Q 彈的毛絨鯊魚。

把鯊魚設計成一眼可辨的輪廓:圓潤的身體、尖尖的吻部、背鰭、側鰭和有力的尾巴。給它藍色的布面外層、奶油色肚皮、有光澤的黑色紐釦眼、帶縫線的鰓,以及一張帶小小毛氈牙齒的俏皮嘴巴。讓布面明顯起絨,帶有細微的縫線和柔和的陰影。

交互:
- 抓住並拖動鯊魚的任何部位。它的身體應被拉伸、擠壓、晃動,然後自然恢復。
- 拉它的尾巴再鬆開,讓它向前衝刺。
- 戳它的鼻子,得到一個可愛的反應。
- 用梳子工具梳理它的毛。
- 餵它小魚,並做出追逐、喫掉小魚的動畫。
- 空閒時讓它在水裏緩緩轉圈遊動。

使用可信的軟體物理,保持體積,帶回彈式恢復,魚鰭和尾巴要反應靈敏。避免僵硬的動作或過度抖動。

加入填充硬度、毛長、遊動速度和配色方案的控件。添加 reset、feed、dash 和 wireframe 按鈕。

把一切呈現在一個精緻的極簡界面裏:溫暖的米白背景、優雅的字體、緊湊的設置面板,以及標題 “Plush Shark.”

交付一個自包含的 HTML 文件,所有代碼和資源都內嵌其中。使用 WebGPU 渲染,支持鼠標和觸摸,並讓體驗保持流暢、響應及時。

溯源

原作者
vib3coded
發佈日期
2026-10-07(由推文 ID 反解)
原始出處
查看原帖 ↗
收錄來源
zhuyansen/awesome-opus-5.5-video · 2107773295676227691 · 未聲明授權