Soft-body strawberry cake you can squish, throw and slice in WebGPU

Claude Opus 5.5 wrote a single-file WebGPU toy where a shortcake wobbles like jelly and splits into more soft pieces with every knife cut.

라이브 데모

Claude Code + Three.js (코드만)Wandy 2
실제 모델 · 360°둘 다 같은 사진으로 만들었어요. 왼쪽은 Claude Code(Opus 5.5)가 Three.js 코드로 모델링한 편집 없는 1회 실행 결과, 오른쪽은 Wandy 2로 만든 결과예요.

디테일한 3D 모델 만들기

코드만으로는 단순한 도형밖에 만들 수 없어요. Wandy 2는 사진 한 장을 같은 장면에 바로 쓸 수 있는 텍스처 3D 모델로 바꿔 줘요.

Claude Opus 5.5 프롬프트

Build immediately a complete interactive WebGPU site called “Strawberry Cake.” 
Use genuine WebGPU + WGSL, procedural geometry, mouse/touch, and real-time volumetric soft-body physics. No Three.js/Babylon.js, Canvas2D, external assets, video/GIF, or CSS-only deformation.
Visual: premium Korean/Japanese strawberry shortcake—low, wide, rounded, pillow-soft, with pink sponge, cream layers, pale frosting, piped cream, and strawberries. Warm ivory background, soft studio light, edible moist materials.
Layout: top-left “SOFT STUDIES / NO.001” + italic “Strawberry Cake.” Top-right “WEBGPU · LIVE”. Large centered cake. Right controls: Hand/Knife, presets, Firmness, Damping, Drop, Reset, Pause, ¼ speed, Show mesh. Bottom-left: Mass, Volume, Kinetic, Pieces.
Physics: stable XPBD/co-rotational soft body with tetrahedral sim mesh, smooth render mesh, volume preservation, damping, gravity, floor friction, and piece collisions. Cake feels soft/heavy and wobbles after release.
Hand: hold=Press, inward drag=Squeeze, outward drag=Grab, fast release=Throw. Use weighted grabs, smoothed 3D target, pointer velocity and momentum. Cake remains free; cake input overrides orbit.
Knife: procedural 3D knife. Draw a cut line; animate contact→compression→penetration→breakthrough→lift. Deform before splitting; keep seam thin.
Repeated cutting is mandatory: use a dynamic pieces list; every piece stays cuttable. Convert strokes to vertical cut planes, split crossed pieces, create new soft-body/render meshes, transfer deformation/velocity, preserve toppings, keep halves aligned, update Pieces. Support 14+ pieces and multi-piece cuts. No fixed whole/left/right states.
Drop releases all pieces. Reset restores one intact cake and Pieces=1. Use fixed timestep/substeps, DPR≤2, clamp instability, avoid NaNs/GPU errors. Expose window.__cake.
Run locally, test interactions and repeated cutting, and iterate until polished.

프롬프트 사용 방법

  1. Paste the prompt into Claude Code or any agent running Claude Opus 5.5, in a browser with WebGPU enabled.

  2. Swap the cake for another dessert or object, and tune firmness, damping, tools and layout labels.

  3. Open the single HTML file, squeeze, throw and cut it, then ask for fixes if pieces jitter or break.

Wandy3D 제공

장면에 진짜 3D 모델이 필요하신가요?

에이전트는 기본 도형으로 장면을 만들어요. Wandy3D API는 사진이나 프롬프트를 몇 분 만에 텍스처가 입혀진 GLB로 바꿔 줘요. 구독 없이 선불 잔액에서 결제돼요.

  • Wandy 2모델당 US$0.18
  • Wandy 1모델당 US$0.09

잔액은 만료되지 않아요 · 실패한 작업은 환불돼요 · API로 만든 모델은 회원님 소유이며 모든 형식으로 다운로드할 수 있어요.

curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \  -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \  -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glb

원본 게시물작성자이신가요? 이 페이지의 수정이나 삭제를 요청하세요