ai21.net
言語

グミのタコの物理エフェクト比較

グミのタコの物理エフェクト比較 — 1

プロンプト

Create “Octo Jelly” - a beautiful, interactive 3D gummy octopus that users can grab, stretch, and squish directly in their browser. Deliver a complete single-file HTML experience using genuine WebGPU.
ART DIRECTION
Make the octopus look like a premium translucent gummy candy: a rounded head, eight curled tentacles, small suction cups, and a cute, understated face.
Use a warm off-white background, soft studio lighting, and a subtle ground shadow. Keep the scene elegant and uncluttered, with the octopus large and centered.
GEOMETRY AND MATERIAL

* Generate all geometry procedurally. No external models or image files.
* Connect all eight tentacles smoothly to the body, without visible gaps or floating parts.
* Add rounded suction cups that stay attached as the tentacles deform.
* Use glossy, translucent jelly with thickness-dependent color absorption, refraction, soft internal light scattering, and delicate rim highlights.
* Thick areas should have richer color; thin tentacle tips should transmit more light.
* Avoid opaque plastic, blown-out highlights, and visible mesh seams.

SOFT-BODY PHYSICS
Use a stable mass-spring or position-based dynamics system with elastic constraints and approximate volume preservation.

* The head should feel soft but substantial.
* Tentacles should be more flexible than the head, especially near their tips.
* Allow users to grab the head or any tentacle at the clicked location.
* Pulling should deform the nearby geometry first, then elastically pull the rest of the body.
* On release, the octopus should wobble and gradually settle into its original shape.
* Tentacles should react independently, with slightly delayed motion.
* Include gravity, floor collisions, friction, and damping.
* Prevent tentacles from passing through the floor.
* Clamp extreme stretching and use fixed simulation steps so strong pulls do not break the model.
* Do not fake softness by scaling or rotating the entire octopus.

INTERACTION

* Left-click or touch the octopus to grab and stretch it.
* Right-drag or drag empty space to gently orbit the camera.
* Support a limited zoom range.
* Keep camera gestures separate from object dragging.
* Add “Give it a nudge,” “Reset,” “Pause,” and “Reset view” buttons.
* Include Firmness and Internal damping sliders.
* Add “¼ speed” and “Show mesh” toggles.
* Provide three color presets: Coral, Lagoon, and Grape. Change the material colors without resetting the simulation.

INTERFACE
Use a minimal editorial layout:

* Top left: small “MATERIAL STUDIES” label.
* Large italic serif heading: “Octo Jelly.”
* Caption: “Eight arms. A little wobble. A very soft creature.”
* Top right: a WebGPU status indicator.
* Right side: a compact “THE SPECIMEN” control panel.
* Bottom left: “Grab a tentacle. Pull gently. Let go.”

Use clean sans-serif text for controls, thin borders, and generous whitespace. Avoid heavy panels or decorative UI effects.
PERFORMANCE AND QUALITY

* Use real WebGPU rendering, not a 2D canvas imitation or prerecorded animation.
* Reuse geometry and buffers; do not rebuild meshes during dragging.
* Keep suction cups, eyes, and other details attached to the deforming body.
* Handle transparency without flickering, disappearing surfaces, or harsh black edges.
* Support desktop and mobile layouts.
* Show a clear fallback message if WebGPU is unavailable.
* Test repeated grabs, strong pulls, releases, floor collisions, palette changes, pause, and reset.

The result should feel like a little living gummy toy - glossy, squishy, expressive, and satisfying to stretch. Deliver the full working HTML, not a mockup or a code fragment.

日本語訳

“Octo Jelly”を作成してください。美しくインタラクティブな 3D のグミのタコで、ユーザーがブラウザ上で直接つかみ、伸ばし、押しつぶすことができるものです。本物の WebGPU を使用した、完全な単一ファイルの HTML 体験を提供してください。
アートディレクション
タコを高級な半透明グミキャンディのように見せてください。丸い頭、8本のカールした触手、小さな吸盤、そして控えめでかわいい顔。
温かみのあるオフホワイトの背景、柔らかなスタジオ照明、繊細な地面の影を使用してください。シーンはエレガントで整然としたものにし、タコは大きく中央に配置してください。
ジオメトリとマテリアル

