-
Notifications
You must be signed in to change notification settings - Fork 19
/
classic-batch-array.tex
87 lines (78 loc) · 2.31 KB
/
classic-batch-array.tex
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
% convert -density 600 -delay 10 -loop 0 classic-batch.pdf classic-batch-pdf.gif
% or
% convert -density 600 classic-batch.pdf classic-batch-%02d.png
% convert -delay 100 -loop 0 classic-batch*.png classic-batch.gif
\input{diagrams}
\def \ShowWatermarks{0}
\newcommand{\BatchDiagram}[3][c_timeline] {
\TriggersDiagram[#1]{#2}{
\DrawBatchBoundary{5}
#3
}
}
\newcommand{\FrameA}[1] {
\BatchDiagram{#1}{
}
}
\FrameA{.01}
\FrameA{.111}
\FrameA{.222}
% +5
\newcommand{\FrameState}[2] {
\BatchDiagram{#1}{
\DrawState{0}{\maxx}{0}{#1}{[#2]}
}
}
\FrameState{.333}{5}
\FrameState{.444}{5}
\FrameState{.555}{5}
\FrameState{0.666}{5, 7}
\FrameState{0.777}{5, 7}
\FrameState{0.888}{5, 7}
\FrameState{0.999}{5, 7}
\FrameState{1.000}{5, 7}
\FrameState{1.111}{5, 7}
\FrameState{1.222}{5, 7, 3}
\FrameState{1.333}{5, 7, 3}
\FrameState{1.444}{5, 7, 3, 4}
\FrameState{1.555}{5, 7, 3, 4}
\FrameState{1.666}{5, 7, 3, 4, 3}
\FrameState{1.777}{5, 7, 3, 4, 3}
\FrameState{1.888}{5, 7, 3, 4, 3}
\FrameState{2.000}{5, 7, 3, 4, 3}
\FrameState{2.111}{5, 7, 8, 3, 4, 3}
\FrameState{2.222}{5, 7, 8, 3, 4, 3}
\FrameState{2.333}{5, 7, 8, 3, 4, 3, 3}
\FrameState{2.444}{5, 7, 8, 3, 4, 3, 3}
\FrameState{2.555}{5, 7, 8, 3, 4, 3, 3}
\FrameState{2.666}{5, 7, 8, 3, 4, 3, 3}
\FrameState{2.777}{5, 7, 8, 3, 4, 3, 3}
\FrameState{2.888}{5, 7, 8, 3, 4, 3, 3}
\FrameState{3.000}{5, 7, 8, 3, 4, 3, 3}
\FrameState{3.111}{5, 7, 8, 3, 4, 3, 3}
\FrameState{3.222}{5, 7, 8, 3, 4, 3, 3}
\FrameState{3.333}{5, 9, 7, 8, 3, 4, 3, 3}
\FrameState{3.444}{5, 9, 7, 8, 3, 4, 3, 3}
\FrameState{3.555}{5, 9, 7, 8, 3, 4, 3, 3}
\FrameState{3.666}{5, 9, 7, 8, 3, 4, 3, 3, 8}
\FrameState{3.777}{5, 9, 7, 8, 3, 4, 3, 3, 8}
\FrameState{3.888}{5, 9, 7, 8, 3, 4, 3, 3, 8}
\FrameState{4.000}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\FrameState{4.111}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\FrameState{4.222}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\FrameState{4.333}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\FrameState{4.444}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\FrameState{4.555}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\FrameState{4.666}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\FrameState{4.777}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\FrameState{4.888}{5, 9, 7, 8, 3, 4, 3, 3, 8, 1}
\BatchDiagram{5.000}{
\DrawOutput{0}{\maxx}{0}{5.000}{51}
}
\newcommand{\FrameOutput}[0]{
\BatchDiagram[c_back]{5.222}{
\DrawOutput{0}{\maxx}{0}{5.000}{51}
}
}
\DrawFinalFrames{\FrameOutput}
\end{document}