ai21.net
言語

ゼリーの世界の北極島:Opus と Astra の比較

ゼリーの世界の北極島:Opus と Astra の比較 — 1

プロンプト

Create "Frostbay." — an interactive miniature Arctic diorama as ONE self-contained HTML file using native WebGPU (WGSL). Everything procedural: no libraries, no imported models, no image textures, no network requests.

SCENE
- A clear rectangular block of cold sea (≈10 × 7 units, ~1.6 deep) resting on a thick, glossy jelly foundation with rounded edges and soft layered bands of icy blue and pale lavender.
- A snowy rock island toward the back: wet dark rock at the tide line, a cut "core-sample" cross-section where it meets the glass, a few rounded boulders on the sea floor.
- An igloo built from individual curved snow blocks (rows offset like brickwork), a block entrance tunnel, a warm amber ice window and a glowing interior.
- A wooden plank pier on posts with a hanging lantern; a fluttering red-and-white flag on a pole.
- An orange kayak with a double-bladed paddle; ~10 irregular ice floes; a larger ice raft.
- Two harbour seals (spotted, pale muzzle): one basking on a shore ledge of the island, one lying on the raft.
- A humpback whale: one smooth continuous lofted body, pale throat pleats and belly, mouth line, eyes, knobbly rostrum, very long pale flippers, small dorsal fin, wide flukes.
- Calm editorial backdrop; the diorama casts a soft shadow on an unseen floor.

WATER (a real simulation, not a shader trick)
- Height-field long-wave sim (∂²h/∂t² = ∇·(g·depth ∇h)) on a ~200×140 grid, flux form (volume-conserving), fixed 180 Hz substeps, damping + light viscosity + hard clamps: stable at every slider setting and during frantic drags.
- Waves slow and steepen over the shallows, wrap around the island, reflect off the glass and settle.
- Press = a soft plunger making a deep hollow with a raised, volume-neutral rim; dragging sweeps it (speed-limited) and leaves real 3D wakes. Hover never makes waves. Touch supported.
- Dragging a glass side tilts and slides the block on its jelly (damped springs that wobble back) and the sea sloshes toward the new level; a local soft bulge follows the hand. Pulling a jelly edge stretches it locally, then it wobbles home.
- Floating things follow local height and averaged slope, drift, bump each other, avoid shallows and glass.

LIFE
- Kayak: draggable (with a wake). A strong local wave — high swing AND steep averaged slope across the hull — rolls it 180° and leaves it upside down; ordinary ripples and blizzard chop only rock it; never capsizes while held.
- Raft seal: breathes, looks around, articulated flippers. Strong waves make it lose balance, slip off head-first, fall in with a splash, then swim — head up, coordinated hind-flipper strokes, steering away from shallows and glass — and later hauls itself back onto the raft.
- Shore seal: breathes, gazes, scratches with a fore flipper, lifts its head when big waves come.
- Whale: its spine follows the path its head has swum, so it always moves head-first and bends through turns, never sliding backward. "Call the whale" (button or double-click / double-tap) brings it up to the surface, it blows a misty spout, its back heaves the water, then it dives with the flukes rolling under.

LOOK
- Opaque pass to HDR with 4× MSAA plus a distance buffer; water pass with screen-space refraction (wave-driven), depth absorption (deep cold blue, no tropical turquoise), Fresnel sky reflection, restrained soft highlights, foam on crests and shallows, side walls showing the underwater cross-section with a crisp waterline and total internal reflection.
- Moving caustics on everything under the surface, focused by the live wave curvature; soft key-light shadows; neutral tone mapping.
- Modes: Daylight, Snowfall (overcast, falling snow), Aurora night (green/violet curtains, twinkling stars, warm igloo and lantern light with reflections on the water). Blizzard toggle: dense wind-driven snow, gusts and chop on the sea.

UI
- Restrained editorial layout: large italic serif "Frostbay.", short atmospheric subtitle, live status pill, compact panel (weather segments, blizzard switch, jelly firmness, wave damping, tide, Call the whale, Pause, Reset, Camera), concise hints, readouts for seal, kayak, whale and swell; orbit and zoom (pinch on touch).
- Pause freezes all motion; Reset restores sea, block, raft seal and upright kayak.
- Mobile: stacked layout, collapsible controls, ≥44 px touch targets. Clear fallback card if WebGPU is unavailable.

Test water interaction, stability, animals, kayak drag and capsize, whale call, weather modes, pause/reset, shader compilation and mobile layout. Return the finished HTML only.

日本語訳

"Frostbay." を作成してください — ネイティブWebGPU(WGSL)を使用した、単一の自己完結型HTMLファイルによるインタラクティブなミニチュア北極ジオラマです。すべてプロシージャルに:ライブラリなし、インポートモデルなし、画像テクスチャなし、ネットワークリクエストなし。