* すべてのジオメトリを手続き的に生成してください。外部モデルや画像ファイルは使用しないでください。
* 8本の触手すべてを、目に見える隙間や浮いた部分なしに、体に滑らかにつないでください。
* 触手が変形しても付着し続ける、丸みのある吸盤を追加してください。
* 光沢のある半透明のゼリーを使用してください。厚みに応じた色吸収、屈折、柔らかな内部光散乱、繊細なリムハイライトを備えます。
* 厚い部分はより豊かな色に、細い触手の先端はより多くの光を透過させるようにしてください。
* 不透明なプラスチック、白飛びしたハイライト、目に見えるメッシュの継ぎ目は避けてください。

ソフトボディ物理
安定した質点-バネ系、または位置ベースのダイナミクスシステムを、弾性制約と近似的な体積保存とともに使用してください。

* 頭は柔らかいがずっしりとした感触にしてください。
* 触手は頭よりも柔軟に、特に先端付近ではさらに柔軟にしてください。
* ユーザーがクリックした位置で、頭または任意の触手をつかめるようにしてください。
* 引っ張ると、まず近くのジオメトリが変形し、その後、体の残りの部分が弾性的に引っ張られるようにしてください。
* 離すと、タコは揺れて徐々に元の形に落ち着くようにしてください。
* 触手は独立して反応し、わずかに遅れた動きをするようにしてください。
* 重力、床との衝突、摩擦、減衰を含めてください。
* 触手が床を突き抜けないようにしてください。
* 極端な伸びをクランプし、固定のシミュレーションステップを使用して、強い引っ張りでモデルが壊れないようにしてください。
* タコ全体をスケーリングしたり回転させたりして、柔らかさを偽装しないでください。

インタラクション

* タコを左クリックまたはタッチして、つかんで伸ばせるようにしてください。
* 右ドラッグ、または空白のドラッグで、カメラを穏やかに周回させてください。
* 限られたズーム範囲をサポートしてください。
* カメラのジェスチャーとオブジェクトのドラッグを分離してください。
* "Give it a nudge"、"Reset"、"Pause"、"Reset view" ボタンを追加してください。
* Firmness と Internal damping のスライダーを含めてください。
* "¼ speed" と "Show mesh" のトグルを追加してください。
* Coral、Lagoon、Grape の3つのカラープリセットを用意してください。シミュレーションをリセットせずにマテリアルの色を変更してください。

インターフェース
ミニマルなエディトリアルレイアウトを使用してください。

* 左上:"MATERIAL STUDIES" の小さなラベル。
* 大きなイタリック体のセリフ見出し:"Octo Jelly"。
* キャプション:"Eight arms. A little wobble. A very soft creature."
* 右上:WebGPU のステータスインジケーター。
* 右側:コンパクトな "THE SPECIMEN" コントロールパネル。
* 左下:"Grab a tentacle. Pull gently. Let go."

コントロールにはクリーンなサンセリフ体のテキストを使用し、細い境界線と十分な余白を設けてください。重いパネルや装飾的な UI エフェクトは避けてください。
パフォーマンスと品質

* 2D キャンバスの模倣や録画済みアニメーションではなく、実際の WebGPU レンダリングを使用してください。
* ジオメトリとバッファを再利用してください。ドラッグ中にメッシュを再構築しないでください。
* 吸盤、目、その他のディテールを、変形する体に付着させたままにしてください。
* ちらつき、面の消失、厳しい黒いエッジなしで透明度を処理してください。
* デスクトップとモバイルのレイアウトをサポートしてください。
* WebGPU が利用できない場合は、明確なフォールバックメッセージを表示してください。
* 繰り返しのつかみ、強い引っ張り、リリース、床との衝突、パレットの変更、一時停止、リセットをテストしてください。

結果は、小さな生きたグミのおもちゃのように感じられるものにしてください。光沢があり、むにむにしていて、表情豊かで、伸ばすのが心地よい。モックアップやコードの断片ではなく、完全に動作する HTML を提供してください。

出典

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