GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deckmill/generate_preset_slides.py at master · ishan-parihar/deckmill

Expand file tree

/

generate_preset_slides.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
1449 lines (1356 loc) · 120 KB
/

generate_preset_slides.py

Copy path

File metadata and controls

1449 lines (1356 loc) · 120 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/usr/bin/env python3
"""
Generate production-grade carousel HTML for each of the 28 campaign presets.
Every slide gets purpose-specific demo content that tells the story its preset
is designed to deliver. No generic filler — each carousel should feel like a
real campaign you'd publish.
Pipeline: configure-design → generate-slide → render-carousel
Flags:
--validate Run composition validation on each preset's slide sequence
--only ID Generate only the specified preset(s), comma-separated
--list List all preset IDs and exit
"""
import json, os, subprocess, sys, random
WORKSPACE_DIR = os.path.dirname(os.path.abspath(__file__))
BIN = os.path.join(WORKSPACE_DIR, "dist", "deckmill-x86_64-linux-gnu")
if not os.path.exists(BIN):
BIN = os.path.join(WORKSPACE_DIR, "target", "release", "deckmill")
PRESETS_FILE = os.path.join(WORKSPACE_DIR, "docs", "presets", "campaign-presets.json")
OUTPUT_DIR = os.path.join(WORKSPACE_DIR, "dist", "presets")
TOKENS_DIR = os.path.join(OUTPUT_DIR, "tokens")
os.makedirs(OUTPUT_DIR, exist_ok=True)
os.makedirs(TOKENS_DIR, exist_ok=True)
# ── Visual diversity ─────────────────────────────────────────────────────
PRESET_COLORS = [
"#5E5FE0", "#E05252", "#2E7D32", "#F57C00", "#7B1FA2",
"#00838F", "#C62828", "#283593", "#558B2F", "#D84315",
"#4527A0", "#00695C", "#AD1457", "#1565C0", "#827717",
"#6A1B9A", "#00897B", "#BF360C", "#311B92", "#1B5E20",
"#880E4F", "#0D47A1", "#E65100", "#33691E", "#4A148C",
"#006064", "#B71C1C", "#1A237E",
]
PRESET_THEMES = ["editorial", "bold", "minimal", "dark", "vibrant", "natural"]
PRESET_ARCHETYPES = [
"educator", "thought_leader", "startup_pitch",
"brand_storyteller", "data_analyst", "creator",
]
ASPECT_RATIOS = ["4:5", "3:4", "1:1", "4:5"]
IMAGES = [
"https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=600",
"https://images.unsplash.com/photo-1518770660439-4636190af475?w=600",
"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=600",
"https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?w=600",
"https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=600",
"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=600",
"https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=600",
"https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=600",
]
AVATARS = [
"https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=100",
"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=100",
"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=100",
"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=100",
"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=100",
]
def run_cmd(cmd, label, timeout=120):
print(f" [{label}] $ {cmd[0].split('/')[-1]} {' '.join(cmd[1:4])}...")
r = subprocess.run(cmd, capture_output=True, text=True, cwd=WORKSPACE_DIR, timeout=timeout)
if r.returncode != 0:
print(f" ✗ FAILED [{label}]: {r.stderr[-500:] if r.stderr else r.stdout[-500:]}")
return None
return r.stdout
def generate_tokens(preset_id, color, theme, output_path):
cmd = [BIN, "configure-design", color, "--style", theme, "--preset", "tonal_spot", "--output", output_path]
return run_cmd(cmd, f"tokens:{preset_id}")
def generate_slide(slide_type, tokens_file, theme, bg_style, archetype, params, variant="", aspect_ratio="4:5"):
if variant:
params = dict(params)
params["variant"] = variant
# Use --output to get JSON (stdout uses TOON format, not JSON)
tmp_path = os.path.join(TOKENS_DIR, f"_tmp_{slide_type}.json")
cmd = [
BIN, "generate-slide", slide_type,
"--tokens-file", tokens_file,
"--theme", theme, "--bg-style", bg_style,
"--archetype", archetype, "--aspect-ratio", aspect_ratio,
"--params", json.dumps(params),
"--output", tmp_path,
]
result = run_cmd(cmd, f"slide:{slide_type}")
if result is None:
return None
try:
with open(tmp_path, 'r') as f:
data = json.load(f)
return data
except (json.JSONDecodeError, FileNotFoundError) as e:
print(f" ✗ JSON parse error for {slide_type}: {e}")
return None
finally:
try:
os.remove(tmp_path)
except OSError:
pass
def render_carousel(slides, tokens_file, output_path, preset_id, aspect_ratio="4:5"):
slides_file = os.path.join(TOKENS_DIR, f"{preset_id}_slides.json")
with open(slides_file, "w") as f:
json.dump(slides, f, indent=2)
cmd = [
BIN, "render-carousel", slides_file,
"--tokens-file", tokens_file,
"--brand-name", "DECKMILL",
"--brand-handle", "@deckmill",
"--topic", preset_id.upper().replace("_", " "),
"--url", "deckmill.dev",
"--hashtags", "slides,campaign",
"--aspect-ratio", aspect_ratio,
"--output", output_path,
]
return run_cmd(cmd, f"carousel:{preset_id}")
def expand_repeatable_block(block, preset_id):
slides = []
unit_slides = block.get("unit_slides", [])
repeat_max = block.get("repeat_count", {}).get("max", 2)
for i in range(repeat_max):
for unit in unit_slides:
slide = dict(unit)
if "params_template" in slide:
filled = {}
for k, v in slide["params_template"].items():
if isinstance(v, str):
v = v.replace("{{unit_index}}", str(i + 1))
v = v.replace("{{unit_number}}", str(i + 1))
filled[k] = v
slide["params"] = filled
slides.append(slide)
return slides
# ══════════════════════════════════════════════════════════════════════════
# PER-PRESET CONTENT — unique demo content for every slide
# ══════════════════════════════════════════════════════════════════════════
def preset_content(preset_id):
"""Return a list of param dicts, one per expanded slide, for the given preset."""
I = IMAGES
A = AVATARS
# ── 1. ANNOUNCEMENT (product launch) ────────────────────────────────
# Arc: Excitement → Understanding → Proof → Action
if preset_id == "announcement":
return [
# hero
{"headline": "Introducing Nexus 3.0", "subheadline": "The slide engine that writes itself. Describe what you need. Nexus builds the carousel.", "badge": "JUST SHIPPED", "kicker": "LAUNCHING TODAY"},
# problem_solution
{"title": "The Content Bottleneck", "problem": "Teams spend 12+ hours per carousel — writing copy, picking layouts, tuning themes, exporting assets. Designers become bottlenecks. Deadlines slip. Quality varies wildly between team members.", "solution": "Nexus turns a one-sentence brief into a production-ready carousel in under 60 seconds. Same quality every time. No designer required.", "proof_points": ["12h → 60s per carousel", "144+ slide compositions", "Zero design skill required"]},
# grid_cards
{"title": "What Nexus Ships", "cards": [
{"icon": "🧠", "title": "Brief-to-Carousel", "description": "Write one paragraph about your product. Nexus generates the full emotional arc, picks slide types, and renders everything."},
{"icon": "🎨", "title": "Theme Engine", "description": "Material Design tokens with tonal spot palettes. Every carousel gets a unique, consistent visual identity."},
{"icon": "⚡", "title": "CLI + MCP Server", "description": "Works as a standalone CLI or as an MCP tool any AI agent can call. No UI required."},
{"icon": "📊", "title": "28 Campaign Presets", "description": "Pre-built emotional arcs for launches, thought leadership, data stories, and more — ready to fill and fire."},
]},
# testimonial_avatar
{"quote": "We replaced our entire design sprint with a single Nexus call. The output quality matched our best designer's work.", "author": "Priya Mehta", "role": "Head of Content, Relay.so", "avatar_url": A[0]},
# metric_grid
{"title": "Launch Metrics", "metrics": [
{"value": "60s", "label": "Avg generation time"},
{"value": "144+", "label": "Slide compositions"},
{"value": "28", "label": "Campaign presets"},
{"value": "0", "label": "Design skills needed"},
]},
# cta
{"headline": "Stop Designing Slides. Start Shipping Campaigns.", "button_text": "Try Nexus Free", "button_url": "https://deckmill.dev", "subtext": "No credit card. No onboarding call. Just ship."},
]
# ── 2. AUTHORITY INTRODUCTION (political candidate intro) ───────────
# Arc: Respect → Empathy → Admiration → Trust
elif preset_id == "authority_introduction":
return [
# image_headline
{"headline": "Dr. Amara Osei for City Council", "image_url": I[0], "subheadline": "15 years of public health. Now she's running to fix what policy broke."},
# problem_solution (credentials gap)
{"problem": "Voters see candidates make promises they can't keep. Expertise without credibility signals gets dismissed as empty rhetoric.", "solution": "Lead with credentials. Anchor with proof. Close with specificity. The three-part authority structure that converts.", "proof_points": ["15 years of public health experience", "12 clinics opened, 40,000+ patients served", "3 bills authored at state level"]},
# grid_cards (core components)
{"title": "Her Record Speaks", "cards": [
{"icon": "🏥", "title": "12 Clinics Opened", "description": "Built free clinics in underserved neighborhoods serving 40,000+ patients annually."},
{"icon": "📋", "title": "3 Bills Authored", "description": "State-level legislation expanding mental health coverage for uninsured residents."},
{"icon": "🎓", "title": "Mentored 200+", "description": "Trained the next generation of community health workers through the Osei Fellowship."},
{"icon": "🤝", "title": "Bipartisan Respect", "description": "Endorsed by both the Medical Association and the Teachers Union — rare common ground."},
]},
# problem_solution (authority signals)
{"problem": "Without authority signals, even brilliant content gets ignored. The audience doesn't know why they should listen.", "solution": "The Osei campaign leads with credentials in every touchpoint: 'Dr. Osei' not 'Amara.' '15 years' not 'experience.' Specificity builds trust.", "proof_points": ["Authority signals in first slide increase completion by 45%", "Credential anchoring reduces bounce rate by 62%", "Specific claims outperform general by 2.8x"]},
# image_quote (authority quote)
{"quote": "I've watched families choose between medication and rent. That's not a healthcare failure — it's a policy failure. And policy failures need policy makers who've lived them.", "author": "Dr. Amara Osei", "image_url": A[0]},
# problem_solution (expert blind spot)
{"problem": "Expert candidates assume voters understand the issues. They don't. Jargon and policy details alienate the very people they're trying to reach.", "solution": "Translate expertise into lived experience. 'Mental health coverage' becomes 'your neighbor can see a therapist.' 'Funding formula' becomes 'your kid's school gets $2,400 more.'", "proof_points": ["Plain-language content retains 78% past third slide", "Lived-experience framing increases sharing by 3.1x", "Accessibility-first messaging broadens coalition"]},
# logo_cloud (credibility logos)
{"title": "Endorsed By", "logos": ["District 7 Teachers Union", "Metro Medical Assoc.", "Small Business Alliance", "Housing Now PAC", "Young Democrats", "Veterans for Change"]},
# problem_solution (conversion gap)
{"problem": "Voters who trust a candidate still don't act. The gap between 'I believe in her' and 'I'll vote for her' is the hardest to bridge.", "solution": "Make action specific and immediate: 'Register by Sept 15' not 'Register to vote.' 'Bring 3 friends' not 'Spread the word.' Specificity drives conversion.", "proof_points": ["Specific CTAs convert 3.2x better than generic", "Social proof in final slide increases sharing by 45%", "Deadline-driven CTAs outperform open-ended by 2.1x"]},
# qr_destination
{"destination_url": "https://amaraosei.org", "cta_text": "Join the Campaign", "heading": "Dr. Amara Osei for District 7", "caption": "Scan to volunteer, donate, or learn more", "short_url": "amaraosei.org"},
]
# ── 3. ORIGIN STORY ─────────────────────────────────────────────────
# Arc: Curiosity → Connection → Admiration → Trust
elif preset_id == "origin_story":
return [
# image_headline
{"headline": "How a Garage Server Became a Slide Engine", "image_url": I[1], "subheadline": "Deckmill started as a weekend hack in 2023. Here's the real story."},
# image_quote
{"quote": "I was building a pitch deck at 2am and thought: why am I still dragging boxes around in Figma? The computer knows what I want. Let it compose.", "author": "Ishan Parihar", "image_url": A[1]},
# timeline
{"title": "The Journey", "steps": [
{"title": "Weekend Hack", "description": "First prototype: a Python script that turned markdown into carousel HTML. Ugly but functional."},
{"title": "The Python Port", "description": "Built carousel-mcp — the reference implementation that proved the MCP server model works."},
{"title": "The Rust Rewrite", "description": "Rewrote everything in Rust for speed. 10x faster rendering, single binary, zero runtime deps."},
{"title": "Campaign Presets", "description": "Added emotional arc templates so any AI agent can generate campaign-grade carousels from a brief."},
]},
# grid_cards
{"title": "Core Beliefs", "cards": [
{"icon": "🔧", "title": "Tools, Not Templates", "description": "Deckmill doesn't pick your content. It gives you a composition engine and gets out of the way."},
{"icon": "📐", "title": "Composition Over Decoration", "description": "Every slide type exists to solve a communication problem, not to look pretty."},
{"icon": "🚀", "title": "Ship in Seconds", "description": "If generation takes more than 60 seconds, something is wrong. Speed is a feature."},
{"icon": "🔓", "title": "Open Pipeline", "description": "CLI for humans, MCP for agents. Same engine, same output. No walled gardens."},
]},
# callout
{"title": "By the Numbers", "text": "85 unit tests passing. 47 slide types. 28 campaign presets. 1 binary. That's the whole system."},
# cta
{"headline": "Built by Builders, for Builders", "button_text": "Star on GitHub", "button_url": "https://github.com/ishan-parihar/deckmill", "subtext": "Open source. MIT licensed. Contributions welcome."},
]
# ── 4. ASPIRATION LADDER ────────────────────────────────────────────
# Arc: Desire → Envy → Motivation → Belief → Action
elif preset_id == "aspiration_ladder":
return [
# image_headline
{"headline": "The Top 1% of Content Teams Do This Differently", "image_url": I[2], "subheadline": "They stopped designing slides. They started composing campaigns."},
# metric_grid
{"title": "The Gap Is Real", "metrics": [
{"value": "12x", "label": "Output difference"},
{"value": "4min", "label": "Their avg generation"},
{"value": "6hrs", "label": "Your avg production"},
{"value": "∞", "label": "Compounding advantage"},
]},
# image_headline
{"headline": "While You're Polishing One Deck, They've Shipped Twelve", "image_url": I[3], "subheadline": "Speed isn't about cutting corners. It's about removing the entire corner-cutting workflow."},
# process_map
{"title": "The Ascent Path", "steps": [
{"icon": "🔍", "title": "Audit", "description": "Map your current production bottlenecks"},
{"icon": "⚙️", "title": "Integrate", "description": "Wire Nexus into your content pipeline"},
{"icon": "📈", "title": "Accelerate", "description": "Ship 10x more with the same headcount"},
{"icon": "🏆", "title": "Dominate", "description": "Outpace competitors who still design manually"},
]},
# testimonial_avatar
{"quote": "Our competitor shipped 8 carousels in the time it took us to approve one. That's when we knew the process was broken.", "author": "Marcus Chen", "role": "VP Growth, Acme Labs", "avatar_url": A[2]},
# progress_rings
{"title": "Your Compounding Advantage", "items": [
{"label": "Speed", "value": 87, "max": 100, "color": "#6366f1"},
{"label": "Quality", "value": 94, "max": 100, "color": "#8b5cf6"},
{"label": "Consistency", "value": 98, "max": 100, "color": "#a78bfa"},
]},
# qr_destination
{"destination_url": "https://deckmill.dev", "cta_text": "Start Now", "heading": "Close the Gap Today", "caption": "Scan to start your free trial", "short_url": "deckmill.dev"},
]
# ── 5. CREDIBILITY CASCADE (testimonial wall) ──────────────────────
# Arc: Skepticism → Recognition → Trust → Action
elif preset_id == "credibility_cascade":
return [
# testimonial_avatar
{"quote": "We tried every AI slide tool on the market. Nexus is the first one where I didn't have to redo every slide manually afterward.", "author": "Sarah Kim", "role": "Design Lead, Relay.so", "avatar_url": A[0]},
# logo_cloud
{"title": "Teams That Ship With Nexus", "logos": ["Relay.so", "Composabl", "Typeframe", "DeckAI", "Pitchflow", "Slidespkr"]},
# testimonial_avatar
{"quote": "Our LinkedIn impressions 3x'd in two weeks. Same team, same strategy — just faster execution.", "author": "James Okonkwo", "role": "Growth Lead, Composabl", "avatar_url": A[3]},
# metric_grid
{"title": "Collective Impact", "metrics": [
{"value": "4.2M", "label": "Impressions generated"},
{"value": "340%", "label": "Avg engagement lift"},
{"value": "6", "label": "Teams in case studies"},
{"value": "98%", "label": "Would recommend"},
]},
# gauge
{"title": "Trust Score", "value": 96, "max": 100, "unit": "%", "label": "Customer satisfaction"},
# testimonial_avatar
{"quote": "The preset architecture is brilliant. I described our annual report and it nailed the emotional arc on the first try.", "author": "Elena Voss", "role": "Head of Comms, Typeframe", "avatar_url": A[2]},
# callout
{"title": "The Numbers Don't Lie", "text": "4.2M impressions. 340% avg engagement lift. 98% would recommend. These aren't projections — they're measured outcomes from real teams shipping real carousels."},
# testimonial_avatar
{"quote": "The MCP integration means our content agent generates carousels autonomously. We just review and publish.", "author": "Lin Zhao", "role": "CTO, Pitchflow", "avatar_url": A[1]},
# cta
{"headline": "Join the Teams That Already Switched", "button_text": "Start Free Trial", "button_url": "https://deckmill.dev", "subtext": "No credit card required. Ship your first carousel in under a minute."},
]
# ── 6. PROOF STACKING (case study) ─────────────────────────────────
# Arc: Skepticism → Recognition → Conviction → Trust
elif preset_id == "proof_stacking":
return [
# section_divider
{"kicker": "CASE STUDY", "title": "How Relay.so Cut Content Production by 90%", "subtitle": "From 12-hour design sprints to 60-second generation"},
# repeatable ×3: problem_solution → before_after → case_study → testimonial
# Unit 1: The Problem
{"title": "The Bottleneck", "problem": "Relay.so's 4-person marketing team was spending 48 hours per week on carousel creation alone. Each Instagram campaign required 8-12 hand-crafted slides, custom illustrations, and multiple revision cycles.", "solution": "Deployed Nexus with the 'product_showcase' preset. Content leads write a one-paragraph brief and Nexus generates the full carousel with theme-consistent slides.", "proof_points": ["48hrs/week → 3hrs/week", "Zero design revisions", "Consistent brand voice"]},
{"title": "Before & After", "before": {"label": "Before Nexus", "description": "48 hours/week on carousel design. 3 revision rounds per campaign. Inconsistent visual quality between team members."}, "after": {"label": "After Nexus", "description": "3 hours/week on review and publishing. 0 revision rounds. Pixel-perfect consistency every time."}, "metric": "93.7%", "metric_label": "Time Reduction"},
{"client": "Relay.so Marketing Team", "challenge": "Scale Instagram content from 2 campaigns/month to daily posting without hiring designers.", "solution": "Nexus generates campaign carousels from product briefs. Team reviews, tweaks copy, and publishes.", "results": [{"number": "30x", "label": "Content Output"}, {"number": "$84K", "label": "Annual Savings"}]},
{"quote": "The ROI was obvious in week one. We went from dreading content deadlines to shipping carousels before lunch.", "author": "Sarah Kim", "role": "Design Lead, Relay.so", "avatar_url": A[0]},
# Unit 2: The Scaling
{"title": "Scaling Beyond Marketing", "problem": "Sales team wanted custom decks for every prospect. Design team was the bottleneck. Deals stalled waiting for collateral.", "solution": "Sales reps use Nexus CLI to generate prospect-specific carousels from CRM data. No design team involvement needed.", "proof_points": ["Self-serve for sales", "CRM data integration", "Deal cycle -40%"]},
{"title": "Deal Collateral: Before vs After", "before": {"label": "Before", "description": "Sales requests design team 5 days before demo. Gets generic deck. Customizes 2 slides. Feels unprofessional."}, "after": {"label": "After", "description": "Sales runs nexus generate 30 min before demo. Gets prospect-specific carousel with their logo, data, and pain points."}, "metric": "5 days → 30 min", "metric_label": "Collateral Lead Time"},
{"client": "Relay.so Sales Team", "challenge": "Close deals faster with personalized collateral without burdening the design team.", "solution": "Nexus CLI integrated into Salesforce workflow. Reps generate custom carousels from opportunity data.", "results": [{"number": "40%", "label": "Faster Close Rate"}, {"number": "22%", "label": "Higher Deal Size"}]},
{"quote": "I generated a custom deck for a Fortune 500 prospect in the Uber to the meeting. We closed $200K that quarter.", "author": "Derek Huang", "role": "AE, Relay.so", "avatar_url": A[4]},
# Unit 3: The Transformation
{"title": "From Cost Center to Revenue Driver", "problem": "Content team was seen as a cost center — necessary but slow. Leadership questioned whether the investment was justified.", "solution": "With Nexus, the content team now runs 3x more campaigns with the same headcount. Attribution shows content-driven pipeline grew 180%.", "proof_points": ["180% pipeline growth", "3x campaign velocity", "Content ROI positive in 30 days"]},
{"title": "The Transformation Story", "before": {"label": "Before", "description": "Content team: 4 people, 2 campaigns/month, seen as overhead. Budget scrutinized quarterly."}, "after": {"label": "After", "description": "Same 4 people, 60+ campaigns/month, content is top pipeline contributor. Budget doubled."}, "metric": "180%", "metric_label": "Pipeline Growth"},
{"client": "Relay.so Executive Team", "challenge": "Prove content marketing ROI and justify team expansion.", "solution": "Nexus-enabled content team delivers measurable pipeline impact. Data dashboard tracks content → revenue attribution.", "results": [{"number": "180%", "label": "Pipeline Growth"}, {"number": "2x", "label": "Team Budget Increase"}]},
{"quote": "Content went from 'nice to have' to our #1 demand gen channel in six months. Nexus made that possible.", "author": "Anika Desai", "role": "CMO, Relay.so", "avatar_url": A[2]},
# case_study_result (standalone)
{"client": "Relay.so Revenue Team", "challenge": "Demonstrate end-to-end ROI of Nexus adoption across all departments.", "solution": "Cross-functional Nexus deployment with unified analytics dashboard tracking content → pipeline → revenue.", "results": [{"number": "312%", "label": "Total ROI"}, {"number": "6 months", "label": "Payback Period"}]},
# progress_rings
{"title": "Nexus Impact Dashboard", "rings": [
{"label": "Content Output", "value": 95, "max": 100, "color": "#10b981"},
{"label": "Cost Savings", "value": 88, "max": 100, "color": "#6366f1"},
{"label": "Team Satisfaction", "value": 92, "max": 100, "color": "#f59e0b"},
]},
# qr_destination
{"destination_url": "https://deckmill.dev/case-studies", "cta_text": "Read Full Case Study", "heading": "See the Complete Relay.so Story", "caption": "Scan for detailed metrics and implementation guide", "short_url": "deckmill.dev/cases"},
]
# ── 7. PROCESS TRANSPARENCY (behind the scenes) ────────────────────
# Arc: Curiosity → Understanding → Appreciation → Trust
elif preset_id == "process_transparency":
return [
# image_headline
{"headline": "Inside the Nexus Rendering Pipeline", "image_url": I[4], "subheadline": "How a one-sentence brief becomes a 10-slide carousel in under 60 seconds."},
# timeline
{"title": "What Happens in 60 Seconds", "steps": [
{"title": "Brief Parse", "description": "NLP extracts topic, tone, audience, and emotional arc from your description."},
{"title": "Arc Composition", "description": "Preset engine selects slide types, assigns emotional beats, and sequences the narrative."},
{"title": "Token Generation", "description": "Material Design color system generates a unique tonal palette. Typography scales auto-calculate."},
{"title": "Slide Rendering", "description": "Each slide type compiles HTML+CSS with dynamic font sizing, gradient backgrounds, and responsive layouts."},
{"title": "Carousel Assembly", "description": "Slides are stitched into a single scrollable HTML document with navigation, branding, and export hooks."},
]},
# image_gallery
{"title": "Pipeline Artifacts", "images": [{"url": I[0], "caption": "Design tokens"}, {"url": I[1], "caption": "Slide JSON"}, {"url": I[4], "caption": "Rendered HTML"}, {"url": I[5], "caption": "Exported PNG"}], "section_caption": "From tokens to pixels — every intermediate step is inspectable"},
# callout
{"title": "Zero Black Boxes", "text": "Every slide JSON is inspectable. Every token is deterministic. Every rendering step is debuggable. If something looks wrong, you can trace exactly where the decision was made."},
# cta
{"headline": "Transparent by Design", "button_text": "Read the Docs", "button_url": "https://deckmill.dev/docs", "subtext": "Full architecture documentation, API reference, and extension guides."},
]
# ── 8. PRODUCT SHOWCASE (e-commerce) ───────────────────────────────
# Arc: Desire → Evidence → Trust → Commitment
elif preset_id == "product_showcase":
return [
# image_headline
{"headline": "Nexus Pro: AI-Native Slide Composition", "image_url": I[5], "subheadline": "The tool that turns product descriptions into campaign-ready carousels."},
# testimonial_avatar
{"quote": "Nexus replaced three separate tools in our stack. Design, copy, and export — all one pipeline.", "author": "Tom Lee", "role": "Founder, Typeframe", "avatar_url": A[3]},
# grid_cards
{"title": "What You Get", "cards": [
{"icon": "🧩", "title": "47 Slide Types", "description": "Heroes, charts, testimonials, comparisons, timelines, and more — each engineered for specific communication goals."},
{"icon": "🎭", "title": "28 Presets", "description": "Pre-built emotional arcs for launches, thought leadership, data stories, spiritual teaching, and beyond."},
{"icon": "⚡", "title": "CLI + MCP", "description": "Use it from your terminal or let any AI agent call it. Same engine, same output."},
{"icon": "🔒", "title": "Local-First", "description": "Runs on your machine. No cloud uploads. Your content never leaves your control."},
]},
# testimonial_avatar
{"quote": "The MCP integration is the killer feature. Our AI agent generates carousels while we sleep.", "author": "Amira Hassan", "role": "Eng Lead, DeckAI", "avatar_url": A[2]},
# image_gallery
{"title": "Slide Gallery", "images": [{"url": I[0], "caption": "Hero slides"}, {"url": I[1], "caption": "Data viz"}, {"url": I[4], "caption": "Testimonials"}, {"url": I[5], "caption": "CTAs"}], "section_caption": "Every slide type rendered at production quality"},
# image_collage
{"images": [I[0], I[1], I[4], I[5], I[7]], "layout": "grid", "caption": "Nexus in action across different content types"},
# testimonial_avatar
{"quote": "Best $0 we ever spent. Open source, runs locally, and the output quality is insane.", "author": "Chris Park", "role": "Indie Hacker", "avatar_url": A[4]},
# pricing_plan
{"title": "Simple Pricing", "plans": [
{"name": "Community", "price": "Free", "features": ["Full CLI access", "All 47 slide types", "28 presets", "MIT licensed"]},
{"name": "Pro", "price": "$19/mo", "features": ["MCP server hosting", "Custom theme builder", "Priority support", "Early access features"]},
{"name": "Team", "price": "$49/mo", "features": ["Multi-seat MCP", "Brand kit storage", "API rate limits", "SLA guarantee"]},
]},
# qr_destination
{"destination_url": "https://deckmill.dev", "cta_text": "Start Free", "heading": "Try Nexus Today", "caption": "Scan to get started in 60 seconds", "short_url": "deckmill.dev"},
]
# ── 9. EVIDENCE ARGUMENT (data story) ──────────────────────────────
# Arc: Curiosity → Discovery → Understanding → Conviction
elif preset_id == "evidence_argument":
return [
# hero
{"headline": "The Data Behind Emotional Architecture", "subheadline": "We analyzed 10,000 carousels across 500 brands. The patterns are unmistakable.", "badge": "RESEARCH REPORT", "kicker": "DATA DEEP DIVE"},
# repeatable ×4: chart + callout
# 1
{"title": "Engagement by Slide Position", "chart_type": "bar", "data": [{"label": "Slide 1-3", "value": 92}, {"label": "Slide 4-6", "value": 71}, {"label": "Slide 7-9", "value": 58}, {"label": "Slide 10+", "value": 34}]},
{"title": "Key Finding", "text": "Carousels with strong emotional hooks in slides 1-3 retain 2.7x more viewers through the full sequence. The first three slides determine whether anyone sees slide 10."},
# 2
{"title": "Emotional Arc vs Flat Structure", "chart_type": "bar", "data": [{"label": "Flat (no arc)", "value": 31}, {"label": "Light arc", "value": 54}, {"label": "Strong arc", "value": 87}, {"label": "Full persuasion", "value": 94}]},
{"title": "The Arc Premium", "text": "Carousels designed with deliberate emotional progression outperform flat content by 3x. The difference isn't design quality — it's narrative structure."},
# 3
{"title": "Visual Rhythm Impact", "chart_type": "bar", "data": [{"label": "Same bg all slides", "value": 28}, {"label": "Random variation", "value": 45}, {"label": "DLD rhythm", "value": 73}]},
{"title": "Dark-Light-Dark Works", "text": "Alternating dark and light backgrounds creates visual rhythm that sustains attention. Monotone carousels lose 62% of viewers by slide 5."},
# 4
{"title": "Evidence Stacking Effect", "chart_type": "bar", "data": [{"label": "Claim only", "value": 22}, {"label": "Claim + 1 proof", "value": 48}, {"label": "Claim + 3 proofs", "value": 76}, {"label": "Claim + social proof", "value": 91}]},
{"title": "Stack Trust, Don't Scatter It", "text": "Each additional proof point compounds credibility. But mixing proof types (data + testimonial + visual) is 40% more effective than repeating the same type."},
# process_map
{"title": "Apply This to Your Content", "steps": [
{"icon": "📊", "title": "Audit", "description": "Score your existing carousels against these benchmarks"},
{"icon": "🎯", "title": "Prioritize", "description": "Fix the first 3 slides first — they determine everything"},
{"icon": "🔄", "title": "Rhythm", "description": "Add dark-light alternation to every sequence"},
{"icon": "📈", "title": "Measure", "description": "Track completion rate, not just impressions"},
]},
# metric_grid
{"title": "Study Parameters", "metrics": [
{"value": "10K", "label": "Carousels analyzed"},
{"value": "500", "label": "Brands studied"},
{"value": "6mo", "label": "Data collection"},
{"value": "95%", "label": "Confidence level"},
]},
# table
{"title": "Performance by Category", "headers": ["Content Type", "Avg Completion", "Avg Saves", "Shares/1K"], "rows": [
["Data-heavy", "72%", "8.3%", "4.1"],
["Story-driven", "84%", "12.1%", "7.8"],
["Mixed (arc + data)", "91%", "15.4%", "9.2"],
]},
# cta
{"headline": "Want the Full Dataset?", "button_text": "Download Report", "button_url": "https://deckmill.dev/research", "subtext": "Complete methodology, raw data, and interactive dashboard."},
]
# ── 10. CONTRAST DEMONSTRATION (comparison) ────────────────────────
# Arc: Frustration → Clarity → Hope → Conviction
elif preset_id == "contrast_demonstration":
return [
# hero
{"headline": "Manual Design vs. Nexus Composition", "subheadline": "Same goal. Radically different outcomes."},
# list (manual)
{"title": "The Manual Way", "items": [
"Open Figma. Find the template. Hope it still exists.",
"Pick colors. Argue about brand compliance. Redo it.",
"Write copy in Google Docs. Paste into Figma. Formatting breaks.",
"Export. Realize slide 7 is cut off. Fix. Re-export.",
"Send to 3 stakeholders. Wait for feedback. Get conflicting notes.",
"Redo slides 2, 5, and 7. Export again. Ship 3 days late.",
]},
# before_after_story
{"title": "The Real Cost", "before": {"label": "Manual Process", "description": "12 hours per carousel × 4 carousels/week × $75/hr = $18,000/month in design labor"}, "after": {"label": "Nexus Pipeline", "description": "4 minutes per carousel × 4 carousels/week × $0 = effectively free, with better consistency"}, "metric": "$18K/mo", "metric_label": "Saved in Design Costs"},
# comparison
{"title": "Side by Side", "columns": ["Feature", "Manual Design", "Nexus Composition"], "rows": [
["Time per slide", "Hours", "Seconds"],
["Branding", "Inconsistent", "Locked system"],
["Export", "Format breaks", "Pixel-perfect"],
["Stakeholders", "Bottleneck", "One-click"],
]},
# image_comparison
{"title": "Visual Difference", "before_image": I[4], "after_image": I[5], "before_label": "Before", "after_label": "After", "description": "Stock template vs on-brand composition"},
# list (nexus)
{"title": "The Nexus Way", "items": [
"Write one sentence: 'Launch carousel for our new API product.'",
"Nexus generates 10 slides with emotional arc, theme, and content.",
"Review. Tweak one headline. Done.",
"Export to PNG or HTML. Ship.",
"Total time: 4 minutes. Total cost: $0.",
]},
# comparison_bars
{"title": "Speed Comparison", "comparison": {"metric": "Time to First Carousel", "left": {"name": "Manual (Figma)", "value": 15}, "right": {"name": "Nexus CLI", "value": 95}}},
# testimonial_avatar
{"quote": "I timed it. Nexus generated a better carousel in 47 seconds than my designer produced in 6 hours. We now use both — Nexus for speed, designers for polish.", "author": "Mike Torres", "role": "Head of Marketing, StartupXYZ", "avatar_url": A[1]},
# cta
{"headline": "Stop Trading Hours for Slides", "button_text": "Try Nexus Free", "button_url": "https://deckmill.dev", "subtext": "See how fast your team can really ship."},
]
# ── 11. EXPOSURE REVEAL ─────────────────────────────────────────────
# Arc: Shock → Disgust → Evidence → Pattern → Accountability
elif preset_id == "exposure_reveal":
return [
# hero
{"headline": "The Template Industrial Complex", "subheadline": "Your carousel template was designed to sell templates, not to communicate your message.", "badge": "INVESTIGATION", "kicker": "WHAT THEY DON'T TELL YOU"},
# repeatable ×4: metric_grid + callout
# 1
{"title": "The Layout Monopoly", "metrics": [
{"value": "87%", "label": "of carousel templates use the same 5 layouts regardless of content type", "trend": "+12% since 2023"},
]},
{"title": "The Layout Monopoly", "text": "We analyzed 500 popular carousel templates. 87% use identical grid structures. The 'variety' is color and font — not composition. Your audience sees through it."},
# 2
{"title": "The Customization Illusion", "metrics": [
{"value": "73%", "label": "of template users never customize beyond colors and text", "trend": "Industry-wide"},
]},
{"title": "The Customization Illusion", "text": "Templates give the illusion of control. You change the text. You change the colors. But the underlying composition — the emotional structure — is fixed. And it's wrong for your message."},
# 3
{"title": "Composed vs Templated", "metrics": [
{"value": "4.2x", "label": "engagement gap between templated and composed carousels", "trend": "Widening"},
]},
{"title": "Composed vs Templated", "text": "Emotionally-architected carousels — where every slide advances a deliberate narrative arc — outperform template-based carousels by 4.2x. Not because they look different. Because they think different."},
# 4
{"title": "The Completion Gap", "metrics": [
{"value": "92%", "label": "scroll completion on emotionally-architected carousels vs 34% on templates", "trend": "+58 points"},
]},
{"title": "The Completion Gap", "text": "People finish what resonates. Templates are designed to be universal — which means they resonate with no one. Emotional architecture is designed for THIS audience, THIS message, THIS moment."},
# chart
{"title": "Engagement: Templates vs Composition", "chart_type": "bar", "data": [{"label": "Generic template", "value": 23}, {"label": "Customized template", "value": 38}, {"label": "AI-composed", "value": 72}, {"label": "Emotional architecture", "value": 96}]},
# column_chart
{"title": "Completion Rate by Slide Type", "chart_type": "grouped_column", "categories": ["Hook", "Context", "Evidence", "Proof", "CTA"], "series": [{"name": "Templates", "values": [34, 28, 22, 18, 12]}, {"name": "Composed", "values": [78, 72, 68, 65, 58]}]},
# image_callout
{"image_url": I[6], "callouts": [{"label": "This slide looks like every other template", "description": "Grid layout, icon row, centered text — the template industrial complex at work", "x": 50, "y": 40}], "description": "Spot the template. You've seen this exact layout 1,000 times."},
# checklist_action_plan
{"title": "Escape the Template Trap", "items": [
{"step": "Audit your last 10 carousels", "description": "Count how many use the same 3 layouts"},
{"step": "Map your emotional intent", "description": "What should the audience FEEL at each slide?"},
{"step": "Compose, don't decorate", "description": "Use slide types that serve your narrative, not your template library"},
{"step": "Measure completion, not impressions", "description": "Did they scroll to the end? That's the real metric"},
]},
# stat_row
{"title": "The Numbers Don't Lie", "stats": [
{"value": "4.2x", "label": "engagement lift"},
{"value": "92%", "label": "completion rate"},
{"value": "58pt", "label": "gap vs templates"},
{"value": "3.1x", "label": "share rate"},
]},
# qr_destination
{"destination_url": "https://deckmill.dev/manifesto", "cta_text": "Read the Manifesto", "heading": "Break Free from Templates", "caption": "Scan for the full investigation", "short_url": "deckmill.dev/manifesto"},
]
# ── 12. SKILL TRANSFER (educational how-to) ────────────────────────
# Arc: Confusion → Understanding → Practice → Mastery
elif preset_id == "skill_transfer":
return [
# definition
{"term": "Emotional Architecture", "phonetic": "/ɪˌmoʊʃənl ˈɑːrkɪtɛktʃər/", "definition": "The deliberate design of communication sequences that guide audiences through specific emotional progressions toward a predetermined action.", "context": "Every effective campaign uses emotional architecture — most just don't know it. Learning the framework turns intuition into a repeatable skill."},
# repeatable ×5: section_divider + image_caption + text_block
# Module 1
{"kicker": "MODULE 1", "title": "The Hook Principle", "subtitle": "Why the first 3 seconds decide everything"},
{"image_url": I[0], "caption": "Slide 1 determines whether slides 2-10 exist", "description": "The hook isn't decoration — it's a contract. You promise something worth their time. Break that promise and they scroll past."},
{"title": "The Hook Formula", "body": "Every hook has three components: (1) a pattern interrupt — something unexpected that stops the scroll, (2) a promise — implicit or explicit, of what's coming, (3) a time anchor — 'this will take X slides' or 'by the end you'll know Y.' Without all three, the hook leaks."},
# Module 2
{"kicker": "MODULE 2", "title": "Emotional Arcs", "subtitle": "The hidden structure of every viral carousel"},
{"image_url": I[1], "caption": "Emotional arcs are invisible but their effects are measurable", "description": "A viral carousel isn't random — it follows a predictable emotional trajectory. Learn to read and design these arcs."},
{"title": "The Four Universal Arcs", "body": "1. Problem → Solution → Proof → Action (the workhorse). 2. Curiosity → Discovery → Reframing → Conviction (thought leadership). 3. Skepticism → Evidence → Trust → Commitment (social proof). 4. Shock → Pattern → Accountability → Movement (exposé). Every campaign fits one of these."},
# Module 3
{"kicker": "MODULE 3", "title": "Slide Type Selection", "subtitle": "Matching composition to communication intent"},
{"image_url": I[2], "caption": "Each slide type solves a specific communication problem", "description": "A metric_grid isn't interchangeable with a stat_row. A myth_fact isn't a before_after. Know what each does."},
{"title": "The Selection Framework", "body": "Ask: What does this slide need to DO? Prove something → case_study_result or chart. Show contrast → comparison or before_after. Build trust → testimonial_avatar or logo_cloud. Drive action → cta or qr_destination. The slide type is the verb, not the decoration."},
# Module 4
{"kicker": "MODULE 4", "title": "Visual Rhythm", "subtitle": "Dark-light-dark and why monotone kills engagement"},
{"image_url": I[3], "caption": "Visual monotone is the silent killer of carousel engagement", "description": "When every slide looks the same, the brain stops paying attention. Rhythm re-engages the visual cortex."},
{"title": "The DLD Rule", "body": "Alternate dark and light backgrounds. Never repeat the same bg_style twice in a row. This isn't aesthetic advice — it's neuroscience. The visual cortex responds to contrast. Monotone backgrounds trigger habituation, and habituation kills attention."},
# Module 5
{"kicker": "MODULE 5", "title": "The Preset System", "subtitle": "Composing at scale with emotional arc templates"},
{"image_url": I[4], "caption": "Presets are compositions, not templates", "description": "A preset doesn't tell you what to say. It tells you the emotional journey your audience needs to take."},
{"title": "Presets vs Templates", "body": "A template is a layout. A preset is a narrative architecture. The 'announcement' preset doesn't care if you're launching a product, a movement, or a idea — it knows the audience needs excitement → understanding → proof → action. That's the arc. Your content fills the beats."},
# myth_fact
{"myth": "Good design is what makes carousels work", "fact": "Good narrative structure is what makes carousels work. Design is the vehicle, not the engine.", "explanation": "The highest-performing carousels often have simple, even plain design. What they have is a relentless emotional arc that carries the viewer from hook to action."},
# faq
{"title": "Frequently Asked Questions", "items": [
{"question": "How long does it take to learn emotional architecture?", "answer": "The basics take one carousel. Mastery takes 10. Start with one preset, one message, and measure the difference."},
{"question": "Do I need design skills?", "answer": "No. The preset system handles visual composition. You provide the content and the emotional intent."},
{"question": "Can I customize the presets?", "answer": "Presets are starting points. The pool-based composition system lets you remix slide types while keeping the emotional arc intact."},
]},
# checklist_action_plan
{"title": "Your Practice Assignments", "items": [
{"step": "Rewrite your last carousel hook", "description": "Apply the three-part hook formula: interrupt, promise, anchor"},
{"step": "Map the emotional arc of a competitor's carousel", "description": "What do they want the audience to feel at each slide?"},
{"step": "Generate one carousel using a preset", "description": "Compare the AI-composed arc to your manual version"},
{"step": "Measure completion rate", "description": "Track how many viewers reach the final slide"},
]},
# cta
{"headline": "You Now Know More Than 99% of Content Creators", "button_text": "Start Creating", "button_url": "https://deckmill.dev", "subtext": "Use the CLI or MCP server to compose your first emotionally-architected carousel."},
]
# ── 13. DEEP DIVE (feature deepdive) ───────────────────────────────
# Arc: Curiosity → Understanding → Mastery → Confidence
elif preset_id == "deep_dive":
return [
# feature
{"icon": "🧬", "title": "The Composition Engine", "description": "Nexus doesn't pick slides randomly. It composes — selecting each slide type based on the emotional position in the narrative arc, the content density of the brief, and the target audience's cognitive load budget.", "number": "01"},
# split_features
{"title": "Nexus vs Traditional Tools", "features": [
{"icon": "🧬", "title": "Nexus", "description": "47 slide types, emotional arc engine, dynamic typography, pool-based composition"},
{"icon": "📐", "title": "Templates", "description": "5 fixed layouts, fill-in-the-blank, static sizing, one structure per template"},
{"icon": "⚡", "title": "Speed", "description": "60 seconds vs 12 hours per carousel"},
{"icon": "🎨", "title": "Consistency", "description": "Locked design system vs manual alignment"},
]},
# definition
{"term": "Slide Composition", "phonetic": "/slaɪd kəm-pə-zi-shən/", "definition": "The algorithmic selection and sequencing of slide types to create an emotionally coherent narrative. Unlike templating, composition adapts to the content, not the other way around.", "context": "Composition is what separates Nexus from every 'AI slide generator' that just fills in a template."},
# image_callout
{"image_url": I[5], "callouts": [{"label": "Dynamic font scaling", "description": "Text sizes adjust based on content density — dense slides get smaller type, sparse slides breathe", "x": 30, "y": 40}, {"label": "Theme token system", "description": "Material Design 3 tonal palette with per-preset color overrides", "x": 70, "y": 60}], "description": "Every visual element is computed, not hardcoded."},
# process_map
{"title": "How Composition Works", "steps": [
{"icon": "📝", "title": "Brief Analysis", "description": "NLP extracts topic, tone, audience, and intent from natural language"},
{"icon": "🧠", "title": "Arc Selection", "description": "Matches intent to one of 7 emotional arc categories across 28 presets"},
{"icon": "🎲", "title": "Slide Sequencing", "description": "Selects slide types that advance the arc, enforcing DLD rhythm and variety constraints"},
{"icon": "🎨", "title": "Visual Rendering", "description": "Each slide compiles with dynamic typography, theme tokens, and content-adaptive layout"},
]},
# before_after_story
{"title": "Template vs Composition", "before": {"label": "Template Output", "description": "Fixed 5-slide structure. Same grid on every slide. Text crammed into boxes designed for shorter content."}, "after": {"label": "Composed Output", "description": "8-15 slides adapted to content density. Each slide type chosen for its communication function. Typography scales to fit."}, "metric": "3.1x", "metric_label": "Engagement Improvement"},
# qr_destination
{"destination_url": "https://deckmill.dev/docs/composition", "cta_text": "Read the Docs", "heading": "Full Composition Documentation", "caption": "Scan for API reference and extension guides", "short_url": "deckmill.dev/docs"},
]
# ── 14. PRINCIPLE EDUCATION (psychological framework) ──────────────
# Arc: Curiosity → Recognition → Mastery → Action
elif preset_id == "principle_education":
return [
# definition
{"term": "Cialdini's Seven Principles", "phonetic": "/si-əl-DI-niz ˈsɛvən ˈprɪnsəpəlz/", "definition": "Robert Cialdini's framework of seven universal persuasion principles: Reciprocity, Commitment, Social Proof, Authority, Liking, Scarcity, and Unity.", "context": "Every effective campaign implicitly or explicitly uses these principles. Making them explicit turns persuasion from art into engineering."},
# repeatable ×5: image_callout + myth_fact
{"image_url": I[0], "callouts": [{"label": "Principle #1: Reciprocity", "description": "Give value first. The audience feels obligated to reciprocate — with attention, engagement, or action.", "x": 50, "y": 40}], "description": "Reciprocity is why free content converts better than paid advertising."},
{"myth": "Scarcity only works for physical products", "fact": "Information scarcity ('this insight won't be shared again') drives 2.8x more engagement than abundance framing", "explanation": "Scarcity is about perceived value, not physical limitation. Limited-time insights, exclusive data, and 'first to know' framing all trigger the same response."},
{"image_url": I[1], "callouts": [{"label": "Principle #2: Social Proof", "description": "People follow people. Testimonials, user counts, and 'trusted by' logos reduce decision friction.", "x": 50, "y": 40}], "description": "Social proof is why testimonial_avatar is one of the most-used slide types."},
{"myth": "Authority requires credentials", "fact": "Perceived authority comes from confidence and specificity, not titles. 'We analyzed 10,000 slides' beats 'our expert says.'", "explanation": "Authority is established through demonstrated knowledge, not claimed credentials. Data beats titles."},
{"image_url": I[2], "callouts": [{"label": "Principle #3: Commitment", "description": "Small yeses lead to big yeses. Each micro-commitment (save, share, read) escalates investment.", "x": 50, "y": 40}], "description": "Commitment explains why carousel completion rate predicts conversion better than click-through rate."},
{"myth": "Liking is about being likeable", "fact": "Liking is about similarity and shared identity. 'People like me use this' is more powerful than 'this person is charismatic.'", "explanation": "The liking principle works through identification, not charm. That's why founder stories outperform celebrity endorsements for niche products."},
{"image_url": I[3], "callouts": [{"label": "Principle #4: Unity", "description": "Shared identity. 'We' language. 'Our community.' Unity turns customers into members and members into advocates.", "x": 50, "y": 40}], "description": "Unity is Cialdini's most overlooked principle — and the most powerful for building movements."},
{"myth": "Unity is just branding", "fact": "Unity is identity-level belonging. Branding is visual. Unity is tribal. 'I am a Nexus user' vs 'I use Nexus.'", "explanation": "Unity explains why open-source communities outperform proprietary user bases in advocacy and retention."},
# 5
{"image_url": I[4], "callouts": [{"label": "Principle #5: Liking", "description": "People say yes to those they like. Similarity, compliments, and cooperation build the liking bridge.", "x": 50, "y": 40}], "description": "Liking explains why founder-led carousels outperform corporate-polished ones."},
{"myth": "Scarcity and urgency are the same thing", "fact": "Scarcity is about limited supply; urgency is about limited time. Combined, they create the most powerful persuasion force in marketing.", "explanation": "The best CTAs use both: 'Only 3 spots left' (scarcity) + 'Offer ends tonight' (urgency). Together they're exponentially more effective."},
# process_map
{"title": "Apply the Principles", "steps": [
{"icon": "🔍", "title": "Audit", "description": "Map which principles your current content uses (and which it ignores)"},
{"icon": "🧩", "title": "Integrate", "description": "Assign one principle per slide. Let the preset structure do the sequencing."},
{"icon": "📊", "title": "Measure", "description": "Track which principles drive the most engagement for your audience"},
{"icon": "🔄", "title": "Iterate", "description": "Double down on what works. Drop what doesn't."},
]},
# checklist_action_plan
{"title": "Implementation Checklist", "items": [
{"step": "Identify your primary principle", "description": "Which of the 7 fits your campaign goal best?"},
{"step": "Map principles to slide types", "description": "Social proof → testimonial. Authority → case_study. Scarcity → cta."},
{"step": "Generate with a preset", "description": "Let the emotional arc handle the principle sequencing"},
{"step": "A/B test principle emphasis", "description": "Same content, different principle focus. Measure the delta."},
]},
# faq
{"title": "Common Questions", "questions": [
{"question": "Which principle should I start with?", "answer": "Start with social proof — it's the most universally applicable and the easiest to measure. Add scarcity once you have proof of value."},
{"question": "Can I use multiple principles in one carousel?", "answer": "Yes, but assign one primary principle per slide. The preset structure handles the sequencing so principles don't compete."},
{"question": "How do I measure which principles work?", "answer": "Track completion rate per slide type. Testimonial slides with social proof should outperform generic claims. Measure the delta."},
]},
# cta
{"headline": "Engineer Your Next Campaign", "button_text": "Start with a Preset", "button_url": "https://deckmill.dev/presets", "subtext": "28 presets, each built on proven persuasion architecture."},
]
# ── 15. TECHNIQUE MASTERY (psychological persuasion) ───────────────
# Arc: Curiosity → Recognition → Mastery → Responsibility
elif preset_id == "technique_mastery":
return [
# definition
{"term": "Narrative Transportation", "phonetic": "/ˈnærətɪv trænspɔːrˈteɪʃən/", "definition": "The phenomenon where audiences become absorbed into a story, reducing counter-arguing and increasing belief in the message.", "context": "Transported audiences are 3x more likely to change attitudes and 2x more likely to take action. Every great carousel transports."},
# image_callout
{"image_url": I[3], "callouts": [{"label": "Transportation happens in the gap", "description": "The space between what you say and what the audience imagines is where persuasion lives", "x": 50, "y": 40}], "description": "The best slides don't show everything — they leave room for the audience's imagination."},
# image_caption
{"image_url": I[4], "caption": "Technique 1: Pattern Interrupt", "description": "Break the scroll pattern. Unexpected visuals, contradictory statements, or provocative questions force the brain to re-engage."},
# process_map
{"title": "The Five Techniques", "steps": [
{"icon": "⚡", "title": "Pattern Interrupt", "description": "Break the scroll. Make them stop. Then you have their attention."},
{"icon": "🎯", "title": "Anchoring", "description": "Set the reference frame. The first number they see becomes the benchmark."},
{"icon": "🔗", "title": "Commitment Escalation", "description": "Small yeses → big yeses. Every interaction is a micro-commitment."},
{"icon": "🪞", "title": "Identity Framing", "description": "People don't buy products. They buy the person they become."},
]},
# radar_chart
{"title": "Technique Mastery Profile", "data": [
{"label": "Pattern Interrupt", "value": 85},
{"label": "Anchoring", "value": 92},
{"label": "Commitment", "value": 78},
{"label": "Identity", "value": 88},
{"label": "Transport", "value": 95},
]},
# callout
{"title": "The Responsibility Frame", "text": "These techniques work. That's exactly why they demand ethical use. The line between persuasion and manipulation is consent — does the audience benefit from the outcome you're steering them toward? If yes, these are tools. If no, they're weapons."},
# cta
{"headline": "Use These Powers Wisely", "button_text": "Study the Framework", "button_url": "https://deckmill.dev/ethics", "subtext": "Our ethical guidelines for persuasive content design."},
]
# ── 16. WISDOM TRANSMISSION (spiritual teaching) ───────────────────
# Arc: Wonder → Understanding → Deepening → Commitment
elif preset_id == "wisdom_transmission":
return [
# definition
{"term": "Dharma", "phonetic": "/ˈdɑːrmə/", "definition": "The cosmic order that sustains the universe. In communication, dharma is the truth that exists beneath the surface of words — the message that the audience already knows but hasn't yet articulated.", "context": "Teaching isn't about filling empty vessels. It's about helping people remember what they already know."},
# repeatable ×5: image_quote + text_block
{"quote": "The teacher who is indeed wise does not bid you to enter the house of his wisdom, but rather leads you to the threshold of your mind.", "author": "Khalil Gibran", "image_url": A[0]},
{"title": "The First Teaching", "body": "Before you can transmit wisdom, you must learn to listen. Not to respond — to understand. Every audience carries a question they haven't yet formed words for. Your carousel should answer that question before they ask it."},
{"quote": "In the beginner's mind there are many possibilities, but in the expert's mind there are few.", "author": "Shunryu Suzuki", "image_url": A[1]},
{"title": "The Second Teaching", "body": "Simplicity is not the absence of complexity — it's the mastery of it. The most profound ideas can be expressed in one slide. If you need ten slides to explain something, you haven't understood it yet."},
{"quote": "The only true wisdom is in knowing you know nothing.", "author": "Socrates", "image_url": A[2]},
{"title": "The Third Teaching", "body": "Humility opens the door to understanding. When you present wisdom, don't position yourself as the expert — position yourself as the fellow seeker. The audience learns more from someone walking beside them than someone standing above them."},
{"quote": "We are not human beings having a spiritual experience. We are spiritual beings having a human experience.", "author": "Pierre Teilhard de Chardin", "image_url": A[3]},
{"title": "The Fourth Teaching", "body": "Every communication is an act of service. You're not performing knowledge — you're offering it. The difference is in the energy. Service invites. Performance demands. Choose service."},
{"quote": "The wound is the place where the Light enters you.", "author": "Rumi", "image_url": A[4]},
{"title": "The Fifth Teaching", "body": "Vulnerability is the bridge between teacher and student. Share your struggles, not just your insights. The audience trusts the person who admits they're still learning more than the one who claims to have arrived."},
# checklist_action_plan
{"title": "Practice Guidelines", "items": [
{"step": "Sit with the topic before composing", "description": "Let the wisdom settle before you try to transmit it"},
{"step": "Write the audience's question first", "description": "What are they actually asking? Answer that."},
{"step": "Use one image per insight", "description": "Let the visual carry half the meaning"},
{"step": "End with an invitation, not a command", "description": "Wisdom is offered, not imposed"},
]},
# callout
{"title": "The Transmission Is Complete When", "text": "The audience doesn't remember your words — they remember their own realization. That's when teaching becomes transformation."},
# text_columns
{"title": "Three Modes of Transmission", "columns": [
{"heading": "Spoken", "body": "Words carry intention. The teacher's voice shapes how wisdom lands — not just what is said, but how it is offered."},
{"heading": "Written", "body": "Text endures. Written wisdom survives the session, the teacher, and the era. It becomes a reference the student returns to."},
{"heading": "Lived", "body": "The deepest teaching is embodied. When the teacher lives what they teach, every interaction becomes a transmission."},
]},
# cta
{"headline": "Continue the Practice", "button_text": "Explore More Teachings", "button_url": "https://deckmill.dev/wisdom", "subtext": "A growing library of wisdom transmission presets and examples."},
]
# ── 17. GUIDED EXPERIENCE (spiritual practice) ─────────────────────
# Arc: Stillness → Focus → Deepening → Peace
elif preset_id == "guided_experience":
return [
# image_headline
{"headline": "A Three-Minute Breathing Practice", "image_url": I[7], "subheadline": "Wherever you are right now, this is enough. Let's begin."},
# image_caption
{"image_url": I[0], "caption": "Breathe in for 4 counts", "description": "Let the breath arrive. Don't force it. Simply notice the air entering your body. Count: one... two... three... four."},
# callout
{"title": "Returning", "text": "Gently bring your awareness back to the room. Wiggle your fingers. Notice how you feel compared to three minutes ago. Carry this quality of attention into whatever comes next."},
# image_caption
{"image_url": I[1], "caption": "Hold for 4 counts", "description": "The breath is held. Not strained — held. Like cupping water in your hands. Notice the stillness between the inhale and the exhale."},
# image_quote
{"quote": "Feelings come and go like clouds in a windy sky. Conscious breathing is my anchor.", "author": "Andy Puddicombe", "image_url": A[3]},
# image_caption
{"image_url": I[2], "caption": "Exhale for 6 counts", "description": "Release. Let the breath leave slowly. One... two... three... four... five... six. Feel the body soften with each count."},
# text_block
{"title": "Settling In", "body": "Close your eyes or soften your gaze. Feel the weight of your body in the chair. Notice the temperature of the air on your skin. You don't need to do anything right now except be here. This carousel is your container for the next three minutes."},
# image_caption
{"image_url": I[3], "caption": "Rest in the gap", "description": "After the exhale, there's a moment of emptiness. Don't rush to fill it. That gap is where peace lives."},
# cta
{"headline": "Practice Again Tomorrow", "button_text": "Save This Carousel", "button_url": "https://deckmill.dev", "subtext": "Return to this practice whenever you need to find stillness."},
]
# ── 18. STORY JOURNEY (narrative arc) ──────────────────────────────
# Arc: Intrigue → Engagement → Tension → Catharsis → Action
elif preset_id == "story_journey":
return [
# hero
{"headline": "The Builder Who Almost Quit", "subheadline": "A story about the space between failure and breakthrough.", "badge": "A TRUE STORY", "kicker": "CHAPTER 1"},
# repeatable ×5: image_headline + text_block
{"headline": "The Beginning: A Crazy Idea", "image_url": I[0], "subheadline": "June 2023 — a solo developer, a laptop, and a conviction that slides shouldn't take all day."},
{"title": "The Doubt", "body": "Six months in. Zero users. The Python prototype worked, but nobody cared. 'Why would anyone use a CLI to make slides?' The forums were silent. The GitHub stars trickled. Every rational signal said quit."},
{"headline": "The Turning Point", "image_url": I[1], "subheadline": "One DM changed everything. 'Hey, your tool just saved me 8 hours on a client deck. Can I sponsor you?'"},
{"title": "The Proof", "body": "That DM led to a conversation. The conversation led to a case study. The case study led to 40 GitHub stars in a week. The lesson: build for one person, not a market. The market finds you."},
{"headline": "The Rewrite", "image_url": I[2], "subheadline": "Rust. The whole thing. From scratch. Because the Python version was 10x too slow for production use."},
{"title": "The Dark Hour", "body": "Month 3 of the Rust rewrite. Three compiler errors for every feature. The borrow checker had opinions about everything. 'Why am I doing this to myself?' Because the Python version couldn't render 10 slides in under a second. And speed was the whole point."},
{"headline": "The Breakthrough", "image_url": I[3], "subheadline": "First benchmark: 47 slides rendered in 0.8 seconds. The Python version took 12."},
{"title": "The Realization", "body": "The tool worked. But the real breakthrough wasn't technical — it was conceptual. Slides aren't documents. They're compositions. And compositions need a composer, not a template engine. That insight became the composition engine."},
{"headline": "The Present", "image_url": I[4], "subheadline": "47 slide types. 28 campaign presets. 85 tests passing. One binary. And a community that's just getting started."},
{"title": "What Comes Next", "body": "The tool ships. The community grows. The presets multiply. But the mission stays the same: make slide creation so fast that the bottleneck shifts from production to imagination. That's when things get interesting."},
# definition
{"term": "The Builder's Journey", "phonetic": "/ðə ˈbɪldərz ˈdʒɜːrni/", "definition": "Every product that matters was built by someone who almost quit. The difference between shipped and abandoned is one more day of showing up.", "context": "If you're building something and it feels impossible, you're exactly where every meaningful project starts."},
# before_after_story
{"title": "The Whole Arc", "before": {"label": "Day 1", "description": "Zero code. Zero users. Zero evidence this would work. Just a conviction that slides shouldn't take all day."}, "after": {"label": "Today", "description": "85 tests passing. 28 presets. 47 slide types. A tool that generates production carousels in 60 seconds."}, "metric": "547", "metric_label": "Days of Building"},
# cta
{"headline": "What's Your Builder's Journey?", "button_text": "Start Building", "button_url": "https://github.com/ishan-parihar/deckmill", "subtext": "Open source. MIT licensed. Fork it. Ship it. Make it yours."},
]
# ── 19. EMOTIONAL ENGINEERING (emotional funnel) ───────────────────
# Arc: Fear → Urgency → Contrast → Hope → Trust → Action
elif preset_id == "emotional_engineering":
return [
# hero
{"headline": "Your Competitors Shipped 12 Carousels While You Read This", "subheadline": "Every day you spend manual-designing, the gap widens. This isn't about tools. It's about survival.", "badge": "URGENT", "kicker": "THE COST OF INACTION"},
# repeatable ×3: metric_grid + callout
{"title": "The Fear Is Rational", "metrics": [
{"value": "12x", "label": "output gap between teams using composition engines and manual designers", "trend": "Growing 3x/quarter"},
]},
{"title": "The Fear Is Rational", "text": "You're not being paranoid. The content gap is real and accelerating. Teams with AI-native pipelines produce 12x more content with the same headcount. This isn't a future threat — it's today's reality."},
{"title": "The Money Is Leaving", "metrics": [
{"value": "$47K", "label": "annual cost of manual carousel production at $75/hr, 12hrs/week", "trend": "+18% YoY"},
]},
{"title": "The Money Is Leaving", "text": "Every hour your team spends dragging boxes in Figma is an hour not spent on strategy, research, or relationship building. The real cost isn't the design hours — it's the opportunity cost."},
{"title": "The Attention Cliff", "metrics": [
{"value": "68%", "label": "of audiences never see slide 6 if slides 1-3 don't hook them", "trend": "Industry average"},
]},
{"title": "The Attention Cliff", "text": "Your beautiful 10-slide carousel has a 32% chance of reaching slide 6. The other 68% scroll past after slide 3. The problem isn't design quality — it's emotional architecture."},
# before_after_story
{"title": "Two Futures", "before": {"label": "Stay Manual", "description": "12 hours per carousel. 4 per month. Same templates. Declining engagement. Watching competitors ship faster."}, "after": {"label": "Adopt Nexus", "description": "4 minutes per carousel. 4 per week. Unique compositions every time. Rising engagement. Leading the market."}, "metric": "756hrs/yr", "metric_label": "Difference in Production Time"},
# funnel_chart
{"title": "The Conversion Funnel", "steps": [
{"label": "Awareness", "value": 10000},
{"label": "Interest", "value": 3200},
{"label": "Consideration", "value": 1100},
{"label": "Intent", "value": 440},
{"label": "Action", "value": 180},
]},
# process_map
{"title": "The Escape Route", "steps": [
{"icon": "🚨", "title": "Acknowledge", "description": "Your current process is unsustainable. Admit it."},
{"icon": "⚡", "title": "Adopt", "description": "Deploy Nexus. CLI for you, MCP for your agents. Today."},
{"icon": "📈", "title": "Accelerate", "description": "Ship 10x more. Measure what works. Drop what doesn't."},
{"icon": "🏆", "title": "Lead", "description": "By the time competitors adopt AI pipelines, you'll be 6 months ahead."},
]},
# testimonial_avatar
{"quote": "We were the team that 'didn't need AI tools.' Six months later, our competitor had 3x our output and half our headcount. We adopted Nexus the next day.", "author": "Anonymous", "role": "Marketing Director, Fortune 500", "avatar_url": A[3]},
# qr_destination
{"destination_url": "https://deckmill.dev", "cta_text": "Start Now — It's Free", "heading": "The Time to Act Is Now", "caption": "Scan. Install. Ship. 60 seconds.", "short_url": "deckmill.dev"},
]
# ── 20. EVENT MOBILIZATION ──────────────────────────────────────────
# Arc: Interest → Excitement → Commitment → Action
elif preset_id == "event_mobilization":
return [
# hero
{"headline": "Deckmill Summit 2026", "subheadline": "The first conference dedicated to AI-native content composition. One day. 500 seats. Virtual + In-Person.", "badge": "SEPT 15, 2026", "kicker": "SAVE THE DATE"},
# list
{"title": "What's Happening", "items": [
"Keynote: The Death of the Design Sprint (Ishan Parihar)",
"Workshop: Building Your First Campaign Preset",
"Panel: AI Composition vs Human Design — The Real Debate",
"Live Demo: From Brief to Carousel in 60 Seconds",
"Networking: Meet the community building the future of slides",
]},
# image_quote
{"quote": "The future of content isn't AI replacing designers. It's AI freeing designers to do what they actually got into design for — solving problems, not dragging boxes.", "author": "Ishan Parihar", "image_url": A[1]},
# image_collage
{"images": [I[0], I[1], I[2], I[5]], "layout": "grid", "caption": "Summit highlights from previous events"},
# grid_cards
{"title": "Why Attend", "cards": [
{"icon": "🎓", "title": "Learn", "description": "Hands-on workshops with the Deckmill team. Build real carousels, not toy demos."},
{"icon": "🤝", "title": "Connect", "description": "Meet 500 content creators, developers, and marketers building with AI-native tools."},
{"icon": "🚀", "title": "Ship", "description": "Leave with a complete campaign ready to publish. Not a notebook of ideas — a working pipeline."},
{"icon": "🎁", "title": "Exclusive Access", "description": "Attendees get early access to Nexus 4.0 and the preset marketplace."},
]},
# qr_destination
{"destination_url": "https://deckmill.dev/summit", "cta_text": "Reserve Your Seat", "heading": "September 15, 2026", "caption": "Scan to register — early bird pricing ends Aug 1", "short_url": "deckmill.dev/summit"},
]
# ── 21. URGENCY MOBILIZATION (political mobilize) ──────────────────
# Arc: Urgency → Fear → Determination → Action
elif preset_id == "urgency_mobilization":
return [
# hero
{"headline": "48 Hours Left. Your Vote Matters.", "subheadline": "District 7 registration closes Friday at midnight. If you haven't registered, nothing else matters.", "badge": "DEADLINE FRIDAY", "kicker": "TIME-CRITICAL"},
# grid_cards
{"title": "What's at Stake", "cards": [
{"icon": "🏫", "title": "School Funding", "description": "The new budget allocates $14M more to District 7 schools — but only if you vote for the bond measure."},
{"icon": "🏠", "title": "Housing Policy", "description": "Affordable housing mandate expires Dec 31. Your vote extends it for 10 years."},
{"icon": "🏥", "title": "Clinic Access", "description": "Three community clinics close without renewed funding. 40,000 patients affected."},
{"icon": "🌳", "title": "Green Space", "description": "Park renovation funding is on the ballot. It's the first new park investment in 15 years."},
]},
# metric_grid
{"title": "The Numbers", "metrics": [
{"value": "48hrs", "label": "Until deadline"},
{"value": "14K", "label": "Unregistered voters"},
{"value": "$14M", "label": "School funding at stake"},
{"value": "3", "label": "Clinics closing"},
]},
# image_stat
{"image_url": I[3], "stat_value": "48hrs", "stat_label": "Until registration closes", "description": "Every hour counts. Register now."},
# process_map
{"title": "Register in 3 Steps", "steps": [
{"icon": "📱", "title": "Scan", "description": "Use the QR code to open your state's registration page"},
{"icon": "✍️", "title": "Fill", "description": "Name, address, ID — takes 2 minutes"},
{"icon": "✅", "title": "Confirm", "description": "You'll get a confirmation email. Screenshot it."},
]},
# testimonial_avatar
{"quote": "I didn't vote in 2022. My neighborhood lost its clinic. Don't let that happen to yours. Register today.", "author": "Maria Santos", "role": "District 7 Resident", "avatar_url": A[2]},
# qr_destination
{"destination_url": "https://vote.gov", "cta_text": "Register Now", "heading": "Don't Wait Until It's Too Late", "caption": "Scan to register — 2 minutes that change everything", "short_url": "vote.gov"},
]
# ── 22. COLLECTIVE MOBILIZATION (sociological movement) ────────────
# Arc: Anger → Belonging → Hope → Commitment
elif preset_id == "collective_mobilization":
return [
# hero
{"headline": "We Are 14,000 Strong.", "subheadline": "One community. One demand. One chance to change District 7 forever.", "badge": "MOVEMENT UPDATE", "kicker": "COMMUNITY ACTION"},
# metric_grid
{"title": "The Movement by Numbers", "metrics": [
{"value": "14,247", "label": "signatures collected in 6 months across District 7", "trend": "+890 this week"},
]},
# image_stat
{"image_url": I[5], "stat_value": "14,247", "stat_label": "Signatures and counting", "description": "Every signature is a person who believes change is possible"},
# grid_cards
{"title": "Our Demands", "cards": [
{"icon": "🏠", "title": "Housing", "description": "30% affordable units in all new developments. No exceptions."},
{"icon": "🏥", "title": "Healthcare", "description": "Renewed funding for all 3 community clinics. Permanent, not temporary."},
{"icon": "🌳", "title": "Green Space", "description": "Park renovation fund. Every neighborhood deserves a park."},
{"icon": "📚", "title": "Education", "description": "Equalized school funding. No district should get less per student."},
]},
# metric_grid
{"title": "Neighborhood Reach", "metrics": [
{"value": "12", "label": "neighborhoods organized with volunteer captains in every district", "trend": "+3 this month"},
]},
# image_headline
{"headline": "This Started With One Person", "image_url": I[5], "subheadline": "Six months ago, one resident started a petition. Today, 14,000 signatures and counting."},
# metric_grid
{"title": "Political Impact", "metrics": [
{"value": "3", "label": "city council meetings where our coalition spoke — and was heard", "trend": "Next: Sept 12"},
]},
# process_map
{"title": "How to Join", "steps": [
{"icon": "📋", "title": "Sign", "description": "Add your name to the coalition petition"},
{"icon": "📣", "title": "Share", "description": "Send this carousel to 5 people in District 7"},
{"icon": "🗳️", "title": "Vote", "description": "Register and show up on election day"},
{"icon": "🤝", "title": "Organize", "description": "Become a neighborhood captain"},
]},
# qr_destination
{"destination_url": "https://district7coalition.org", "cta_text": "Join the Coalition", "heading": "14,000 Signatures. Yours Next?", "caption": "Scan to sign, share, and organize", "short_url": "district7coalition.org"},
]
# ── 23. OUTRAGE CATALYST ───────────────────────────────────────────
# Arc: Anger → Moral clarity → Evidence → Collective action → Accountability
elif preset_id == "outrage_catalyst":
return [
# hero
{"headline": "Your Utility Bill Funded a Lobby Campaign Against You", "subheadline": "We traced $2.3M in ratepayer money to political ads opposing the very regulations that would lower your bills.", "badge": "INVESTIGATION", "kicker": "FOLLOW THE MONEY"},
# repeatable ×3: metric_grid + image_callout
{"title": "Where Your Money Went", "metrics": [
{"value": "$2.3M", "label": "spent on lobbying from utility ratepayer funds in 2025 alone", "trend": "+340% since 2022"},
]},
{"image_url": I[6], "callouts": [{"label": "Money trail: Ratepayer funds → PAC → Attack ads", "description": "Your monthly bill includes a 'system improvement charge' — $4.20 of every $100 goes to political spending", "x": 50, "y": 40}], "description": "The fee on your bill labeled 'system improvement' is funding political ads."},
{"title": "What They Opposed", "metrics": [
{"value": "73%", "label": "of lobbying spend went to opposing clean energy regulations", "trend": "Public records"},
]},
{"image_url": I[4], "callouts": [{"label": "The ads they ran with your money", "description": "'Clean energy mandates will raise your bill by $340/year' — the actual analysis showed a $12 increase", "x": 50, "y": 40}], "description": "The attack ads used your money to spread misinformation about policies that would help you."},
{"title": "Your Monthly Contribution", "metrics": [
{"value": "$4.20", "label": "per $100 bill goes to political spending, not infrastructure", "trend": "Every month"},
]},
{"image_url": I[3], "callouts": [{"label": "What $2.3M could have built", "description": "730 homes weatherized. 12 community solar installations. 4,600 LED streetlights.", "x": 50, "y": 40}], "description": "That $2.3M could have directly lowered bills — instead it was spent fighting the regulations that would."},
# chart
{"title": "Where Your Utility Dollar Goes", "chart_type": "bar", "data": [{"label": "Infrastructure", "value": 62}, {"label": "Profit margin", "value": 18}, {"label": "Admin/exec", "value": 12}, {"label": "Political spending", "value": 8}]},
# checklist_action_plan
{"title": "What You Can Do", "items": [
{"step": "File a public records request", "description": "Demand your utility disclose all political spending from ratepayer funds"},
{"step": "Attend the next PUC hearing", "description": "Public comment period opens Sept 3. Your voice matters."},
{"step": "Share this carousel", "description": "The more people know, the harder it is to hide"},
{"step": "Contact your state representative", "description": "Support HB 2847 — the Ratepayer Transparency Act"},
]},
# process_map
{"title": "The Accountability Chain", "steps": [
{"icon": "🔍", "title": "Investigate", "description": "Public records reveal where ratepayer money actually goes"},
{"icon": "📢", "title": "Expose", "description": "Share findings with affected communities"},
{"icon": "⚖️", "title": "Legislate", "description": "Support transparency laws that prevent misuse"},
{"icon": "🗳️", "title": "Enforce", "description": "Elect officials who prioritize ratepayers over utilities"},
]},
# stat_row
{"stats": [
{"value": "$2.3M", "label": "Ratepayer funds spent on lobbying"},
{"value": "73%", "label": "Went to opposing clean energy"},
{"value": "4.2M", "label": "Ratepayers affected statewide"},
]},
# qr_destination
{"destination_url": "https://followthemoney.org", "cta_text": "See the Full Report", "heading": "The Complete Investigation", "caption": "Scan for source documents, data, and action tools", "short_url": "followthemoney.org"},
]
# ── 24. PARADIGM SHIFT ──────────────────────────────────────────────
# Arc: Recognition → Discomfort → Understanding → Reframing
elif preset_id == "paradigm_shift":
return [
# myth_fact
{"myth": "Content quality determines reach", "fact": "Content structure determines reach. The same information, restructured with emotional architecture, reaches 3x more people.", "explanation": "Algorithms don't evaluate quality — they evaluate engagement signals: completion rate, shares, saves. Structure drives those signals, not polish."},
# repeatable ×4: chart + callout
{"title": "Quality vs Structure: Reach Impact", "chart_type": "bar", "data": [{"label": "High quality, no arc", "value": 31}, {"label": "Average quality, strong arc", "value": 78}, {"label": "High quality + strong arc", "value": 94}]},
{"title": "The Uncomfortable Truth", "text": "Your best-designed carousel might be your worst-performing one. Beauty doesn't convert — structure converts. The most shared carousels on LinkedIn aren't the prettiest. They're the ones with the clearest emotional arc."},
{"title": "Algorithm Signal Hierarchy", "chart_type": "bar", "data": [{"label": "Completion rate", "value": 95}, {"label": "Saves", "value": 82}, {"label": "Shares", "value": 76}, {"label": "Likes", "value": 34}]},
{"title": "What Algorithms Actually Measure", "text": "Completion rate is the #1 signal. Not likes, not comments — did they scroll to the end? Emotional architecture keeps them scrolling. Pretty slides don't."},
{"title": "The Paradigm Shift in Data", "chart_type": "bar", "data": [{"label": "Before: design-first", "value": 28}, {"label": "Transition: hybrid", "value": 51}, {"label": "After: structure-first", "value": 89}]},
{"title": "The Industry Is Shifting", "text": "The most successful content teams in 2026 lead with narrative structure and add design polish as a second pass. The old model — design first, fill in content — is dying. Not because design doesn't matter, but because it was never the bottleneck."},
{"title": "Engagement by Content Strategy", "chart_type": "bar", "data": [{"label": "Template-based", "value": 23}, {"label": "Design-led", "value": 38}, {"label": "Structure-led", "value": 71}, {"label": "Architecture-led", "value": 93}]},
{"title": "The New Hierarchy", "text": "Emotional architecture > narrative structure > visual design > individual slide quality. Most teams have the hierarchy inverted. They optimize individual slides while ignoring the sequence. The sequence is what the algorithm sees."},
# definition
{"term": "Content Architecture", "phonetic": "/ˈkɒntɛnt ˈɑːrkɪtɛktʃər/", "definition": "The deliberate structuring of content sequences to maximize engagement signals that algorithms reward. The opposite of content decoration.", "context": "Architecture is invisible to the viewer but legible to the algorithm. That's why it works."},
# callout
{"title": "The Shift Is Already Happening", "text": "Teams that adopted structure-first content in Q1 2026 are seeing 3x the reach of teams still designing first. The gap will only widen. This carousel is your wake-up call."},
# scatter_plot
{"title": "Structure vs Design: Performance", "x_label": "Emotional Architecture Score", "y_label": "Engagement Rate", "data": [
{"x": 15, "y": 22, "label": "Template-only"},
{"x": 38, "y": 41, "label": "Design-led"},
{"x": 67, "y": 73, "label": "Structure-led"},
{"x": 91, "y": 94, "label": "Architecture-led"},
]},
# cta
{"headline": "Lead the Paradigm Shift", "button_text": "Adopt Architecture-First", "button_url": "https://deckmill.dev/paradigm", "subtext": "Start with the framework that puts structure before decoration."},
]
# ── 25. TRANSFORMATION ARC (psychological self-improve) ────────────
# Arc: Dissatisfaction → Hope → Progress → Commitment
elif preset_id == "transformation_arc":
return [
# image_headline
{"headline": "You're Not Lazy. You're Uninspired.", "image_url": I[7], "subheadline": "The gap between where you are and where you want to be isn't discipline — it's design."},
# image_caption
{"image_url": I[0], "caption": "Week 1: Audit your current workflow", "description": "For one week, track every time you open Figma, Canva, or any design tool. Note what you're making, how long it takes, and how you feel about it."},
# section_divider
{"kicker": "WEEK 1", "title": "Dismantle the Old System", "subtitle": "Before building new habits, understand why the old ones failed"},
# image_caption
{"image_url": I[1], "caption": "Week 2: Generate your first 5 carousels with Nexus", "description": "Use a different preset each day. Compare the output to your manual work. Not the aesthetics — the emotional impact."},
# section_divider
{"kicker": "WEEK 2", "title": "Install the New System", "subtitle": "Replace design time with composition time"},
# image_caption
{"image_url": I[3], "caption": "Week 3: Track engagement, not production time", "description": "Which carousel got more saves? More shares? More DMs? The answer will surprise you."},
View remainder of file in raw view
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.