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 · 未聲明授權