ai21.net
语言

果冻物理效果迭代对比

演示视频

果冻物理效果迭代对比 — 1

提示词

Create Citrus Jelly — an interactive 3D scene featuring a gummy orange slice. Everything must run directly in the browser in a single HTML file using WebGPU and WGSL shaders. Build genuine volumetric 3D geometry, not an image or a prerecorded animation.
APPEARANCE
A thick semicircular orange slice with vibrant orange flesh, a pale pith layer, and a firmer outer rind.

Visible radial segments, thin internal membranes, and tiny bubbles.
A juicy, translucent gummy material with soft highlights, light refraction, and depth-dependent color.
Avoid making it look like rigid plastic or glass.
Use a light cream background, soft studio lighting, and a contact shadow. Avoid overexposure.
PHYSICS AND INTERACTION

Let users grab any visible point with a mouse or finger and pull it.

Deformation must originate at the grab point and propagate naturally through neighboring areas.
The flesh should stretch and narrow under tension, while the rind offers more resistance.
On release, the slice should spring back gently, with oscillations gradually settling.
Use a stable soft-body simulation: a spring mesh or volumetric elastic constraints with volume preservation.
Segments, membranes, and bubbles must deform with the flesh rather than separating or floating independently.
Include ground collisions: the slice should squash slightly on impact and wobble afterward.
Prevent instant snapping back, endless oscillation, and exploding geometry.
INTERFACE

A minimal editorial layout with generous whitespace.

A large italic serif heading, “Citrus Jelly.”, on the left.
A compact control panel on the right with Firmness and Internal damping sliders.
Give it a nudge, Reset, and Pause buttons.
Show mesh and ¼ speed toggles.
Three color presets: Orange, Blood Orange, and Lemon.
A small interaction hint: “Grab. Stretch. Let go.”
All labels in English, with comfortable desktop and mobile controls.
TECHNICAL REQUIREMENTS

Genuine WebGPU rendering, not a Canvas 2D substitute.

Generate geometry and materials in code without premade models.
Use a fixed simulation timestep and constraints that prevent excessive stretching.
Maintain smooth performance during grabbing, dragging, and release.
Display a clear fallback message when WebGPU is unavailable.
Test different grab locations, strong stretching, oscillation decay, collisions, and reset.
The main priority is a convincing gummy feel. The slice should look soft, juicy, and so satisfying in motion that people want to keep stretching it.

中文译文

创建 Citrus Jelly —— 一个以软糖橙子切片为特色的交互式 3D 场景。所有内容都必须直接在浏览器中运行,放在单个 HTML 文件里,使用 WebGPU 和 WGSL 着色器。构建真正的、有体积感的三维几何体,而不是图像或预录动画。
外观
一个厚实的半圆形橙子切片,橙色果肉鲜亮,有一层浅色的白瓤,以及更紧实的外层果皮。

可见的放射状果瓣、纤细的内部隔膜和微小的气泡。
多汁、半透明的软糖材质,带有柔和的高光、光线折射和随深度变化的色彩。
避免让它看起来像僵硬的塑料或玻璃。
使用浅奶油色背景、柔和的棚拍灯光和接触阴影。避免过曝。
物理与交互

让用户可以用鼠标或手指抓住任意可见点并拉动。

形变必须从抓取点产生,并自然传播到相邻区域。
果肉受拉时应被拉伸并变窄,而果皮提供更大的阻力。
松手后,切片应轻柔回弹,振荡逐渐平息。
使用稳定的软体模拟:弹簧网格,或带体积保持的体弹性约束。
果瓣、隔膜和气泡必须随果肉一起形变,而不是分离或独立漂浮。
包含地面碰撞:切片在撞击时应轻微压扁,随后晃动。
避免瞬间弹回、无休止的振荡和几何体爆炸。
界面

极简的编辑式版式,留白充足。

左侧是一个大号斜体衬线标题“Citrus Jelly.”。
右侧是一个紧凑的控制面板,带有 Firmness 和 Internal damping 滑块。
一个“Give it a nudge”按钮,以及 Reset 和 Pause 按钮。
显示 mesh 和 ¼ speed 开关。
三个颜色预设:Orange、Blood Orange 和 Lemon。
一条简短的交互提示:“Grab. Stretch. Let go.”
所有标签都用英文,桌面端和移动端的控件都要舒适易用。
技术要求

真正的 WebGPU 渲染,而不是 Canvas 2D 的替代品。

在代码中生成几何体和材质,不使用预制模型。
使用固定的模拟时间步长,以及能防止过度拉伸的约束。
在抓取、拖拽和松手过程中保持流畅的性能。
WebGPU 不可用时,显示清晰的降级提示。
测试不同的抓取位置、强力拉伸、振荡衰减、碰撞和重置。
首要目标是令人信服的软糖质感。切片应看起来柔软、多汁,动起来让人满足到想一直拉伸它。

溯源

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