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シーンです。すべては WebGPU と WGSL シェーダーを使い、単一の HTML ファイルでブラウザ上で直接動作する必要があります。画像や事前録画したアニメーションではなく、本物のボリューメトリックな3Dジオメトリを構築してください。
外観
鮮やかなオレンジ色の果肉、淡い白皮層、そしてより固い外皮を備えた、厚みのある半円形のオレンジスライス。

放射状の房の区切り、薄い内部の膜、そして小さな気泡が見えるようにしてください。
みずみずしく半透明なグミ素材で、柔らかなハイライト、光の屈折、奥行きに応じた色の変化を表現してください。
硬いプラスチックやガラスのように見えないようにしてください。
淡いクリーム色の背景、柔らかなスタジオ照明、コンタクトシャドウを使用してください。露出過多は避けてください。
物理演算とインタラクション

ユーザーがマウスや指で、見えている任意の点をつかんで引っ張れるようにしてください。

変形はつかんだ点から始まり、隣接する領域へ自然に伝播しなければなりません。
果肉は引っ張られると伸びて細くなり、外皮はより強い抵抗を示すようにしてください。
離したときは、スライスが穏やかに跳ね返り、振動が徐々に収束するようにしてください。
安定したソフトボディシミュレーションを使用してください:ばねメッシュ、または体積保存を伴うボリューメトリックな弾性拘束です。
房、膜、気泡は、分離したり独立して浮いたりするのではなく、果肉と一緒に変形しなければなりません。
地面との衝突を含めてください:スライスは着地時にわずかにつぶれ、その後に揺れるようにしてください。
即座に元へ戻る挙動、終わりのない振動、ジオメトリの爆発を防いでください。
インターフェース

余白をたっぷり取った、ミニマルなエディトリアルレイアウト。

左側に、大きなイタリック体のセリフ書体の見出し「Citrus Jelly.」を配置してください。
右側に、Firmness と Internal damping のスライダーを備えたコンパクトなコントロールパネルを配置してください。
「Give it a nudge」、Reset、Pause ボタンを配置してください。
mesh と ¼ speed のトグルを表示してください。
3つのカラープリセット:Orange、Blood Orange、Lemon。
小さな操作ヒント:「Grab. Stretch. Let go.」
すべてのラベルは英語のままにし、デスクトップとモバイルで快適に操作できるようにしてください。
技術要件

Canvas 2D の代用ではなく、本物の WebGPU レンダリング。

既製のモデルを使わず、コード内でジオメトリとマテリアルを生成してください。
固定のシミュレーションタイムステップと、過度な伸びを防ぐ拘束を使用してください。
つかむ、ドラッグする、離すといった操作の間も、滑らかなパフォーマンスを維持してください。
WebGPU が利用できない場合は、明確なフォールバックメッセージを表示してください。
さまざまなつかむ位置、強い伸び、振動の減衰、衝突、リセットをテストしてください。
最重要なのは、説得力のあるグミの質感です。スライスは柔らかく、みずみずしく、動きがあまりにも心地よいので、人はずっと伸ばし続けたくなるように見えるべきです。

出典

原作者
vib3coded
公開日
2026-09-26(由推文 ID 反解)
原典
元の投稿を見る ↗
収録元
zhuyansen/awesome-opus-5.5-video · 2103822857155313953 · ライセンス未表明