From 0f1740a7ada0af9bf5f1f5066f29d9e8ccc48006 Mon Sep 17 00:00:00 2001 From: Andrea Manzi Date: Thu, 29 Oct 2026 17:34:37 +0100 Subject: [PATCH] Effetti nei posti nuovi: nuvole, uccelli, la Carza che scorre e luccica alla cascatella e sotto il ponte, fronde, ombre, farfalle e libellule, lampioni la sera; i panorami del terrazzo e di Via Cafaggio con le ombre delle nuvole sulle colline (Andrea) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GiECd9KMfjthRUnujCGSzZ --- src/story/ambience.js | 113 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) diff --git a/src/story/ambience.js b/src/story/ambience.js index ed3e241..83225f2 100644 --- a/src/story/ambience.js +++ b/src/story/ambience.js @@ -151,4 +151,117 @@ export const ambience = { { type: 'cloudshadow', phase: day, area: [60, 220, 520, 140], offset: 23000, clip: [[0, 215], [400, 195], [640, 260], [640, 360], [0, 360]] }, ], + // I posti nuovi del 29 ottobre (foto di Andrea): nuvole, uccelli, la Carza che scorre e luccica, fronde, ombre. + via_compagnia: [ + { type: 'clouds', area: [130, 0, 340, 80], count: 2 }, + { type: 'lamps', phase: 'sera', points: [[115, 104]], glow: 10 }, + bird([250, 300, 70, 16], 9000), + ], + via_cafaggio: [ + // Il panorama: Monte Cacioli e le colline, con le ombre delle nuvole che ci scorrono sopra. + { type: 'clouds', area: [0, 0, 640, 80], count: 4, big: true }, + { type: 'cloudshadow', phase: day, area: [0, 80, 640, 90], offset: 6000, clip: rect([0, 80, 640, 90]) }, + { type: 'cloudshadow', phase: day, area: [0, 80, 640, 90], offset: 32000, clip: rect([0, 80, 640, 90]) }, + { type: 'birds', phase: day, area: [80, 20, 420, 70], count: 4, every: 21000, duration: 6000, offset: 3000 }, + { type: 'sway', rects: [[560, 0, 80, 90]], amount: 2 }, + butterfly([40, 300, 160, 40], 15000), + ], + via_cafaggio_fondo: [ + { type: 'clouds', area: [0, 10, 380, 80], count: 3, big: true }, + { type: 'birds', phase: day, area: [150, 20, 250, 60], count: 2, every: 26000, duration: 5000, offset: 8000 }, + { type: 'sway', rects: [[390, 0, 150, 160]], amount: 1.5 }, + shade([300, 270, 220, 70], 12), + { type: 'lamps', phase: 'sera', points: [[252, 83], [319, 121]], glow: 9 }, + ], + via_cafaggio_avanti: [ + { type: 'clouds', area: [150, 10, 400, 80], count: 3, big: true }, + { type: 'sway', rects: [[400, 60, 200, 90]], amount: 1.5 }, + shade([180, 250, 260, 90], 12), + bird([120, 300, 80, 16], 14000), + ], + rotonda_cafaggio: [ + { type: 'clouds', area: [200, 20, 420, 90], count: 4, big: true }, + { type: 'birds', phase: day, area: [250, 20, 300, 60], count: 3, every: 23000, duration: 5500, offset: 5000 }, + { type: 'sway', rects: [[0, 0, 140, 240], [350, 110, 200, 100], [560, 0, 80, 230]], amount: 2 }, + shade([0, 250, 200, 60], 12), + ], + provinciale_luna: [ + { type: 'clouds', area: [80, 20, 330, 80], count: 3, big: true }, + { type: 'birds', phase: day, area: [100, 20, 280, 60], count: 3, every: 24000, duration: 5000, offset: 12000 }, + { type: 'sway', rects: [[400, 0, 240, 170]], amount: 2 }, + shade([380, 230, 170, 100], 14), + ], + passeggiata_carza: [ + // La cascatella che si vede dalla Luna: l'acqua che scende luccica, e la Carza scorre verso valle. + { type: 'ripples', area: [150, 200, 196, 55], count: 14, flow: [-10, 4], + clip: [[150, 242], [210, 226], [290, 204], [346, 200], [346, 212], [300, 224], [225, 246], [160, 256]] }, + { type: 'sparkle', area: [296, 184, 46, 18], count: 5 }, + { type: 'sparkle', area: [170, 222, 120, 26], count: 3 }, + { type: 'clouds', area: [380, 40, 140, 50], count: 2 }, + { type: 'sway', rects: [[0, 0, 180, 250], [300, 0, 100, 200], [440, 60, 100, 120]], amount: 2 }, + shade([200, 240, 300, 60], 14), + { type: 'insect', kind: 'dragonfly', phase: day, area: [180, 214, 110, 30], every: 33000, duration: 9000, offset: 4000 }, + butterfly([380, 228, 120, 40], 17000), + { type: 'lamps', phase: 'sera', points: [[519, 77]], glow: 10 }, + ], + passeggiata_carza_avanti: [ + { type: 'ripples', area: [480, 236, 160, 70], count: 10, flow: [10, 4], + clip: [[480, 240], [560, 250], [640, 272], [640, 318], [560, 292], [500, 270]] }, + { type: 'sparkle', area: [520, 252, 100, 40], count: 3 }, + { type: 'clouds', area: [0, 0, 640, 90], count: 4, big: true }, + { type: 'birds', phase: day, area: [150, 20, 350, 60], count: 3, every: 22000, duration: 5500, offset: 7000 }, + { type: 'sway', rects: [[250, 10, 110, 170], [360, 40, 90, 120], [500, 60, 140, 120]], amount: 2 }, + butterfly([40, 200, 160, 50], 9000), + ], + passeggiata_poste: [ + { type: 'ripples', area: [470, 270, 170, 88], count: 12, flow: [10, 3], + clip: [[470, 278], [560, 272], [640, 300], [640, 358], [560, 358], [480, 302]] }, + { type: 'sparkle', area: [500, 290, 120, 50], count: 3 }, + { type: 'clouds', area: [380, 0, 260, 90], count: 3, big: true }, + { type: 'sway', rects: [[150, 50, 170, 150], [400, 120, 240, 90]], amount: 2 }, + shade([180, 250, 130, 60], 10), + { type: 'lamps', phase: 'sera', points: [[337, 144]], glow: 10 }, + ], + passeggiata_ponte: [ + { type: 'ripples', area: [480, 250, 160, 108], count: 12, flow: [10, 4], + clip: [[480, 256], [560, 250], [640, 272], [640, 358], [580, 358], [500, 300]] }, + { type: 'sparkle', area: [500, 270, 120, 70], count: 4 }, + { type: 'clouds', area: [240, 20, 300, 80], count: 3, big: true }, + { type: 'birds', phase: day, area: [250, 30, 250, 50], count: 2, every: 26000, duration: 5000, offset: 16000 }, + { type: 'sway', rects: [[0, 0, 250, 190], [270, 80, 370, 160]], amount: 2 }, + butterfly([60, 220, 100, 40], 11000), + ], + ponte_stazione: [ + { type: 'ripples', area: [300, 214, 340, 102], count: 18, flow: [12, 4], + clip: [[300, 218], [380, 214], [520, 240], [640, 280], [640, 316], [560, 300], [420, 252], [320, 228]] }, + { type: 'sparkle', area: [420, 240, 200, 60], count: 5 }, + { type: 'clouds', area: [180, 10, 280, 80], count: 3, big: true }, + { type: 'sway', rects: [[0, 0, 170, 190], [390, 0, 250, 210]], amount: 2 }, + butterfly([150, 240, 150, 50], 6000), + { type: 'insect', kind: 'dragonfly', phase: day, area: [440, 228, 110, 30], every: 31000, duration: 8500, offset: 15000 }, + ], + orti_zio_mario: [ + { type: 'clouds', area: [80, 20, 500, 90], count: 3, big: true }, + { type: 'birds', phase: day, area: [300, 30, 250, 60], count: 3, every: 24000, duration: 5000, offset: 2000 }, + { type: 'sway', rects: [[180, 10, 140, 180], [430, 10, 210, 240]], amount: 2 }, + butterfly([10, 240, 140, 50], 8000), + bird([280, 290, 80, 18], 13000, 'blackbird'), + { type: 'lamps', phase: 'sera', points: [[352, 110]], glow: 10 }, + ], + viale_stazione: [ + { type: 'clouds', area: [230, 0, 380, 110], count: 4, big: true }, + { type: 'birds', phase: day, area: [250, 20, 300, 60], count: 3, every: 22000, duration: 5500, offset: 9000 }, + { type: 'sway', rects: [[270, 110, 90, 110], [330, 160, 140, 70]], amount: 1.5 }, + { type: 'lamps', phase: 'sera', points: [[396, 117], [405, 155]], glow: 9 }, + bird([520, 260, 60, 16], 18000), + ], + terrazza: [ + // Il panorama di casa: il paese e la Fortezza sotto un cielo che si muove, le ombre delle nuvole sulla collina. + { type: 'clouds', area: [0, 0, 640, 80], count: 5, big: true }, + { type: 'cloudshadow', phase: day, area: [0, 40, 640, 200], offset: 4000, clip: rect([0, 40, 640, 200]) }, + { type: 'cloudshadow', phase: day, area: [0, 40, 640, 200], offset: 30000, clip: rect([0, 40, 640, 200]) }, + { type: 'birds', phase: day, area: [60, 20, 480, 80], count: 5, every: 19000, duration: 6500, offset: 1000 }, + { type: 'sway', rects: [[54, 176, 136, 100]], amount: 1.5 }, + butterfly([500, 230, 100, 40], 10000), + ], };