OpenZhenZhen AI 提示词画廊 · Claude Opus 5.5 · video
可互动的果冻西瓜玩具
Interactive Jelly Watermelon Toy
创作者制作了一个可在浏览器中抓取、变形并切成多块的光泽果冻西瓜。提示词要求使用原生 WebGPU 和 WGSL,实现单文件 HTML。

提示词 / Prompt
English prompt
Build "Whole Melon": a single self-contained HTML file (all JS/CSS inline, no build step, no libraries) with a big whole watermelon made of glossy jelly that you can grab, wobble and cut into pieces with a knife. Render with raw WebGPU (WGSL); if WebGPU is missing, show a clean fallback card. SHAPE AND MATERIAL - The melon is a signed distance field: an ellipsoid (~32 cm long) lying on its side with a softly flattened belly. - Layers by depth under the skin: dark-green skin with irregular darker stripes running pole to pole (seamless all the way around), a pale pith band, then translucent red flesh that brightens toward the rind. Add a pale yellow field spot on the belly, a stem scar at one end and a blossom end at the other. - About 700 seeds in a three-lobed ring at roughly two thirds of the radius (teardrops, wide end pointing outward), plus tiny air bubbles. Mesh seeds only near cut faces; a seed the knife goes through is kept by one side and eased just under the new face, so it shows through a thin film of jelly. - Three varieties: Crimson, Golden, Rosé. PIECES AND CUTTING - Every piece is the melon SDF clipped by the half-spaces of the cuts that made it, with the fresh edges rounded (smooth max). All pieces share the melon's original rest frame, so rind, pith, stripes and seeds stay exactly where they grew. - Knife tool: the user draws a line across the melon. Read the stroke on top of what it crosses to get a vertical blade plane. For each piece the plane passes through, fit the piece's best rotation, carry the plane into rest space, and split the piece in two. - Build the new pieces cooperatively (generators with a per-frame time budget) while a steel knife (brushed blade, wooden handle with rivets) lines up over the stroke and presses a groove into the jelly. Swap the new pieces in the moment the edge breaks through, carrying over the position and velocity of the flesh they came from, and let the blade wedge them apart as it sinks. Allow up to about 24 pieces and reject slivers. - For each piece: a surface-nets render skin (evaluate only the blocks near the surface, one Newton step onto it), a hex lattice in the piece's principal frame with boundary nodes snapped onto the surface, and a fast barycentric embedding. PHYSICS (XPBD on the CPU, fixed 60 Hz, 6 substeps) - Cell-wise co-rotational shape matching (8-node cells, warm-started rotation, strain stiffening), tet volume constraints for near-incompressibility, rind firmer than flesh. - Edge damping, plus damping of each piece's deformation relative to its rigid motion (never its fall or tumble), rolling resistance on the table, and sleep when calm. - Piece-to-piece contact against each other's exact SDF in a best-fit frame; sleeping pieces act as walls. Floor contact with Coulomb friction. - Hand tool: grab any piece and pull (soft patch attachment, with enough reach to drag pieces across a wide table). Scroll or a second finger twists while holding. Pinch or scroll zooms; dragging the empty table orbits the camera. RENDERING (a photographic product shot) - Procedural studio: pale paper sweep, overhead softbox, back-left strip light, cool fill card. - Jelly: front faces refract the scene behind by the view-ray thickness (nearest-back-face pass), with Beer–Lambert absorption per material, milky scattering in the pith, a back-lit glow at thin edges, sugar glints, Fresnel studio reflections and GGX highlights. - Seeds, bubbles and the knife are drawn before the jelly, so they are seen refracted through it. - Normals follow the jelly's local deformation (cofactor of the node-averaged deformation gradient). - A soft key shadow coloured by what the light crossed first (rosy through flesh, dark through rind), plus contact occlusion from a top-down height map. MSAA, Khronos PBR Neutral tone mapping. UI (editorial, like a material study) - Kicker "Material Studies / No. 010" and a big italic serif title "Whole / Melon." - A panel with Tool (Hand / Knife), Variety, Firmness and Internal damping sliders, Nudge, Reset, ¼ speed, Show mesh and Pause. - Live readouts: mass, volume %, kinetic energy, piece count. A collapsible "Inside the experiment" note. - Responsive down to phones. Quality bar: it should look and move like a real glossy jelly watermelon, and every cut face should look like a sliced jelly melon with seeds just under the surface. Test headlessly with screenshots: the whole melon, mid-cut, many pieces, a close-up of a cut face, and mobile.
主题与风格
探索更多图片和视频提示词 · 生成图片 · 生成视频 · 在 AI 画布中创作
相关作品
- MiniMax H3导演台_语义增强 vbvr+字节8步lora
subject_definitions: <Subject 1> is the ink-wash bamboo grove in <Picture 1>, with its material quality and brushwork: deep pine-green and teal ink laid on coarse-grained ivory rice paper, three or four stalks rising on the right side, layered clusters of long pointed leaves in near and far ink dens
- muse-video
@图片1 为女生角色参考图,锁定五官、发型、服装与饰品一致性。 场景:@场景1 室内;参考图只作人物外观参考,不锁定首帧 音乐:生成节奏清晰、带暧昧张力的原创女声R&B-pop,BPM约100-108,低频贝斯+短促电子鼓点无歌词;镜头拿起/放下、突然怼脸都踩鼓点。叠加衣料、拨发、近距离呼吸、轻笑、室内底噪。 1)开场中近景:从面部到腿部,尽头推进,人物扭动身体 2)突然拿起镜头怼脸:前摄瞬间贴到眼睛、鼻尖、嘴唇,精致妆容(粉珊瑚唇、淡眼线、碎发贴颊)充满画面;表情在娇羞与撩人之间切换——先垂眼抿嘴,再抬眼锁镜头,轻歪头、轻眨眼、嘴角若有若无的笑。 3)再放下或稍退:回到胸以上,拨发、侧头;下
- 心月狐全身诱惑展示
15秒真人电影感的成年女性高级时尚诱惑短片,严格呈现十个互不重复、逐步增强亲密距离的主体姿态。@Image 1 只控制成年女主的脸、发型、肤色、体型、妆容、现有服装、饰品及鞋袜/裸足状态,不继承参考图背景、姿势、构图、文字、道具或其他人物。全片始终是 @Image 1 的同一名21岁以上虚构成年女性,完整保持参考图中的服装、颜色、材质、层数、剪裁、饰品及鞋袜/裸足状态,不新增、更换、脱除、拉开或重新设计任何服装。 场景由模型生成,为深色高级时尚摄影棚与一张低矮软椅,暖金轮廓灯勾勒人物外形,背景干净且没有其他人物、文字或品牌标识。约140 BPM的低沉电子节拍贯穿全片;十个姿态各占1.5秒,
- 女人
超写实电影感人像短片,横屏 16:9,时长 10 秒,无对白、无旁白。 主体:一位二十出头的东亚年轻女性,黑色长发自然垂落到肩后,几缕碎发被风轻轻吹动;穿一件浅色真丝吊带衫,细肩带、锁骨与肩颈线条自然外露,整体是清爽日常的夏日造型。妆容清透,皮肤保留真实的毛孔、细微色差与自然高光,不做磨皮,不追求塑料质感。全片保持同一张脸、同一发型、同一件吊带衫、同一光线方向。 场景:傍晚的高层公寓,落地窗前。窗外是虚焦的城市灯火与深蓝暮色。室内只开一盏暖色落地灯,光从侧后方勾出她的肩颈轮廓,正面由窗外的冷蓝环境光补亮,形成暖冷对冲。 核心事件:她原本背对镜头望着窗外,被一阵晚风和远处隐约的闷雷唤回神,
- 路边的她
写实电影质感短片,10秒,16:9横屏,单一连续镜头,无剪辑、无对白。 【场景与氛围】 中国西北或内蒙一带的秋日草原公路。一条双车道柏油公路从画面右下方斜向延伸至远处地平线,路面有细微裂纹与浅色分道线,透视消失点压在画面上三分之一处。公路左侧是一片空旷的金黄色草原,草高及膝,随风形成层层波浪般的倒伏与起伏。远处是低垂厚重的灰白色层云,云底压得很低,几乎与远山相连;更远处是一列轮廓柔和的青灰色山脊,被空气透视淡化成淡蓝灰色。天色是阴天傍晚的散射光,光比柔和,没有直射阳光,整体色调冷调偏灰,草地的暖金色与大面积的冷灰形成温和对比。 【主体与一致性】 一位二十七八岁的亚洲女性,倚靠在公路左侧一辆
- 闪身步
https://www.runninghub.ai/zh-cn/ai-detail/2109209394184478722/?inviteCode=rh-v1256