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.
Créez des modèles 3D détaillés
Le code seul ne donne que des formes simples. Wandy 2 transforme une seule photo en modèle 3D texturé, utilisable dans la même scène.
Prompt 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.
Comment utiliser ce prompt
Paste the prompt into Claude Code or any agent running Claude Opus 5.5, in a browser with WebGPU enabled.
Swap the cake for another dessert or object, and tune firmness, damping, tools and layout labels.
Open the single HTML file, squeeze, throw and cut it, then ask for fixes if pieces jitter or break.
Par Wandy3D
Besoin d’un vrai modèle 3D dans votre scène ?
Votre agent construit avec des primitives. L’API Wandy3D transforme une photo ou un prompt en GLB texturé en quelques minutes, payé depuis un solde prépayé, sans abonnement.
- Wandy 20,18 $US par modèle
- Wandy 10,09 $US par modèle
Le solde n’expire jamais · les tâches échouées sont remboursées · les modèles créés via l’API sont à vous, téléchargeables dans tous les formats.
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=glbPublication d’origineVous êtes l’auteur ? Demandez-nous de modifier ou de retirer cette page
Plus de prompts similaires
Voir tous les prompts
Kimi K3.1Interactive 3D helicopter with takeoff, assembly and exploded views
Lumina
Claude Opus 5.5Rubber band watermelon test: a squeezable, bursting 3D browser toy
林悦己Cheer
Claude Opus 5.5Interactive 3D volcano cutaway simulation with magma chamber
Konstantin Saifoulline
Claude Opus 5.5WebGPU jelly press toy: gummy fruit squashed and burst by a hydraulic press
Vib3Coded
Claude Opus 5.5Single-file WebGPU jelly press toy with soft-body fruit gummies
Vib3Coded
Claude Opus 5.5Scroll-driven exploding mechanical watch in raw WebGPU, single HTML file
Paruchh

