makevideowith.ai
← Retour aux vidéosComparaison / 2103822857155313953

Jelly physics simulation improvement comparison

@vib3coded ↗
LES INSTRUCTIONS PARTAGÉES PAR LE CRÉATEUR

Le prompt du créateur

Un prompt, c’est le texte qui décrit à l’IA ce que vous voulez obtenir. Copiez celui-ci, puis collez-le dans votre projet Claude Code en précisant ce que vous souhaitez changer : le sujet, les textes, les couleurs ou la durée.

Le texte original est conservé pour respecter le travail du créateur. Vous pouvez ajouter vos propres consignes en français, même si le prompt est en anglais.

Create Citrus Jelly — an interactive 3D scene featuring a gummy orange slice. Everything must run directly in the browser in a single HTML file using WebGPU and WGSL shaders. Build genuine volumetric 3D geometry, not an image or a prerecorded animation.
APPEARANCE
A thick semicircular orange slice with vibrant orange flesh, a pale pith layer, and a firmer outer rind.

Visible radial segments, thin internal membranes, and tiny bubbles.
A juicy, translucent gummy material with soft highlights, light refraction, and depth-dependent color.
Avoid making it look like rigid plastic or glass.
Use a light cream background, soft studio lighting, and a contact shadow. Avoid overexposure.
PHYSICS AND INTERACTION

Let users grab any visible point with a mouse or finger and pull it.

Deformation must originate at the grab point and propagate naturally through neighboring areas.
The flesh should stretch and narrow under tension, while the rind offers more resistance.
On release, the slice should spring back gently, with oscillations gradually settling.
Use a stable soft-body simulation: a spring mesh or volumetric elastic constraints with volume preservation.
Segments, membranes, and bubbles must deform with the flesh rather than separating or floating independently.
Include ground collisions: the slice should squash slightly on impact and wobble afterward.
Prevent instant snapping back, endless oscillation, and exploding geometry.
INTERFACE

A minimal editorial layout with generous whitespace.

A large italic serif heading, “Citrus Jelly.”, on the left.
A compact control panel on the right with Firmness and Internal damping sliders.
Give it a nudge, Reset, and Pause buttons.
Show mesh and ¼ speed toggles.
Three color presets: Orange, Blood Orange, and Lemon.
A small interaction hint: “Grab. Stretch. Let go.”
All labels in English, with comfortable desktop and mobile controls.
TECHNICAL REQUIREMENTS

Genuine WebGPU rendering, not a Canvas 2D substitute.

Generate geometry and materials in code without premade models.
Use a fixed simulation timestep and constraints that prevent excessive stretching.
Maintain smooth performance during grabbing, dragging, and release.
Display a clear fallback message when WebGPU is unavailable.
Test different grab locations, strong stretching, oscillation decay, collisions, and reset.
The main priority is a convincing gummy feel. The slice should look soft, juicy, and so satisfying in motion that people want to keep stretching it.
Une fois le prompt copié, que faire ?
  1. Ouvrez votre projet dans Claude Code et collez le prompt avec vos propres consignes.
  2. Décrivez ce qui vous plaît dans cette vidéo : les mouvements, les couleurs, le rythme. Une URL seule ne garantit pas que Claude Code puisse la regarder.
  3. Ajoutez vos textes et vos images, puis demandez un premier aperçu. Précisez ensuite ce qu’il faut modifier.

Exemple de consigne à ajouter — à adapter à votre projet

Utilise le prompt ci-dessus comme point de départ pour une vidéo de 15 secondes présentant mon application. Remplace les textes par les miens et utilise mes couleurs. Avant de commencer, indique-moi les fichiers et les outils nécessaires, puis propose-moi un premier aperçu.
Voir le guide pas à pas ↗

D’autres vidéos pour vous inspirer

Du même créateur ↗