抹香鲸果冻软体物理研究
- 播放
- 3.6万
- 点赞
- 356
- 评论
- 48
- 收藏
- 122
创作者发布了一个详细的 Three.js 规格,用于制作带物理模拟、渲染效果和交互控件的抹香鲸果冻软体研究作品。
完整提示词3,135 字符
Build "Sperm Whalee Jelly · Material Studies No. 056" — a single-page interactive soft-body study in three.js (r170, WebGL2, importmap from jsDelivr), matching the quality, layout and juicy colours of my earlier "Whale Jelly No. 043" (humpback). Subject: a sperm whale cast in two layers of jelly, resting on its belly on a pale studio sweep (#E2DFDA). - Shape (signed distance field): a section swept along the spine whose superellipse power rises from 2 (round) behind the head to ~3.4 at it, so the body turns into a great square head with a blunt rounded face. A narrow lower jaw (an elliptical rod of milky jelly) tucked under the head, joined by a crease that reads as the mouth. One blowhole set forward and to the LEFT. A low hump two-thirds back plus a row of knuckles down the tail stock, small paddle flippers, broad triangular flukes with a deep notch. Wrinkled skin behind the head as a normal bump from rest-space coordinates. - Inside: a milky layer along the belly with a wavy top line that sinks away under the head; two rows of sugar teeth standing up from the jaw into the clear jelly of the head (visible through the blue); a swallowed squid (mantle, fins, eyes, 8 arms, 2 tentacles) in the clear jelly that glows — warm core, scattered photophore beads, its light filtered blue by the jelly it crosses (lights the jelly, the milk and the table); ~30 trapped bubbles; dark bead eyes. - Physics: CPU XPBD tetrahedral soft body (snapped hex lattice, 5 tets per cell, 60 Hz with 10 substeps, per-region compliance: fins firmest, clear jelly softest), barycentric skinning of the render surfaces, grab/drag/twist (wheel or second finger), orbit, zoom. - Spout: 72 rigid jelly drops hidden in the blowhole; "Blow a spout" fires a bushy column forward-up-left along the blowhole's live axis; the head dips as it exhales; drops bounce, roll, collide with the whale and can be picked up and tossed. - Renderer (three.js, custom ShaderMaterials, one THREE.Scene per pass): key-light shadow map with PCSS-lite and tinted jelly shadows, top-down height map for contact AO, scene pass (floor + all inner props, 4x MSAA half-float), back-face depth for thickness, then the jelly front faces with refraction, Beer–Lambert absorption, scattering, back-lit thin fins, Fresnel studio reflections and GGX highlights; Khronos PBR Neutral tone mapping, backdrop inverse-tone-mapped to land exactly on the page colour. - Palettes: Ocean (#3f93ea / #1d5fc0), Slate (#8197ab / #3f5468), Lagoon (#2fc2b6 / #0b8282), milky #f3eee4. - "Lights out" toggle (key L): the room and page fade to near-black, the key light dims, and the glowing squid becomes the only light; poking the jelly near the squid makes it flash. - UI (editorial, serif italic masthead, mono readouts): colour swatches, Firmness and Internal damping sliders, Blow a spout, Reset, ¼ speed, Show mesh, Pause, Lights out; live readouts Mass (g), Volume (% of rest), Length (cm), loose Drops; an "Inside the experiment" notes panel; status pill "THREE.JS · LIVE"; WebGL2 fallback message; stacked layout on phones with no horizontal scroll. English UI, original content only.
出处:作者在原帖下的回复。提示词保留原文语言,未做改写。
作者提到的工具
Three.jsFable 5.2
原帖:https://x.com/vib3coded/status/2122384446397768047
全部作品数据开源在 GitHub · awesome-opus-5.5-video。
模型归属以作者自述为准,本站未独立复现。播放量为 2026-11-19 的快照。作品版权归原作者,修改署名或下架请在 X 私信 @GoSailGlobal。