startstop
oo
metro 33
read a movie fle
itqimavie 320 240
print) >
u t total time / units per frame $looppaintsoO
‘metro 33
then start elsa stop
pdeiColerGreen) (pdeiColor-Biue
jtiat movie 320 240 @voi 0. sdelGolor 1 ici deiColor 2 jk deiCotor 3
jmatrc 4 char 16 16 16 @dimn 320 340 |
it spil @lana t
Be iy
poe
Heot
i. spill @plane 2) [jt-scill @plane 3
son
k colors,
ici sorted 4 jiLfil sorted 2 random 1) (jicfllrandam 2) (jifil random 3 and send to
‘ather eolor inputs
matrix sorted 4 char 16 16 16
matrix random 4 char 16 16 16
all pixels sorted numerically
all pixels randomly shuffled around shift calorsa
iE
TT) send previous value, then store current
a
163 163 163 163 163 163 162 163 165 165
165 166 166 166 166 167 166 166 166 166
186 166 166 186 165 187 169 169 186 166
167 169-171 181 168 178 179 179 181 178
176 178 174 175 179 172 163 167 168 168
4167 166 166 166 166 167 168 165 168 168,
168 168 168 168 164 164 164 164 164 164
164 164 166 166 165 166 166 166 166 166
169 169 169 159 169 169 169 169 171 171
ATAATA ATA AT1 171 171 176 174 174 171
169 177 179 187 167 177 184 184 182 182
182 182 176 175 181 182 174 173 177 173
4187 165 129 127 166 190 182 174 171 171
172 144 71 24 56 45 28 19 24 38 38 96 35.92
39.93 24 24 35 95 36 36 36 37 367 26 27 96
‘37 35 34 33 32 93 34 36 36 37 36.35 34 34 35
‘36.37 33 33 33 34 95 35:53 31 32.96 39 37 30
98.30 19 23 33 37 35 25.22 25 2BB7 119 167
162 196 155 149 172 190 215 220 18 143
94 6 53 59 52 54 99 179 184 163 184
179 180 181 183 182 180 181 181 181
181 181 181 181 181 185 185 182 184
ips 177 165 173 180 184 182 180 181 181
4iL
qmeiro #3 ) (mad
iLmavie 420 240
ral
crosstae bowen
weowoeoe
fae)
prepend xfade
OE f
direct out
or further
process
original video
fade @xiade 0.85
ubrcosa
jitop
neat feedback-resat trek
i
ia sat so 0, hen est
Ls GAG) | tite noto, ten soe
S reset
other fun stuff tolook at
‘chromak
video with fecdbackipresassingCUTTING and BUILDING VIDEO
‘You can cut vidaos into muttipla parts (jitscissors)
andlor pul separate videos together (jl.glue).
a
te)
i
jl.gtmovie 320240 @vol 0. | prepand rows | |[prepend rows
teed [ Z read O reed
qmetro 33, gmetre 33
jtqimovie 220 240 @vai 0.) (j.gkmovia 320 240 @vol 0.) (jitgLmovie 220 240 @vai 0.
AUDIO)
‘The reverse of he above patch, this path
takes a video file and reads the mean
faverage) RG, and B values for each
frame. Those values are scaled into
more useable ranges and are mapped to
‘he carrier and modulation frequency and
madulation depth of an AM synthesis,
madule.
‘metro 23
tvideoSpeed
jitatmavie 220-240 @va 0.
i
HINT: playing “countdown.moy"
makes it easy to seo the changes
double-click to turn on audio >
‘metro 23
jikalmawe 820 240 @vai G.
iam
‘Spley—
*
a
E
dac~ 12
‘when the video is stopped, stop the audio too
unpack 0.0.0.0.
Scala 0. 285. 100, 400,
rad (cartier freq)
gels the min, mean, and max vals
Scale 0.2550. 20.
(green {modulator freq)
eakamp- 250 peakamp- reports the
Volume of the incoming
signal (0-1)
Geale 0. 1.0.10.
L
Bucket 2
I
‘Sprint! 96f, Sot SG
bucket delaye value ene step
OPTIONAL: format for line and
ineo. 4.325077, 2.837219 260. ranip speed nicely over time
prepend rate format for video rate
5 videoSpead
camer freq
do some AM synthesis!
blue (modulator depth)BASIC GL PATCH
Using OpenGL is a bit more complicated than
Jitter video and timing in your patet will be
centieal
We use jit gl skeich to create simple shapes
(2d and 3d), itol render converts it ta
luseabla format, and jit-window to display.
DRIVING GL PATCHES
+ gmetra drives the patch, just ike with Jitter
video
+ the trigger (1) object ensures proper timing
DRAWING COMMANDS:
1. erase clears the renderer
2. finally, a bang updates the renderer and
‘sands the data to the window
ameto 33 R 8 8 eftie 5) < radius
t
‘glrender shapes ak gicolor 0.0.0.
< corners (x72)
quad 0.5 -
500.5.0.5005050-05050
fos}03.04) < overall radius, radius of tube
‘glommande fess) < clear he sersen of shapas
r
tal sketch shapes @lighting enable 1) —
jitgl sketch drawingsComands ) (pak
jdepthbulfer 1
2. bang sends the gl commands
.erase clears the renderer
4. bang updates the frame
rinif glealor Set O Sar
glcolor 0.14 0.0.86,
behind mation
‘< can also change background color
@val 0.05
iicmatra 1 char 640 480
pack 4 recombine with alpha
X.
i-alphablend
resulting alpha maskOo reed test range ‘output ifwithin range output if not in the range
‘metro 33 tow high randam color! randam calor!
tatmovia 320 240 @voi 0. (Fo. § prandomColor prandomColor
I. S~«I_st T_
pasta (ane) (awe) (own) (amen) Poa) Paws)
Fata A ar 03 pasa ssis-1
Fp Dials Gone ol AAD” (T= BT (AGT al + Gls AD” T) throne pesos wy twin rage roth ty dn
‘HE BASICS OF USING JITTER EXPRESSIONS SO HOW DO WE MAKE AN IFTHEN STATEMENT?
Oh, 50 tis is REALLY oonfsing, bu ql power. Using tox you cm Abo i snips ach phil ta ama i en HG
feral ten sistoments x ere mations someting hat woud chermse tangerine ph ivathin at ange outpaa ore coe, Ht
(es bso Lop opts arcane rou lowing own tare a tho en
SPECIFYING THE NUMBER OF INPUTS Abas stlament
The eto inp ol he ruber np Ge] >=) th then stu 4 le returns
BASIC EXPRESSIONS Unrest ny ge a ve i
Using the FO, nak we can bul basi expressions. For example: can be ely scelvedh ep.
Howe tuing tina an itn item
aoarrion T_) value or anther matric (el >=) a)
-—_— a This roturs OFt just like above and multiplies the result by the
ener @inpuls 2 @expe “in(O] + in(tT_ third inet; since anything times 0 =, we only get in[3] if the
expression is true.
MULTIALICATION (F8) vate or another matrix tucornee bo tne tion eaten ne beproelons:
fLexpr @inputs 2 @expr “info * inf true false false
Loxpr @inputs 2 @expr “n(O] * inf tT ras
false true fat
You can also apply expressions to single planes from an incoming matrix: + infa] + 0 = ints]
ba en itis really confusing o think oft as.a string of additions. In
(expr Ginputs 2 Goexpe 10} AST if < mualtiply plana 0 by plane building these statements, consider how multiplying by 0 and
1 of the same mata! adding tha results con be Used to sot conditions for tosting