Interactive 3D jelly orange in browser
- Views
- 23.1K
- Likes
- 261
- Replies
- 37
- Saves
- 119
The 50 most-viewed prompts, full text, one page. Free with your email.
A single-prompt, self-contained HTML/WebGPU simulation of a jelly orange that can be stretched, squished and sliced was built with Claude Opus 5.5.
Full prompt3,904 chars
Build "Whole Orange Jelly" — a single self-contained HTML file (inline JS/CSS, no libraries): a real-time WebGPU soft-body whole orange made of jelly. The user can grab and stretch it, and cut it with a knife into wheels, wedges and small pieces. Every piece is its own wobbling body. Shape and pieces - The orange is a signed distance field: a gently oblate ellipsoid (polar half-length 1.27 along x, equatorial radius 1.36) lying on its side, with a softly flattened seat on the floor. - Every piece is that field clipped by the half-spaces n·X ≤ c of the cuts that made it, with the fresh edges rounded (smooth max, k ≈ 0.085). All pieces share the orange's original rest frame, so the anatomy stays where it grew. - Per piece: - a surface-nets render skin (0.042 grid) projected onto the field; - a hex lattice for the simulation in the piece's own principal frame, with boundary nodes snapped to the surface; - barycentric embedding of render vertices into the lattice tets. - Up to 30 pieces; slivers are rejected. Anatomy (all in rest space, so every cut shows it where it really is) - Zest (0.07 deep) with oil-gland pores, a mottled tone, a green stem button at one end and a small navel at the other. - White pith (to 0.19 deep). - 11 segments around the stem axis, with thin milky membrane walls (slightly jittered, bowed and wandering along the axis) and a pithy core along the axis. - Juice vesicles: teardrop sacs fanning out from the core within each segment. - 16 pale citrus pips near the core, pointed end inward; a few small bubbles in the flesh. - A pip that a cut goes through is kept by the side holding its centre and eased just under the new face. Physics (XPBD) - Per piece: hex cells with co-rotational shape matching plus volume constraints on their five tets. - Zest and pith firmer than the flesh. - Edge and deformation damping; floor contact with Coulomb friction and a little rolling resistance. - Piece–piece contact against each other's exact rest shape in a best-fit frame. - Sleeping pieces that wake on touch; fixed 60 Hz step with small substeps. Knife - A nakiri-style knife: draw a stroke across the orange. - The stroke, read on the top of what it crosses, fixes a vertical blade plane, carried into each crossed piece's rest frame by its best-fit rotation and added as a half-space. - The new pieces are built incrementally while the knife lines up, presses a groove and cuts straight down. They take over the position and speed of the jelly they came from, and the blade wedges the faces apart. Rendering (WebGPU / WGSL) - Procedural photo studio. Soft PCSS key shadow tinted by the jelly, plus contact AO from a height map. - Back-face thickness; refraction of the scene, with each tap dimmed by its own path length. - A volumetric march through the jelly in rest space, using a per-vertex inverse deformation gradient: - zest, pith, membranes/core and flesh each absorb with their own colour (Beer–Lambert); - scattering is grey (only absorption is coloured), so light scattered out of orange flesh stays orange. - The white pith, the membrane star and the core read crisply on cut faces. - Back-lit glow at thin edges, Fresnel studio reflections, GGX highlights, sugar-crystal glints. - Post: Khronos PBR Neutral tone mapping, sRGB, dither. UI (editorial "Material Studies / No. 032", English) - Italic serif title "Whole / Orange." with the caption "Eleven segments, set in jelly. Zest, pith and juice. Cut it as small as you like." - Status pill "WEBGPU · LIVE". - Tools: Hand / Knife. Varieties: Navel, Blood, Cara Cara. - Firmness and Internal damping sliders; Give it a nudge, Reset, Pause; ¼ speed and Show mesh. - Readouts: Mass (g, 1 unit ≈ 3 cm at 1.3 g/cm³), Volume (% of rest), Kinetic (mJ), Pieces. - A collapsible "Inside the experiment" with notes on the method. - Fallback without WebGPU. Stacked mobile layout with no horizontal scroll.
Source: the creator's reply under the post. Kept in its original language, unedited.
Want more prompts like this one?
Get the 50 most-viewed Claude 5.5 video prompts on one page: the full original text, the creator and the post it came from. We'll only email you when there's a new prompt worth trying. Unsubscribe anytime.
Tools the creator mentioned
Original post: https://x.com/vib3coded/status/2110665495221268915
All works are open data at GitHub · awesome-opus-5.5-video.
Model attribution is as stated by the creator and was not independently reproduced. View counts are a snapshot from 2026-12-01. The work belongs to its creator; DM @GoSailGlobal on X for corrections or removal.
More 3d worlds
0:17AI-generated running cow animation
1.4M views
0:18Jelly watermelon slicing simulation
635.3K views
1:00Playable boat scene through Japanese landscapes
490.3K views
0:15Visualization of humanity's biggest scam
445.9K views
0:17Watermelon rubber band burst simulation
426.2K views
1:31Pelican riding a bike in Three.js
421.4K views
Related articles
A Practical Guide to Claude Code Skills: Your Secret Weapon for Developer Productivity
A deep dive into Claude Code's Skills system, covering Design Skills evaluations, SEO audits, code quality guardrails, and other hands-on techniques.
Same Name, Different Game: Comparing Two SEO Audit Skills and Which to Use
The Claude Code Skills ecosystem is growing fast — fast enough that naming collisions are starting to happen. Two skills both called seo-audit exist, and they take completely different approaches. Here's a side-by-side breakdown and recommendation.
How I Built JasonZhu.AI: Tech Stack, Architecture, and Full Cost Breakdown
A complete record of building the JasonZhu.AI personal brand website — from choosing the tech stack to going live, including the full stack, implementation details, development tools, and cost breakdown. How an AI blogger built a website using AI tools.
OpenAI Agents SDK Major Upgrade: Harness and Sandbox Now Built Into the SDK — The Opposite Approach from Anthropic
OpenAI has shipped a major upgrade to its Agents SDK, with the headline changes being harness and sandbox support built directly into the SDK. Anthropic's Claude Agent SDK takes exactly the opposite approach — one gives you everything pre-assembled, the other hands you a toolbox.