シーン
- 冷たい海の透明な直方体(約10 × 7ユニット、深さ約1.6)が、丸みのある縁と、氷青色と淡いラベンダーの柔らかな層状の帯を持つ、厚く光沢のあるゼリーの土台の上に載っています。
- 奥の方には雪をかぶった岩の島:潮線には濡れた黒い岩、ガラスと接する部分には切り取った「コアサンプル」の断面、海底にはいくつかの丸い岩。
- 個々の湾曲した雪のブロック(れんが積みのように列をずらして)で作られたイグルー、ブロックの入口トンネル、暖かな琥珀色の氷の窓、そして光る内部。
- 柱の上の木の板の桟橋と吊り下げられたランタン。ポールにはためく赤と白の旗。
- ダブルブレードのパドル付きのオレンジ色のカヤック。約10個の不規則な流氷。より大きな氷のいかだ。
- 2頭のゼニガタアザラシ(斑点があり、淡い口先):1頭は島の岸の岩棚で日向ぼっこし、1頭はいかだの上に横たわっています。
- ザトウクジラ:滑らかで連続したロフトされた胴体、淡い喉の襞と腹、口の線、目、こぶのある吻部、非常に長い淡い鰭、小さな背びれ、幅広い尾びれ。
- 落ち着いたエディトリアルな背景。ジオラマは見えない床に柔らかな影を落とします。

水(シェーダーのトリックではなく、実際のシミュレーション)
- 高さ場の長波シミュレーション(∂²h/∂t² = ∇·(g·depth ∇h))を約200×140のグリッドで、フラックス形式(体積保存)、固定180 Hzのサブステップ、減衰+軽い粘性+ハードクランプ:すべてのスライダー設定と激しいドラッグ中でも安定。
- 波は浅瀬で遅くなり急峻になり、島を回り込み、ガラスに反射して収まります。
- 押す=柔らかなプランジャーが、盛り上がった体積中立の縁を持つ深いくぼみを作ります。ドラッグすると(速度制限付きで)それを掃き、実際の3Dの航跡を残します。ホバーでは決して波は立ちません。タッチ対応。
- ガラスの側面をドラッグすると、ブロックがそのゼリーの上で傾いて滑り(行き過ぎて揺れ戻る減衰ばね)、海は新しい水位に向かって揺れ動きます。手の動きに合わせて局所的な柔らかな膨らみが付いてきます。ゼリーの縁を引っ張るとその部分が伸び、その後揺れながら元に戻ります。
- 浮遊物は局所的な高さと平均傾斜に従い、漂い、互いにぶつかり、浅瀬とガラスを避けます。

生命
- カヤック:ドラッグ可能(航跡付き)。強い局所的な波——大きな揺れと船体全体にわたる急な平均傾斜——がカヤックを180°回転させ、逆さまにします。通常のさざ波や吹雪の波では揺れるだけです。保持している間は決して転覆しません。
- いかだのアザラシ:呼吸し、周りを見回し、鰭を関節で動かします。強い波でバランスを崩し、頭から滑り落ち、水しぶきを上げて落ち、そして泳ぎます——頭を上げ、後ろ鰭を協調させて漕ぎ、浅瀬とガラスを避けて進み——その後、再びいかだの上に這い上がります。
- 岸のアザラシ:呼吸し、見つめ、前鰭で体をかき、大きな波が来ると頭を持ち上げます。
- クジラ:背骨が頭の泳いだ経路をたどるので、常に頭から進み、曲がるときに体を曲げ、決して後ろ向きに滑ることはありません。「クジラを呼ぶ」(ボタンまたはダブルクリック/ダブルタップ)でクジラが水面に上がり、霧のような潮吹きをし、背中で水を持ち上げ、その後、尾びれを巻き込むようにして潜ります。

見た目
- 不透明パスは4× MSAAと距離バッファ付きでHDRへ。水パスはスクリーンスペース屈折(波駆動)、深度吸収(深く冷たい青、熱帯のターコイズなし)、フレネル空反射、抑えた柔らかなハイライト、波頭と浅瀬の泡、側壁は水中断面を鮮明な喫水線と全反射で見せます。
- 水面下のすべてに動くコースティクス、生きた波の曲率で焦点が合う。柔らかなキーライトの影。ニュートラルなトーンマッピング。
- モード:"Daylight"、"Snowfall"(曇天、降る雪)、"Aurora night"(緑/紫のカーテン、またたく星、暖かなイグルーとランタンの光、水面への反射)。"Blizzard"トグル:風に流される濃い雪、突風と海のさざ波。

UI
- 抑制の効いたエディトリアルなレイアウト:大きなイタリック体のセリフ体の "Frostbay."、短い雰囲気のあるサブタイトル、ライブステータスのピル、コンパクトなパネル(天気セグメント、吹雪スイッチ、ゼリーの硬さ、波の減衰、潮位、"Call the whale"、"Pause"、"Reset"、"Camera")、簡潔なヒント、アザラシ・カヤック・クジラ・うねりの読み取り表示。オービットとズーム(タッチではピンチ)。
- 一時停止はすべての動きを止めます。リセットは海、ブロック、いかだのアザラシ、正立したカヤックを復元します。
- モバイル:積み重ねレイアウト、折りたたみ可能なコントロール、≥44 pxのタッチターゲット。WebGPUが利用できない場合は明確なフォールバックカード。

水のインタラクション、安定性、動物、カヤックのドラッグと転覆、クジラの呼び出し、天気モード、一時停止/リセット、シェーダーのコンパイル、モバイルレイアウトをテストしてください。完成したHTMLのみを返してください。

出典

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