Mantieni i requisiti originali
Leggi il post dell’autore originale e, quando adatti un prompt, mantieni tutti gli asset di riferimento o le dipendenze richiesti.
Prompt condiviso dall’autore, presentato esplicitamente come prompt da usare con Opus 5.5 per ricreare un flusso di ritiro in React Native. Crea una scena 3D stilizzata con la facciata di un negozio e un isolato cittadino, in cui i moduli QR estrusi si appiattiscono fino a trasformarsi nella schermata 2D finale del QR per il ritiro. Le cinque immagini allegate, con timestamp, sono riferimenti obbligatori e costituiscono la fonte di verità.
Un personaggio, due processi reali. I risultati variano in base al compito.
Dai alla tua prossima scena un personaggio che merita uno sguardo da vicino. Crea risorse 3D dettagliate e con texture da un'immagine o poche parole.
Genera risorse 3D gratis ↗# Build: transizione pickup «Street to QR» (ricreazione pixel-perfect) Ricrea questo flusso di 8,17 secondi in un'app React Native nel modo più fedele possibile. Un ordine di caffè diventa pronto, poi la telecamera sale dal livello della strada fino sopra un negozio. Il blocco cittadino 3D visto dall'alto **è** il codice QR per il ritiro e si appiattisce trasformandosi in un vero QR 2D sulla schermata di ritiro. Sono allegate cinque immagini di riferimento, nominate in base al timestamp: `t0.00` (apertura), `t4.40` (i moduli del QR iniziano a comparire), `t4.70` (la telecamera supera il tetto), `t5.00` (vista quasi dall'alto sull'anello centrale), `t8.00` (schermata finale). Sono la fonte di verità. Se questo brief e un'immagine non coincidono, prevale l'immagine. Tutto ciò che avviene tra questi momenti è descritto nella timeline seguente. Le immagini sono registrazioni dello schermo di un telefono su uno sfondo `#E9E8ED` con un'ombra morbida. Lo sfondo non fa parte dell'app. In ogni immagine 1080x1920, lo schermo occupa x 163-917, y 75-1710, con 1,916 px immagine per pt. ## Stack e deliverable - React Native con Expo e TypeScript. Se qui esiste già un progetto, integralo utilizzandone la navigazione e le convenzioni. Altrimenti, crea lo scaffold. Dai priorità a iOS. - Scena 3D: `expo-gl` + `three` + `@react-three/fiber/native`, in una vista a schermo intero dietro l'interfaccia. - UI: viste RN native animate con `react-native-reanimated`. Per le superfici effetto vetro usa `expo-blur`. Il QR finale e le icone usano `react-native-svg`. Per il testo usa `@expo-google-fonts/inter`. - Non c'è un DOM, quindi le texture `document.createElement('canvas')` non sono disponibili. Crea i dettagli principalmente tramite la geometria, quando possibile. Per il resto (lettering dell'insegna, interno del negozio, corsi delle pietre), scrivi un piccolo script di sviluppo che generi texture PNG, includile nel commit e caricale con `expo-asset`. Non usare modelli o foto esterni. - Mantieni la scena leggera: unisci la geometria statica e usa `InstancedMesh` per i blocchi del QR, in modo da disegnare tutti i blocchi con un numero ridotto di draw call. Incorpora le ombre morbide nelle texture oppure usa piani d'ombra piatti invece delle shadow map in tempo reale, a meno che queste ultime mantengano il frame rate. - Avvia automaticamente la riproduzione quando la schermata viene montata. Punta a 60 fps su un iPhone fisico. - **Tutto è gestito da un unico clock principale `t` espresso in secondi**, un valore condiviso Reanimated che procede linearmente da 0 a 8,17. La scena lo legge in `useFrame` e la UI lo legge in `useAnimatedStyle`. Ogni proprietà è una funzione pura di `t`, senza spring o timer separati, così nulla può andare fuori sincrono. - Aggiungi un modo disponibile solo in sviluppo per bloccare l'animazione in qualsiasi momento (per esempio un deep link `?t=4.6`), da usare per la verifica descritta sotto. Aggiungi anche un tap per riavviare la riproduzione, disponibile solo in sviluppo. - Comportamento reale per la schermata finale: aumenta la luminosità con `expo-brightness` quando compare la schermata di ritiro e ripristinala alla chiusura, come promette il testo. La «x» chiude il flusso. Condividi e Aggiungi a Apple Wallet possono essere stub inattivi. ## Layout - Progettato a 393x852pt (iPhone 15/16). Tutte le posizioni qui sotto sono espresse in questo spazio. Usa gli inset della safe area e una scala proporzionale, così anche gli altri formati di iPhone risultano composti correttamente e il QR resta centrato e quadrato. - Usa la vera barra di stato del dispositivo con contenuto scuro, la vera Dynamic Island e il vero indicatore Home. Non disegnarne versioni fittizie. La barra di stato resta visibile sopra la scena. - Per screenshot corrispondenti ai riferimenti, esegui `xcrun simctl status_bar booted override --time 9:41 --batteryState charged --batteryLevel 100`. - Font: Inter con tracking stretto. Le dimensioni sotto sono stime misurate in pt. ## Schermata 1: stato dell'ordine (t = da 0 a 3,0) Scena 3D a tutto schermo dietro un pannello flottante effetto vetro. **Pulsanti circolari effetto vetro**, 43pt, con inset x di 16pt e y di 61pt. Bianchi traslucidi, con sfocatura dello sfondo e un sottile bordo luminoso. A sinistra: freccia indietro. A destra: «...». **Pannello**: inset x di 8pt, in alto a 540pt, inset inferiore di 4pt, raggio di 34pt. Effetto vetro, con la scena visibilmente sfocata attraverso il pannello: `#DEDFDC` in alto, fino a stabilizzarsi intorno a `#F1EDEA` a metà altezza. Maniglia da 36x4pt centrata vicino al bordo superiore, grigia. Padding interno di 16pt. Dall'alto verso il basso: 1. «Order A42»: 13pt semibold grigio. 2. «In preparazione»: 34pt grassetto, quasi nero. 3. Icona dell'orologio + «Pronto tra circa **2** min»: 15pt grigio, cifra in grassetto nero. 4. Barra di avanzamento a tre segmenti: alta 5pt, raggio completo, spazi di 6pt, traccia `#E3E1DC`, riempimento `#69A25F`, intorno a y 662pt. Etichette sotto in 13pt: «Ordinato», «In preparazione», «Pronto». L'etichetta attiva è in grassetto nero, le altre sono grigie. 5. Scheda bianca `#FCFAF8`, raggio 18pt, alta circa 125pt, con due righe separate da una linea hairline: - Cerchio da 36pt `#E0FFD7` con icona di bicchiere freddo `#4E7151` verde scuro | «Blondie Matcha» 16pt, «Regular, freddo, latte d'avena» 14pt grigio | «£4.45» grigio, allineato a destra. - Stesso cerchio con icona di un negozio | «42 Gordon Street», «Ritira al banco di ritiro» | chevron grigio. ## La scena 3D Unità: **1 unità del mondo = 1 modulo QR.** Il piano del terreno è il sistema di coordinate del QR, con il modulo (22,22) all'origine del mondo. **Matrice QR** (45x45, versione 7, `#` = scuro, letta dal fotogramma finale, da usare alla lettera): ``` #######.#..##....###.#.#.....##.##..#.####### #.....#....#.###.##......#.#...#...#..#.....# #.###.#..#######.#.#..##.###.#...#.#..#.###.# #.###.#...#.##.#..#.###.#.#.######.##.#.###.# #.###.#.##...##.###.#########.#.#####.#.###.# #.....#.#...#...#.#.#...#...##.##.....#.....# #######.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.####### ............#.......#...###..#.#..#.#........ .#######.#.###.#.#..#####.##.....##.#..##...# .##..#.######...#..#####.##..#.#..##.#.#.#... #.###.###....##.##.#...#...#..#..#...##...... .##..#.#..##.###.#.#.###....#.#..#.#.#.#.#... ...#####..#.....#.#..#.###.#.####.......#.#.# ##.###.##.##....#..#.#..#.....#.##..##.##.#.# #####.###..#...#.##...##.#.#.####.....#.####. ..#....#.....#..###..#########.#.######...##. .##...####.##.######.##...#......###..##.###. ..#.#..#.#####.#...#.#.#.##..#.#.#..###..#..# ..###.#.###...###.##.#.#...#..#..###...#...#. .##.##.#.###.###..##...#......###.#.#..#.#... .##.#####.##..#.#...######.#.##...#.#####.### ##..#...#.#.#.#.#.#.#...#.....#.##..#...#..#. #.###.#.#..####..####.#.##.#.##...###.#.#.#.. #.###...#..##..####.#...#..#.##.##.##...####. #.#.#####....######.######..####....######... #..###.#...#..##...#.####.########.#.#..#.... .#..#####..#.####.#..#....#.##.##..#...###### ....#..####..#.#...##.#.#......#..#.##..#.#.# ###.###.#..#.#.########..#.#..#..##..##....## .#.#.#.#.#.....##...#######..###..#.#.##.#.#. #....###.....##.##..#.#...##..#..#..###...... #...##....#.#...#.#.###.#.##..#..#.....#.#.#. #.#####.#..#.###...#.#......#####..##..##.#.. #.#.##..#.....######.....####.#.##.#.#....##. ....#.###.#.####..##.##.#...#####..#...#####. .####..#.####..#...###.##....#.#..#.##..#.#.# #..##.#...#.###.##.######........##.#######.. ........#.###.##...##...#.#.##.#..###...##.## #######.#.....#.##..#.#.#..##.#..#..#.#.#..#. #.....#.#.#....######...#..##.#...#.#...##... #.###.#.#..#.##...#.#####.#..####.#.#####.### #.###.#.#.....##.###...#.#.##.#.##.#....#.##. #.###.#.#.#.#....#.###...#.#.########....##.. #.....#.#.#####.#.#...#.#..#.#.##.####.#..#.. #######..#...#...###........#..#..#####..###. ``` **The key idea:** the center alignment pattern (rows and columns 20-24) *is the hero building*. Its dark outer ring (5x5 modules, 1 module thick) is a hollow courtyard building with a flat dark roof. The courtyard is 3x3 modules of light ground, with a single dark block at its center. The storefront is the south face of this ring. The camera therefore flies up over the facade, passes the roof edge, and looks down into the courtyard, which is already the middle of the QR. **Hero building, south face.** Warm limestone (about `#D9C4A1`) with faint block coursing, a horizontal string course per floor, and two vertical pilasters that divide 3 bays. About 3 visible upper floors in the opening frame, more above. 3x2-pane sash windows in blue-slate `#647985`, cream frames, sills. A dentil cornice and parapet at the top, with the inner courtyard walls in the same stone and window style. **Shopfront at ground level:** - Green fascia `#69A25F`, angled slightly outward, with "BLANK ▪ STREET" in small spaced white caps. - Green mullions, cream interior panels. - Central dark green door `#31452C` with a brass pull. - Pendant lamps, shelves with small green packages, menu board, and diagonal white glass-reflection streaks. - Green stall risers `#4E7151`. - Boxwood topiary balls in stone planters at both ends. - Outdoor seating: 3 small round white-topped tables with black bases and dark green chairs, casting soft shadows. - A small green sign/box at the far right. **Street** (front of the building, moving toward camera): pale pavement strip with a thin yellow line at the kerb, gray road about `#A7A7A5` with a white dashed lane mark, then large cream paving slabs `#F1EDEA` near the camera. **Neighbors:** buildings either side use the same stone, with dark brown ground floors. Visible at the edges from about t = 4.2. **Every other dark module** is a small extruded building block, 1x1 in footprint, merged into visual clumps with neighbors. Flat roof with a subtly varied near-black tint per module: navy `#1B1E26`, warm `#231D1A`, olive `#201D17`, teal about `#1A2A2A`. Tiny dentil detail along roof edges where facades are visible. Light modules are bare ground. **Light:** warm directional sun casting soft shadows up and to the left on screen when viewed from above. Stylized, soft, illustrative, non-photoreal. Treat it as a flat illustration given depth, not PBR. ## Master timeline (measured from the video) Easing should feel continuous. The camera move is the single dominant gesture, slow to start and fast through the top-down reveal, between t = 4.4 and 5.2. | t (s) | What happens | |---|---| | 0.00 | Screen 1, camera at street level looking at the facade. Fascia at about 46% of screen height, road directly below. "Making" segment about 60% full and filling linearly. | | 0.70-0.90 | Digit "2" rolls vertically to "1", with motion blur and fade. | | 1.40 | Bold label switches from "Making" to "Ready". | | 1.50-1.60 | Title crossfades "Being made" to "Ready" with blur, in place. The subtitle crossfades to a check-circle + "Show your code to the barista" (no bold digit). | | ~1.60 | "Making" segment reaches 100%. | | 1.60-2.30 | "Ready" segment fills: about 23% at 1.7, 85% at 1.9, 98% at 2.1, full at 2.3. | | 2.30-3.00 | Hold. | | 3.00-3.30 | Sheet drops off the bottom with ease-in, revealing the paving. | | ~3.10 | Buttons morph: back to "x", "..." to share icon, quick crossfade. Glass stays. | | 3.20-4.00 | Camera begins to rise and pitch down. Verticals converge (building leans outward at top). Road color fades up to cream. Lane dash and kerb line dissolve, so by 4.0 the whole ground is uniform cream `#DED6CE`-`#E5DFD3`. Seating is now seen from a higher angle. | | 4.00-4.30 | Rise continues. Storefront shrinks toward the middle of the screen. More floors come in from the top, and the cornice arrives at about 4.4. | | 4.30-4.60 | **QR modules appear on the ground in front of the shop**: flat rectangles fade from transparent through gray to dark, staggered, nearest the shop first. Some are still pale gray at 4.6 while others are dark. | | 4.50 | Dark navy roof `#1B1E26` passes under the status bar at the top. | | 4.60-4.80 | Camera crests the parapet. The roof band moves down the screen and the courtyard appears above it, showing the inner far wall with windows and the dark center block. Facade is now foreshortened to a thin strip with table tops as white dots. | | 4.80-5.20 | Near-top-down and pulling out fast. The ring reads as the center alignment pattern, about 5 modules at 225px on the 720-wide reference at t=5.0. Tall walls collapse toward zero parallax, soft shadows still visible, then fading. Roof tints still differ. | | 5.20-5.30 | Perfectly flat and orthographic. All shadows gone. The QR is wider than the screen, and its bottom edge has come into view with `#F2F2F2` below. | | 5.30-5.60 | The QR scales down smoothly toward its final size and position, and the finder squares come into view. Tints converge to near-black. Ground goes to `#F2F2F2`. | | 5.50-5.70 | Glass buttons lose their glass over the now-light background. "Pickup" fades in. | | 5.60-6.10 | Screen 2's sheet rises from the bottom with a decelerating spring, no visible overshoot. | | ~6.20 | QR settled. Everything still. | | 6.20-8.17 | Hold on the final frame. | **Camera implementation:** Use one PerspectiveCamera. Animate position, lookAt and FOV from keyframes via a smooth spline. Keep x centered on the hero the whole time, with no roll. Narrow the FOV as the camera climbs (a dolly-zoom), so that perspective has fully flattened by t = 5.25. Simultaneously collapse the height of all blocks to 0 between about 5.0 and 5.25. This is what gives zero parallax. At the moment the view is flat and aligned, swap from the GL view to a crisp `react-native-svg` QR (a single Path) in the same position and size with no visible jump, then run the scale-down on that view with a Reanimated transform. (How the modules behave in height during 4.3-5.2 is inferred from the video. They read as flat fades at first and as low extruded blocks by 5.0. Tune to match the frames.) ## Screen 2: Pickup (final state) Background `#F2F2F2`. - Nav: "x" and share in 43pt very light circular buttons, same positions as Screen 1. "Pickup" 17pt semibold centered at y 81pt. - QR: 308x308pt at x 42.5pt, y 179.5pt, module 6.84pt. Near-black with a very faint residual color variation. Square modules with no rounding. - Sheet: `#FEFCFB`, x inset 8pt, top 586pt, bottom about 847pt, radius 34pt, grabber, 16pt padding. - "A42" 40pt bold, near-black. On the same row at right, a pill about 75x28pt, fill `#E0FFDD`, dark green "✓ Ready" 13pt semibold. - "Pickup code" 13pt semibold gray. - "Show this to your barista" 20pt bold. - "Blondie Matcha, Regular · 42 Gordon Street" 15pt gray. - Sun icon + "Brightness is turned up while this is open" 13pt gray. - Black pill CTA `#000000`, 346x49pt, top at 783pt: white wallet icon + "Add to Apple Wallet" 16pt semibold white. ## Definition of done 1. On an iPhone 15 or 16 simulator, freeze at t = 0.00, 4.40, 4.70, 5.00 and 8.00, capture each with `xcrun simctl io booted screenshot`, e visualizzalo accanto all'immagine di riferimento corrispondente, ritagliata sull'area dello schermo. Apri davvero le immagini e osservale. Elenca ogni differenza visibile, correggila e ripeti finché restano solo differenze minime. Osserva anche l'intero movimento, perché cinque immagini fisse non possono rilevare un salto tra un'immagine e l'altra. 2. Se il tempo a disposizione sta per scadere, dai priorità a: (a) continuità della comparsa tra 4,3 e 5,3, con l'anello che si posiziona esattamente sui moduli 20-24 e senza alcun taglio visibile; (b) fotogramma finale, che dovrebbe essere quasi identico; (c) fotogramma iniziale; (d) piccoli elementi del negozio. 3. Confronta il QR finale con la matrice modulo per modulo nel codice. 4. Misura il frame rate durante la comparsa tra 4,3 e 5,3 su un iPhone fisico e riporta il valore. Le prestazioni GL del simulatore non sono rappresentative. Se non è disponibile alcun dispositivo, dichiaralo chiaramente invece di sostenere di aver raggiunto 60 fps.Dentro il prompt
Esplora “Transizione dalla strada al ritiro tramite QR”, un esempio 3D di Claude Opus 5.5 dedicato a Dalla strada al QR, transizione al ritiro, React Native. Controlla l'etichetta della fonte per sapere se il testo è un prompt originale o istruzioni adattate dalla descrizione pubblica.
Mantieni il risultato centrale, poi specifica camera, comandi, illuminazione e ciò che deve fare un risultato riuscito. Verifica questa base prima di aggiungere dettagli visivi.
Leggi il post dell’autore originale e, quando adatti un prompt, mantieni tutti gli asset di riferimento o le dipendenze richiesti.
Ruota la camera, prova i controlli e verifica l'intera interazione per individuare clipping, oggetti sospesi e stati non funzionanti.
Quando l'interazione funziona, usa un personaggio, un elemento di scena o un prodotto generato con Tripo per rendere l'esperienza unica.

Il tuo prompt costruisce il gioco o la scena. Dagli vita con personaggi e oggetti più dettagliati, creati in Tripo per sostituire i semplici modelli provvisori.