OpenZhenZhen AI 提示词画廊 · Claude Opus 5.5 · video
互动果冻压榨玩具
Interactive Jelly Squeeze Toy
一款互动3D果冻挤压玩具,带液压压机效果,由Claude Opus 5.5根据一次详细提示一次性生成为单文件HTML/WebGPU应用,预估API成本14.30美元。

提示词 / Prompt
English prompt
Create "Jelly Press": a single-file interactive 3D toy in HTML (all JS, CSS and WGSL shaders inline, no external assets except Google Fonts). Render with WebGPU; if WebGPU or an adapter is missing, show a clean fallback message instead of a blank page. CONCEPT Four translucent gummy jellies shaped like fruit slices sit one at a time on the steel bed of a hydraulic press. The player holds a big red button to lower the press. The jelly squashes and spreads, the pressure gauge climbs, and somewhere past half its height it bursts into pieces. After the burst the game does NOT end: the player can grab the pieces, drag them, throw them around, and squash them again. THE JELLIES (chips at the bottom, keys 1–4) 1. Watermelon wedge (half-disc slab): red flesh with dark teardrop seeds, a pale rind band, a green striped skin. 2. Orange slice (half-disc): orange pulp segments separated by thin white membranes, pale pith, orange peel. 3. Fig half: pink flesh full of small golden seeds, a cream layer, a dark purple skin. 4. Pineapple ring: golden fibrous flesh with radial streaks and a hole in the middle. Each jelly should look like real gummy candy: subsurface scattering, soft translucency, glossy specular highlights, soft shadows on a warm studio floor (cream/beige, tone-mapped). PHYSICS (CPU, fixed 60 Hz step) - XPBD tetrahedral soft body with 8 substeps: co-rotational per-tet shape matching, per-tet volume constraints, hard edge strain limits (0.35×–1.8×), edge velocity damping, floor contact with Coulomb friction, rolling resistance, and gentle settling when nearly still. - Render mesh skinned on the CPU through barycentric embedding in the tets; normals recomputed from triangles every frame. - The press die is a kinematic round platen (radius ~1.05, rounded edge, a thickness, a ram above it). It acts as a ceiling with friction below, a shelf on top, and a side wall at its rim. The two press posts are solid. - Pressure readout in bar comes from the platen's contact load, scaled per fruit. THE BURST - Break at a random squash between 52% and 66% of the jelly's height. - Plan the fracture in the background shortly after each round starts, so the burst itself is instant. - 5–7 big pieces from 3D Voronoi cells with slightly tilted walls. On 3–4 of them, a far corner is chipped off by two cutting planes and split further into 2–4 small chips, which leaves jagged, notched edges. - Assign tets to cells by centroid. Duplicate particles per chunk. Merge tiny islands into their neighbours. - The new body adopts the old positions and velocities. - Clip the skin triangles against each cell's half-spaces, and fill every cut face with a clean flat cap showing the fruit's interior (flesh, seeds, membranes). No stretched triangles, no holes. - Kick pieces outward and upward from the press. Small chips fly faster and higher and tumble with random spin. - Show a big italic verdict for about 2.5 s, then fade it: "Splat." (melon), "Squeezed." (orange), "Well, that's jam." (fig), "Crushed." (pineapple). Include a stat line: "Gave up at N bar and N% of its height." AFTER THE BURST: PLAY MODE - Picking: ray/triangle test against the skinned mesh, with a forgiving screen-space fallback for touch. - Grabbing pins the grabbed patch (radius ~0.4, only particles of that chunk) to a target on a camera-facing drag plane. Small chips move whole; big pieces stretch and swing like jelly. - Releasing throws the piece with the pointer's velocity. - Pieces collide with each other. A particle found inside another chunk's tet is pushed out through that chunk's nearest skin face, with friction. Use a chunk AABB broad phase and a spatial hash of skin tets. - Pieces stay on stage: side walls, plus an invisible front edge so nothing ends up under the controls or behind the camera. - The press still works: hold to squash the pieces again (no second fracture); Raise lifts the platen. - Wet "plop" sounds on landings; a small squelch on grab. - Cursor: open hand over pieces, closed hand while dragging. Dragging empty space orbits the camera. UI (editorial, minimal) - Masthead top-left: "JELLY PRESS" in bold condensed caps, with "PRESS" filled in yellow/black hazard stripes. Subtitle: "Four gummies. One hydraulic press." - Top-right: Reset and Sound toggle. - Bottom deck: - Caption line with escalating captions while pressing: "Contact." → "It's fine. It's jelly." → "Getting wider." → "That's a pancake now." → "It's making a noise." → "Please." - Circular pressure dial (0–400 bar arc, red zone) around a red HOLD button, a Raise button, and a big numeric bar readout. - Fruit chips with icons. - In play mode the caption slot shows "Grab a piece. Throw it." with small "Press again" and "Next jelly" buttons. - Controls: hold Space or ArrowDown to press, ArrowUp to raise, R to reset, 1–4 to pick a fruit. Wheel zooms; double-click resets the view. - Camera: low bench-level view; the press frame yaws per fruit so the posts never block the jelly. Framing adapts so the jelly sits between masthead and deck; works on phones (portrait) with a narrower stage. SOUND (procedural Web Audio, no files) Hydraulic motor hum that rises with pressure, wet squelches, occasional creaks at high pressure, a valve clunk when the platen stops, a loud burst, soft plops on landing. Unlock on first interaction. QUALITY BAR - Smooth 60 fps on a laptop. - Background warm-up of the other fruits' meshes and shaders so switching is instant. - Respect prefers-reduced-motion. - Accessible labels, a gauge with role=meter, focus-visible outlines. - No console errors. The page never goes blank.
主题与风格
探索更多图片和视频提示词 · 生成图片 · 生成视频 · 在 AI 画布中创作
相关作品
- 女人
超写实电影感人像短片,横屏 16:9,时长 10 秒,无对白、无旁白。 主体:一位二十出头的东亚年轻女性,黑色长发自然垂落到肩后,几缕碎发被风轻轻吹动;穿一件浅色真丝吊带衫,细肩带、锁骨与肩颈线条自然外露,整体是清爽日常的夏日造型。妆容清透,皮肤保留真实的毛孔、细微色差与自然高光,不做磨皮,不追求塑料质感。全片保持同一张脸、同一发型、同一件吊带衫、同一光线方向。 场景:傍晚的高层公寓,落地窗前。窗外是虚焦的城市灯火与深蓝暮色。室内只开一盏暖色落地灯,光从侧后方勾出她的肩颈轮廓,正面由窗外的冷蓝环境光补亮,形成暖冷对冲。 核心事件:她原本背对镜头望着窗外,被一阵晚风和远处隐约的闷雷唤回神,
- 路边的她
写实电影质感短片,10秒,16:9横屏,单一连续镜头,无剪辑、无对白。 【场景与氛围】 中国西北或内蒙一带的秋日草原公路。一条双车道柏油公路从画面右下方斜向延伸至远处地平线,路面有细微裂纹与浅色分道线,透视消失点压在画面上三分之一处。公路左侧是一片空旷的金黄色草原,草高及膝,随风形成层层波浪般的倒伏与起伏。远处是低垂厚重的灰白色层云,云底压得很低,几乎与远山相连;更远处是一列轮廓柔和的青灰色山脊,被空气透视淡化成淡蓝灰色。天色是阴天傍晚的散射光,光比柔和,没有直射阳光,整体色调冷调偏灰,草地的暖金色与大面积的冷灰形成温和对比。 【主体与一致性】 一位二十七八岁的亚洲女性,倚靠在公路左侧一辆
- 闪身步
https://www.runninghub.ai/zh-cn/ai-detail/2109209394184478722/?inviteCode=rh-v1256
- 谁叫你这么运镜的
https://www.runninghub.ai/zh-cn/ai-detail/2109209394184478722/?inviteCode=rh-v1256 一键复刻
- 哈士奇111
subject_definitions: <Subject 1> 是本片唯一的宠物主角 — FACE from <Picture 1>(哈士奇雪橇犬,冰蓝色眼睛,黑色鼻头,黑白双色、头顶黑色面罩纹、灰黑鞍部、白脸白胸白四肢,蓬松双层毛、体态骨架匀称结实,气质活泼)。只参考 <Picture 1> 的外观(五官、毛色、花纹、体型),不使用 <Picture 1> 的背景、场景与构图;视频全程保持与 <Picture 1> 外观完全一致。 summary: [reference generation] 0-5s 静谧微距张力;5-9s 爪部微距切全景;9-15s 摇臂升空+逆光剪影谢幕。主角全程
- 哈士奇
subject_definitions: <Subject 1> 是本片唯一的宠物主角 — FACE from <Picture 1>(哈士奇雪橇犬,冰蓝色眼睛,黑色鼻头,黑白双色、头顶黑色面罩纹、灰黑鞍部、白脸白胸白四肢,蓬松双层毛、体态骨架匀称结实,气质活泼)。只参考 <Picture 1> 的外观(五官、毛色、花纹、体型),不使用 <Picture 1> 的背景、场景与构图;视频全程保持与 <Picture 1> 外观完全一致。 summary: [reference generation] 0-4s 鼻头超微距视觉钩子;4-9s 变速极速拉出+3D环绕;9-15s 0.4x呼吸感定格