Single-page interactive soft-body sperm whale jelly study
Single-page interactive soft-body sperm whale jelly study is a 17-second Claude Opus motion design reference by @vib3coded, built around Three.js, Physics, WebGL. GOAL: Build "Sperm Whalee Jelly · Material Studies No. Copy this 3D motion prompt, keep the creator's frame counts and palette, and adapt the subject for your own launch film.
@vib3codedView post
Prompt
GOAL:
Build "Sperm Whalee Jelly · Material Studies No.
MOTION:
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;
Author original
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;
Questions
What is this 3d scenes prompt for?
It is a Claude Opus motion design brief for “Single-page interactive soft-body sperm whale jelly study”. Paste it into Claude and keep the timings already written in the prompt.
Where is the original film?
The creator is @vib3coded. Use View post to open the X video this prompt belongs to.