summaryrefslogtreecommitdiff
path: root/assets/demo.seq
blob: b30dd68edd4a9902702e725a4acfe0bb37974e23 (plain)
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
# ============================================================================
# DEMO SEQUENCE DEFINITION
# ============================================================================
# Defines the timeline and layering of visual effects for the demo.
# Compiled by seq_compiler into src/generated/timeline.cc at build time.
#
# DOCUMENTATION: See doc/SEQUENCE.md for complete syntax reference
#
# QUICK REFERENCE:
#   SEQUENCE <start> <priority> ["optional_name"] [optional_end]
#     EFFECT <+|=|-> <ClassName> <start> <end>
#
#   Priority modifiers: + (increment), = (same), - (decrement/background)
#   Time notation: 0b (beats), 0.0 (seconds)
#   Optional name: Displayed in Gantt charts (e.g., "Opening Scene")
#
# VALIDATION & VISUALIZATION:
#   ./build/seq_compiler assets/demo.seq                    # Validate only
#   ./build/seq_compiler assets/demo.seq --gantt-html=t.html  # HTML Gantt
#
# ============================================================================

# BPM 120

SEQUENCE 0b 0
  EFFECT - FlashCubeEffect .2 3       # Background cube (priority -1 = behind everything)
  EFFECT + FlashEffect 0.0 1.         # Priority 0
  EFFECT + FadeEffect 0.1 1.          # Priority 1
  EFFECT + SolarizeEffect 0 4b        # Priority 2 (was 3, now contiguous)

SEQUENCE 4b 0
  EFFECT - FlashCubeEffect 0.1 3.     # Priority -1
  EFFECT + FlashEffect 0.0 0.2        # Priority 0 (was 4, now contiguous)

SEQUENCE 6b 1
  EFFECT + ParticlesEffect 0 4        # Priority 0
  EFFECT = GaussianBlurEffect 0 8     # Priority 0 (same layer)

SEQUENCE 7b 0
  EFFECT + HeptagonEffect 0.0 .2      # Priority 0
  EFFECT + FadeEffect 0.1 1.0         # Priority 1 (was 5, now contiguous)

# Post-processing chain (priority 10 = applied after scene rendering)
# Effects are applied in priority order: lower numbers first
SEQUENCE 8b 3
  EFFECT + ThemeModulationEffect 0 4     # Priority 0
  EFFECT = HeptagonEffect 0.0 4.0        # Priority 0 (same layer)
  EFFECT + GaussianBlurEffect 0 8        # Priority 1
  EFFECT + ChromaAberrationEffect 0 6    # Priority 2
  EFFECT + SolarizeEffect 0 10           # Priority 3

SEQUENCE 12b 2
  EFFECT - FlashCubeEffect .2 3          # Priority -1 (background)
  EFFECT + HeptagonEffect 0 4            # Priority 0
  EFFECT + ParticlesEffect 0 4           # Priority 1

SEQUENCE 15b 2
  EFFECT - FlashCubeEffect .2 3          # Priority -1 (background)
  EFFECT + FlashEffect 0.0 1             # Priority 0

SEQUENCE 16b 10
  EFFECT - FlashCubeEffect .2 3          # Priority -1 (background)
  EFFECT + GaussianBlurEffect 0 8        # Priority 0
  EFFECT + FlashEffect 0.0 0.2           # Priority 1
  EFFECT = FlashEffect 1b 0.2            # Priority 1 (same layer)

SEQUENCE 17b 2
  EFFECT + ThemeModulationEffect 0 4     # Priority 0
  EFFECT + HeptagonEffect 0.2 2.0        # Priority 1
  EFFECT = ParticlesEffect 0 4           # Priority 1 (same layer)
  EFFECT + Hybrid3DEffect 0 4            # Priority 2
  EFFECT + GaussianBlurEffect 0 8        # Priority 3
  EFFECT + ChromaAberrationEffect 0 6    # Priority 4

SEQUENCE 24b 1
  EFFECT + ThemeModulationEffect 0 8     # Priority 0
  EFFECT + HeptagonEffect 0.2 2.0        # Priority 1
  EFFECT + Hybrid3DEffect 0 20           # Priority 2
  EFFECT + GaussianBlurEffect 0 8        # Priority 3
  EFFECT + ChromaAberrationEffect 0 10   # Priority 4
  EFFECT + SolarizeEffect 0 10           # Priority 5

SEQUENCE 32b 0
  EFFECT + ThemeModulationEffect 0 4     # Priority 0
  EFFECT + HeptagonEffect 0 16           # Priority 1
  EFFECT + ChromaAberrationEffect 0 16   # Priority 2
  EFFECT + GaussianBlurEffect 0 8        # Priority 3

SEQUENCE 48b 0
  EFFECT + ThemeModulationEffect 0 4     # Priority 0
  EFFECT + HeptagonEffect 0.2 2.0        # Priority 1
  EFFECT + GaussianBlurEffect 0 8        # Priority 2
  EFFECT + SolarizeEffect 0 2            # Priority 3

SEQUENCE 56b 0
  EFFECT + ThemeModulationEffect 0 8     # Priority 0
  EFFECT = HeptagonEffect 0.2 2.0        # Priority 0 (same layer)
  EFFECT + Hybrid3DEffect 0 4            # Priority 1
  EFFECT + HeptagonEffect 0 16           # Priority 2
  EFFECT + ChromaAberrationEffect 0 16   # Priority 3
  EFFECT + GaussianBlurEffect 0 8        # Priority 4

SEQUENCE 62b 0
  EFFECT + ThemeModulationEffect 0 3     # Priority 0
  EFFECT + SolarizeEffect 0 3            # Priority 1
# Demo automatically exits at this time (supports beat notation)
END_DEMO 65b