mulmocast 2.4.9 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,820 @@
1
+ {
2
+ "$mulmocast": {
3
+ "version": "1.1"
4
+ },
5
+ "title": "マコロの冒険 - Swipeアニメーションショーケース",
6
+ "description": "Swipe風宣言的elementsによるリッチなアニメーションデモ",
7
+ "lang": "ja",
8
+ "speechParams": {
9
+ "provider": "gemini",
10
+ "speakers": {
11
+ "macoro": {
12
+ "provider": "gemini",
13
+ "voiceId": "Kore",
14
+ "displayName": {
15
+ "ja": "マコロ"
16
+ }
17
+ },
18
+ "narrator": {
19
+ "provider": "gemini",
20
+ "voiceId": "Charon",
21
+ "displayName": {
22
+ "ja": "ナレーター"
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "beats": [
28
+ {
29
+ "speaker": "narrator",
30
+ "text": "マコロの冒険。ある晴れた日のこと。",
31
+ "duration": 5,
32
+ "image": {
33
+ "type": "html_tailwind",
34
+ "elements": [
35
+ {
36
+ "id": "sky",
37
+ "w": "100%",
38
+ "h": "100%",
39
+ "bc": "linear-gradient(180deg, #87CEEB 0%, #E0F7FA 60%, #FFF9C4 100%)"
40
+ },
41
+ {
42
+ "id": "cloud1",
43
+ "text": "☁",
44
+ "fontSize": "80px",
45
+ "pos": ["20%", "20%"],
46
+ "opacity": 0.7,
47
+ "loop": {
48
+ "style": "shift",
49
+ "direction": "e",
50
+ "count": 0,
51
+ "duration": 20
52
+ }
53
+ },
54
+ {
55
+ "id": "cloud2",
56
+ "text": "☁",
57
+ "fontSize": "60px",
58
+ "pos": ["60%", "15%"],
59
+ "opacity": 0.5,
60
+ "loop": {
61
+ "style": "shift",
62
+ "direction": "e",
63
+ "count": 0,
64
+ "duration": 30
65
+ }
66
+ },
67
+ {
68
+ "id": "sun",
69
+ "text": "☀",
70
+ "fontSize": "60px",
71
+ "pos": ["85%", "12%"],
72
+ "loop": {
73
+ "style": "pulse",
74
+ "delta": 0.08,
75
+ "count": 0,
76
+ "duration": 3
77
+ }
78
+ },
79
+ {
80
+ "id": "ground",
81
+ "w": "100%",
82
+ "h": "30%",
83
+ "y": "70%",
84
+ "bc": "linear-gradient(180deg, #81C784 0%, #4CAF50 100%)",
85
+ "cornerRadius": 0
86
+ },
87
+ {
88
+ "id": "title",
89
+ "pos": ["50%", "45%"],
90
+ "w": "80%",
91
+ "opacity": 0,
92
+ "elements": [
93
+ {
94
+ "id": "title-text",
95
+ "text": "マコロの冒険",
96
+ "fontSize": "56px",
97
+ "fontWeight": "900",
98
+ "textColor": "white",
99
+ "shadow": {
100
+ "offset": [3, 3],
101
+ "opacity": 0.3,
102
+ "radius": 8
103
+ },
104
+ "textAlign": "center"
105
+ }
106
+ ],
107
+ "to": {
108
+ "opacity": 1,
109
+ "scale": 1,
110
+ "timing": [0.1, 0.4]
111
+ }
112
+ },
113
+ {
114
+ "id": "subtitle",
115
+ "pos": ["50%", "58%"],
116
+ "w": "80%",
117
+ "opacity": 0,
118
+ "elements": [
119
+ {
120
+ "id": "subtitle-text",
121
+ "text": "〜 ある晴れた日のこと 〜",
122
+ "fontSize": "24px",
123
+ "textColor": "#5D4037"
124
+ }
125
+ ],
126
+ "to": {
127
+ "opacity": 1,
128
+ "timing": [0.4, 0.6]
129
+ }
130
+ }
131
+ ],
132
+ "animation": {
133
+ "fps": 24
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "speaker": "macoro",
139
+ "text": "わあ!今日はいい天気だね!お散歩に行こう!",
140
+ "duration": 5,
141
+ "image": {
142
+ "type": "html_tailwind",
143
+ "elements": [
144
+ {
145
+ "id": "sky",
146
+ "w": "100%",
147
+ "h": "100%",
148
+ "bc": "linear-gradient(180deg, #87CEEB 0%, #E0F7FA 60%, #C8E6C9 100%)"
149
+ },
150
+ {
151
+ "id": "cloud1",
152
+ "text": "☁",
153
+ "fontSize": "60px",
154
+ "pos": ["30%", "18%"],
155
+ "opacity": 0.6,
156
+ "loop": {
157
+ "style": "shift",
158
+ "direction": "e",
159
+ "count": 0,
160
+ "duration": 25
161
+ }
162
+ },
163
+ {
164
+ "id": "ground",
165
+ "w": "100%",
166
+ "h": "35%",
167
+ "y": "65%",
168
+ "bc": "linear-gradient(180deg, #81C784 0%, #66BB6A 50%, #4CAF50 100%)"
169
+ },
170
+ {
171
+ "id": "flower1",
172
+ "text": "🌸",
173
+ "fontSize": "28px",
174
+ "pos": ["15%", "78%"],
175
+ "loop": {
176
+ "style": "wiggle",
177
+ "delta": 10,
178
+ "count": 0,
179
+ "duration": 2
180
+ }
181
+ },
182
+ {
183
+ "id": "flower2",
184
+ "text": "🌼",
185
+ "fontSize": "24px",
186
+ "pos": ["75%", "82%"],
187
+ "loop": {
188
+ "style": "wiggle",
189
+ "delta": 8,
190
+ "count": 0,
191
+ "duration": 2.5
192
+ }
193
+ },
194
+ {
195
+ "id": "flower3",
196
+ "text": "🌷",
197
+ "fontSize": "22px",
198
+ "pos": ["90%", "76%"],
199
+ "loop": {
200
+ "style": "wiggle",
201
+ "delta": 12,
202
+ "count": 0,
203
+ "duration": 1.8
204
+ }
205
+ },
206
+ {
207
+ "id": "macoro",
208
+ "img": "https://raw.githubusercontent.com/receptron/mulmocast-media/main/characters/macoro.png",
209
+ "pos": ["50%", "60%"],
210
+ "w": 420,
211
+ "h": 260,
212
+ "imgFit": "contain",
213
+ "opacity": 0,
214
+ "translate": [0, 100],
215
+ "shadow": {
216
+ "offset": [0, 8],
217
+ "opacity": 0.25,
218
+ "radius": 15
219
+ },
220
+ "to": {
221
+ "opacity": 1,
222
+ "translate": [0, 0],
223
+ "timing": [0, 0.25]
224
+ },
225
+ "loop": {
226
+ "style": "bounce",
227
+ "delta": 12,
228
+ "count": 0,
229
+ "duration": 0.8
230
+ }
231
+ },
232
+ {
233
+ "id": "bubble",
234
+ "pos": ["75%", "25%"],
235
+ "w": 320,
236
+ "h": 100,
237
+ "bc": "white",
238
+ "cornerRadius": 20,
239
+ "opacity": 0,
240
+ "shadow": {
241
+ "offset": [0, 3],
242
+ "opacity": 0.1,
243
+ "radius": 8
244
+ },
245
+ "to": {
246
+ "opacity": 1,
247
+ "timing": [0.25, 0.35]
248
+ },
249
+ "elements": [
250
+ {
251
+ "id": "bubble-text",
252
+ "x": 20,
253
+ "y": 15,
254
+ "w": 280,
255
+ "text": "わあ!今日はいい天気だね!お散歩に行こう!",
256
+ "fontSize": "18px",
257
+ "fontWeight": "bold",
258
+ "textColor": "#444",
259
+ "lineHeight": "1.5"
260
+ }
261
+ ]
262
+ }
263
+ ],
264
+ "animation": {
265
+ "fps": 24
266
+ }
267
+ }
268
+ },
269
+ {
270
+ "speaker": "macoro",
271
+ "text": "えっ!?なにあれ!?すごいキラキラしてる!",
272
+ "duration": 5,
273
+ "image": {
274
+ "type": "html_tailwind",
275
+ "elements": [
276
+ {
277
+ "id": "bg",
278
+ "w": "100%",
279
+ "h": "100%",
280
+ "bc": "linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%)"
281
+ },
282
+ {
283
+ "id": "sparkle1",
284
+ "text": "✨",
285
+ "fontSize": "40px",
286
+ "pos": ["70%", "30%"],
287
+ "loop": {
288
+ "style": "pulse",
289
+ "delta": 0.3,
290
+ "count": 0,
291
+ "duration": 0.5
292
+ }
293
+ },
294
+ {
295
+ "id": "sparkle2",
296
+ "text": "✨",
297
+ "fontSize": "50px",
298
+ "pos": ["75%", "45%"],
299
+ "loop": {
300
+ "style": "pulse",
301
+ "delta": 0.25,
302
+ "count": 0,
303
+ "duration": 0.7
304
+ }
305
+ },
306
+ {
307
+ "id": "sparkle3",
308
+ "text": "✨",
309
+ "fontSize": "35px",
310
+ "pos": ["65%", "25%"],
311
+ "loop": {
312
+ "style": "blink",
313
+ "count": 0,
314
+ "duration": 0.8
315
+ }
316
+ },
317
+ {
318
+ "id": "sparkle4",
319
+ "text": "⭐",
320
+ "fontSize": "30px",
321
+ "pos": ["80%", "35%"],
322
+ "loop": {
323
+ "style": "spin",
324
+ "clockwise": true,
325
+ "count": 0,
326
+ "duration": 2
327
+ }
328
+ },
329
+ {
330
+ "id": "mystery-box",
331
+ "pos": ["72%", "55%"],
332
+ "w": 100,
333
+ "h": 100,
334
+ "bc": "linear-gradient(135deg, #FFD700, #FFA000)",
335
+ "cornerRadius": 15,
336
+ "borderWidth": 3,
337
+ "borderColor": "#FF6F00",
338
+ "shadow": {
339
+ "offset": [0, 5],
340
+ "opacity": 0.3,
341
+ "radius": 12
342
+ },
343
+ "opacity": 0,
344
+ "to": {
345
+ "opacity": 1,
346
+ "scale": 1,
347
+ "timing": [0, 0.2]
348
+ },
349
+ "loop": {
350
+ "style": "pulse",
351
+ "delta": 0.05,
352
+ "count": 0,
353
+ "duration": 1.5
354
+ },
355
+ "elements": [
356
+ {
357
+ "id": "box-mark",
358
+ "pos": ["50%", "50%"],
359
+ "text": "?",
360
+ "fontSize": "48px",
361
+ "fontWeight": "900",
362
+ "textColor": "white"
363
+ }
364
+ ]
365
+ },
366
+ {
367
+ "id": "macoro",
368
+ "img": "https://raw.githubusercontent.com/receptron/mulmocast-media/main/characters/macoro.png",
369
+ "pos": ["30%", "60%"],
370
+ "w": 380,
371
+ "h": 240,
372
+ "imgFit": "contain",
373
+ "shadow": {
374
+ "offset": [0, 6],
375
+ "opacity": 0.2,
376
+ "radius": 12
377
+ },
378
+ "loop": {
379
+ "style": "vibrate",
380
+ "delta": 5,
381
+ "count": 0,
382
+ "duration": 0.15
383
+ }
384
+ },
385
+ {
386
+ "id": "exclaim",
387
+ "pos": ["30%", "22%"],
388
+ "opacity": 0,
389
+ "to": {
390
+ "opacity": 1,
391
+ "translate": [0, -20],
392
+ "timing": [0.1, 0.25]
393
+ },
394
+ "elements": [
395
+ {
396
+ "id": "exclaim-text",
397
+ "text": "!?",
398
+ "fontSize": "64px",
399
+ "fontWeight": "900",
400
+ "textColor": "#F44336"
401
+ }
402
+ ]
403
+ },
404
+ {
405
+ "id": "bubble",
406
+ "pos": ["30%", "88%"],
407
+ "w": 400,
408
+ "h": 60,
409
+ "bc": "rgba(255,255,255,0.9)",
410
+ "cornerRadius": 30,
411
+ "opacity": 0,
412
+ "to": {
413
+ "opacity": 1,
414
+ "timing": [0.3, 0.4]
415
+ },
416
+ "elements": [
417
+ {
418
+ "id": "bubble-text",
419
+ "pos": ["50%", "50%"],
420
+ "text": "えっ!?なにあれ!?すごいキラキラしてる!",
421
+ "fontSize": "18px",
422
+ "fontWeight": "bold",
423
+ "textColor": "#333",
424
+ "textAlign": "center"
425
+ }
426
+ ]
427
+ }
428
+ ],
429
+ "animation": {
430
+ "fps": 24
431
+ }
432
+ }
433
+ },
434
+ {
435
+ "speaker": "macoro",
436
+ "text": "見て見て!お宝を見つけたよ!キラキラのクリスタルだ!",
437
+ "duration": 6,
438
+ "image": {
439
+ "type": "html_tailwind",
440
+ "elements": [
441
+ {
442
+ "id": "bg",
443
+ "w": "100%",
444
+ "h": "100%",
445
+ "bc": "linear-gradient(180deg, #1A237E 0%, #283593 30%, #3F51B5 60%, #7986CB 100%)"
446
+ },
447
+ {
448
+ "id": "star1",
449
+ "text": "⭐",
450
+ "fontSize": "16px",
451
+ "pos": ["10%", "10%"],
452
+ "loop": {
453
+ "style": "blink",
454
+ "count": 0,
455
+ "duration": 1.5
456
+ }
457
+ },
458
+ {
459
+ "id": "star2",
460
+ "text": "⭐",
461
+ "fontSize": "12px",
462
+ "pos": ["25%", "5%"],
463
+ "loop": {
464
+ "style": "blink",
465
+ "count": 0,
466
+ "duration": 2
467
+ }
468
+ },
469
+ {
470
+ "id": "star3",
471
+ "text": "⭐",
472
+ "fontSize": "14px",
473
+ "pos": ["45%", "8%"],
474
+ "loop": {
475
+ "style": "blink",
476
+ "count": 0,
477
+ "duration": 1.2
478
+ }
479
+ },
480
+ {
481
+ "id": "star4",
482
+ "text": "⭐",
483
+ "fontSize": "10px",
484
+ "pos": ["80%", "12%"],
485
+ "loop": {
486
+ "style": "blink",
487
+ "count": 0,
488
+ "duration": 1.8
489
+ }
490
+ },
491
+ {
492
+ "id": "star5",
493
+ "text": "⭐",
494
+ "fontSize": "18px",
495
+ "pos": ["90%", "6%"],
496
+ "loop": {
497
+ "style": "blink",
498
+ "count": 0,
499
+ "duration": 2.5
500
+ }
501
+ },
502
+ {
503
+ "id": "crystal",
504
+ "text": "💎",
505
+ "fontSize": "120px",
506
+ "pos": ["50%", "40%"],
507
+ "opacity": 0,
508
+ "scale": 0.3,
509
+ "to": {
510
+ "opacity": 1,
511
+ "scale": 1,
512
+ "timing": [0.15, 0.4]
513
+ },
514
+ "loop": {
515
+ "style": "spin",
516
+ "clockwise": true,
517
+ "count": 0,
518
+ "duration": 4
519
+ }
520
+ },
521
+ {
522
+ "id": "glow1",
523
+ "text": "✦",
524
+ "fontSize": "30px",
525
+ "textColor": "#FFD54F",
526
+ "pos": ["40%", "30%"],
527
+ "opacity": 0,
528
+ "to": {
529
+ "opacity": 1,
530
+ "timing": [0.35, 0.5]
531
+ },
532
+ "loop": {
533
+ "style": "pulse",
534
+ "delta": 0.3,
535
+ "count": 0,
536
+ "duration": 0.6
537
+ }
538
+ },
539
+ {
540
+ "id": "glow2",
541
+ "text": "✦",
542
+ "fontSize": "24px",
543
+ "textColor": "#64FFDA",
544
+ "pos": ["60%", "35%"],
545
+ "opacity": 0,
546
+ "to": {
547
+ "opacity": 1,
548
+ "timing": [0.4, 0.55]
549
+ },
550
+ "loop": {
551
+ "style": "pulse",
552
+ "delta": 0.25,
553
+ "count": 0,
554
+ "duration": 0.8
555
+ }
556
+ },
557
+ {
558
+ "id": "glow3",
559
+ "text": "✦",
560
+ "fontSize": "20px",
561
+ "textColor": "#FF80AB",
562
+ "pos": ["55%", "50%"],
563
+ "opacity": 0,
564
+ "to": {
565
+ "opacity": 1,
566
+ "timing": [0.45, 0.6]
567
+ },
568
+ "loop": {
569
+ "style": "pulse",
570
+ "delta": 0.35,
571
+ "count": 0,
572
+ "duration": 0.5
573
+ }
574
+ },
575
+ {
576
+ "id": "macoro",
577
+ "img": "https://raw.githubusercontent.com/receptron/mulmocast-media/main/characters/macoro.png",
578
+ "pos": ["25%", "70%"],
579
+ "w": 320,
580
+ "h": 200,
581
+ "imgFit": "contain",
582
+ "shadow": {
583
+ "offset": [0, 5],
584
+ "opacity": 0.3,
585
+ "radius": 10
586
+ },
587
+ "opacity": 0,
588
+ "to": {
589
+ "opacity": 1,
590
+ "timing": [0, 0.15]
591
+ },
592
+ "loop": {
593
+ "style": "bounce",
594
+ "delta": 8,
595
+ "count": 0,
596
+ "duration": 0.6
597
+ }
598
+ },
599
+ {
600
+ "id": "dialog",
601
+ "pos": ["50%", "90%"],
602
+ "w": "80%",
603
+ "h": 60,
604
+ "bc": "rgba(0,0,0,0.6)",
605
+ "cornerRadius": 12,
606
+ "opacity": 0,
607
+ "to": {
608
+ "opacity": 1,
609
+ "timing": [0.3, 0.4]
610
+ },
611
+ "elements": [
612
+ {
613
+ "id": "dialog-text",
614
+ "pos": ["50%", "50%"],
615
+ "text": "見て見て!お宝を見つけたよ!キラキラのクリスタルだ!",
616
+ "fontSize": "20px",
617
+ "fontWeight": "bold",
618
+ "textColor": "white",
619
+ "textAlign": "center"
620
+ }
621
+ ]
622
+ }
623
+ ],
624
+ "animation": {
625
+ "fps": 24
626
+ }
627
+ }
628
+ },
629
+ {
630
+ "speaker": "macoro",
631
+ "text": "今日は楽しかったね!またね、バイバイ!",
632
+ "duration": 6,
633
+ "image": {
634
+ "type": "html_tailwind",
635
+ "elements": [
636
+ {
637
+ "id": "sky",
638
+ "w": "100%",
639
+ "h": "100%",
640
+ "bc": "linear-gradient(180deg, #FF8A65 0%, #FFB74D 30%, #FFE082 60%, #FFF9C4 100%)"
641
+ },
642
+ {
643
+ "id": "sun",
644
+ "text": "🌅",
645
+ "fontSize": "100px",
646
+ "pos": ["50%", "50%"],
647
+ "opacity": 0.8,
648
+ "loop": {
649
+ "style": "pulse",
650
+ "delta": 0.05,
651
+ "count": 0,
652
+ "duration": 4
653
+ }
654
+ },
655
+ {
656
+ "id": "bird1",
657
+ "text": "🕊",
658
+ "fontSize": "24px",
659
+ "pos": ["30%", "25%"],
660
+ "loop": {
661
+ "style": "shift",
662
+ "direction": "e",
663
+ "count": 0,
664
+ "duration": 15
665
+ }
666
+ },
667
+ {
668
+ "id": "bird2",
669
+ "text": "🕊",
670
+ "fontSize": "18px",
671
+ "pos": ["45%", "20%"],
672
+ "loop": {
673
+ "style": "shift",
674
+ "direction": "e",
675
+ "count": 0,
676
+ "duration": 20
677
+ }
678
+ },
679
+ {
680
+ "id": "ground",
681
+ "w": "100%",
682
+ "h": "25%",
683
+ "y": "75%",
684
+ "bc": "linear-gradient(180deg, #66BB6A 0%, #388E3C 100%)"
685
+ },
686
+ {
687
+ "id": "macoro",
688
+ "img": "https://raw.githubusercontent.com/receptron/mulmocast-media/main/characters/macoro.png",
689
+ "pos": ["50%", "65%"],
690
+ "w": 400,
691
+ "h": 250,
692
+ "imgFit": "contain",
693
+ "shadow": {
694
+ "offset": [0, 8],
695
+ "opacity": 0.2,
696
+ "radius": 15
697
+ },
698
+ "loop": {
699
+ "style": "wiggle",
700
+ "delta": 5,
701
+ "count": 0,
702
+ "duration": 1
703
+ }
704
+ },
705
+ {
706
+ "id": "wave-hand",
707
+ "text": "👋",
708
+ "fontSize": "48px",
709
+ "pos": ["65%", "50%"],
710
+ "opacity": 0,
711
+ "to": {
712
+ "opacity": 1,
713
+ "timing": [0.2, 0.3]
714
+ },
715
+ "loop": {
716
+ "style": "wiggle",
717
+ "delta": 20,
718
+ "count": 0,
719
+ "duration": 0.4
720
+ }
721
+ },
722
+ {
723
+ "id": "heart1",
724
+ "text": "❤",
725
+ "fontSize": "24px",
726
+ "textColor": "#E91E63",
727
+ "pos": ["35%", "45%"],
728
+ "opacity": 0,
729
+ "to": {
730
+ "opacity": 0.8,
731
+ "translate": [0, -30],
732
+ "timing": [0.3, 0.5]
733
+ },
734
+ "loop": {
735
+ "style": "pulse",
736
+ "delta": 0.15,
737
+ "count": 0,
738
+ "duration": 1
739
+ }
740
+ },
741
+ {
742
+ "id": "heart2",
743
+ "text": "❤",
744
+ "fontSize": "18px",
745
+ "textColor": "#F06292",
746
+ "pos": ["55%", "42%"],
747
+ "opacity": 0,
748
+ "to": {
749
+ "opacity": 0.7,
750
+ "translate": [0, -25],
751
+ "timing": [0.4, 0.6]
752
+ },
753
+ "loop": {
754
+ "style": "pulse",
755
+ "delta": 0.2,
756
+ "count": 0,
757
+ "duration": 1.3
758
+ }
759
+ },
760
+ {
761
+ "id": "dialog",
762
+ "pos": ["50%", "88%"],
763
+ "w": "70%",
764
+ "h": 55,
765
+ "bc": "rgba(255,255,255,0.85)",
766
+ "cornerRadius": 28,
767
+ "opacity": 0,
768
+ "shadow": {
769
+ "offset": [0, 3],
770
+ "opacity": 0.1,
771
+ "radius": 6
772
+ },
773
+ "to": {
774
+ "opacity": 1,
775
+ "timing": [0.2, 0.3]
776
+ },
777
+ "elements": [
778
+ {
779
+ "id": "dialog-text",
780
+ "pos": ["50%", "50%"],
781
+ "text": "今日は楽しかったね!またね、バイバイ!",
782
+ "fontSize": "22px",
783
+ "fontWeight": "bold",
784
+ "textColor": "#BF360C",
785
+ "textAlign": "center"
786
+ }
787
+ ]
788
+ },
789
+ {
790
+ "id": "the-end",
791
+ "pos": ["50%", "15%"],
792
+ "opacity": 0,
793
+ "to": {
794
+ "opacity": 1,
795
+ "timing": [0.6, 0.8]
796
+ },
797
+ "elements": [
798
+ {
799
+ "id": "end-text",
800
+ "text": "THE END",
801
+ "fontSize": "36px",
802
+ "fontWeight": "900",
803
+ "textColor": "white",
804
+ "shadow": {
805
+ "offset": [2, 2],
806
+ "opacity": 0.4,
807
+ "radius": 6
808
+ },
809
+ "textAlign": "center"
810
+ }
811
+ ]
812
+ }
813
+ ],
814
+ "animation": {
815
+ "fps": 24
816
+ }
817
+ }
818
+ }
819
+ ]
820
+ }