ai21.net
语言

互动毛绒企鹅模型对比

演示视频

互动毛绒企鹅模型对比 — 1

提示词

Build a single-file WebGPU "material study" page called "Plush Penguin": editorial studio layout, large italic serif title "Plush / Penguin.", kicker "Material Studies / No. 016", caption "A fluffy egg on two felt feet. It waddles, it toboggans, it falls over — and always gets back up.", live status chip, specimen panel on the right, stats row (Mass, Volume, Steps, Slide in cm), collapsible "Inside the experiment" notes. UI in English, works on mobile.

The toy: a round plush penguin chick — an egg-shaped stuffed body as one SDF meshed with surface nets, a dark cap and back, a pale fluffy face and belly, big glossy safety-glass eyes, a small felt beak, pink cheeks, two flat felt feet. Its flippers are separate cloth pieces (particle cloth sewn to points embedded in the body) that flop, flap and stretch.

Physics: XPBD soft body on a hex lattice (shape-matched cells + tetrahedral volume preservation, live volume readout), skinned to the mesh, standing on a table with Coulomb friction. Locomotion by posture: a weak pull of the whole body toward its rest shape turned to an orientation and carried with its centre of mass, so the stuffing does the moving. Behaviours: Waddle (rocks side to side, lifting each foot and setting it down ahead), Belly slide (a little hop, flops forward onto its tummy and toboggans across the table, then rocks back up), Flap (happy flapping and a couple of hops), Topple (falls onto its back, belly or side and rocks itself upright with an overshoot), Smooth fur, Reset. Finger: it waddles over to your finger; push it and it falls over. Hand: pick it up, squash it, pull a flipper and it comes along.

Fur: real-time shell fur with alpha-to-coverage — long fluffy down on the body, short on the face, combable with a Comb tool (against the grain darker, with it shinier). Sliders: Stuffing, Pile (mm), Table (felt ↔ ice friction, so it slides further on ice). Palettes: Chick, Classic, Little blue. ¼ speed and mesh toggles, Pause. 60 fps.

中文译文

构建一个单文件 WebGPU“材质研究”页面,名为“Plush Penguin”:编辑式的工作室布局、大号斜体衬线标题“Plush / Penguin.”、眉题“Material Studies / No. 016”、图注“A fluffy egg on two felt feet. It waddles, it toboggans, it falls over — and always gets back up.”、实时状态胶囊、右侧的标本面板、数据行(Mass、Volume、Steps、Slide in cm)、可折叠的“Inside the experiment”注释。界面为英文,可在移动端使用。

玩具:一只圆滚滚的毛绒企鹅幼崽——蛋形的填充身体作为一个 SDF,用 surface nets 网格化生成,深色的头顶和背部,浅色蓬松的脸和腹部,大而光亮的安全玻璃眼,一个小毛毡喙,粉色脸颊,两只扁平的毛毡脚。它的鳍肢是独立的布料片(粒子布料缝在嵌入身体的固定点上),会耷拉、拍打和拉伸。

物理:六边形晶格上的 XPBD 软体(形状匹配单元 + 四面体体积保持,实时体积读数),蒙皮到网格上,站在带库仑摩擦的桌面上。以姿态驱动移动:整个身体被微弱地拉向它的静止形状,该形状转为朝向,并随其质心一起移动,因此是填充物在带动它移动。行为:Waddle(左右摇摆,抬起每只脚并放到前方)、Belly slide(小跳一下,向前趴到肚子上,在桌面上滑行,然后再摇回站姿)、Flap(开心地拍动并蹦跳几下)、Topple(仰面、趴着或侧身倒下,然后带着过冲把自己摇正)、Smooth fur、Reset。Finger:它会摇摇摆摆地走向你的手指;推它一下它就会倒下。Hand:把它捡起来、压扁它、拉一下鳍肢,它就会跟着过来。

毛发:采用 alpha-to-coverage 的实时壳层毛发——身体上是长而蓬松的绒毛,脸上则较短,可用 Comb 工具梳理(逆着毛流颜色更深,顺着毛流更亮)。滑块:Stuffing、Pile (mm)、Table(毛毡 ↔ 冰面摩擦,因此在冰面上滑得更远)。配色:Chick、Classic、Little blue。¼ 速度与网格开关、Pause。60 fps。

溯源

原作者
vib3coded
发布日期
2026-10-11(由推文 ID 反解)
原始出处
查看原帖 ↗
收录来源
zhuyansen/awesome-opus-5.5-video · 2109288662319919127 · 未声明许可