[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.68,0:00:04.88,Default,,0000,0000,0000,,Unplugged Activity | Getting Loopy Dialogue: 0,0:00:06.64,0:00:09.08,Default,,0000,0000,0000,,Hi! My name is Miral Kobt. Dialogue: 0,0:00:09.08,0:00:12.68,Default,,0000,0000,0000,,I'm the creator of iLuminate. Dialogue: 0,0:00:12.68,0:00:15.83,Default,,0000,0000,0000,,In my work there is something I use in both dances Dialogue: 0,0:00:15.83,0:00:20.20,Default,,0000,0000,0000,,and in programming light suits. And that is... loops! Dialogue: 0,0:00:20.20,0:00:23.30,Default,,0000,0000,0000,,Loops are repeating an action over and over. Dialogue: 0,0:00:23.30,0:00:28.32,Default,,0000,0000,0000,,When you repeat something multiple times, like my actions to keep the hula hoop spinning, Dialogue: 0,0:00:28.32,0:00:31.48,Default,,0000,0000,0000,,I'm performing a loop of that action Dialogue: 0,0:00:31.48,0:00:39.32,Default,,0000,0000,0000,,This is a loop Dialogue: 0,0:00:41.26,0:00:47.60,Default,,0000,0000,0000,,Today we're going to have a dance party. We'll act out loops with a new dance: The Iteration. Dialogue: 0,0:00:47.60,0:00:51.36,Default,,0000,0000,0000,,We're going to learn about loops using a dance. Dialogue: 0,0:00:51.36,0:00:56.62,Default,,0000,0000,0000,,You'll learn a couple of easy steps and then repeat them over and over to complete the dance. Dialogue: 0,0:00:56.62,0:00:59.48,Default,,0000,0000,0000,,Here are the steps you'll need to learn: Dialogue: 0,0:00:59.48,0:01:04.10,Default,,0000,0000,0000,,clap your hands, put your hands behind your head Dialogue: 0,0:01:04.10,0:01:08.08,Default,,0000,0000,0000,,put your hands on your waist, lift your left hand up Dialogue: 0,0:01:08.08,0:01:11.18,Default,,0000,0000,0000,,lift your right hand up Dialogue: 0,0:01:11.18,0:01:12.96,Default,,0000,0000,0000,,Pretty simple, right? Dialogue: 0,0:01:12.96,0:01:16.66,Default,,0000,0000,0000,,Head, waist. Head, waist. Clap clap clap. Dialogue: 0,0:01:16.66,0:01:22.20,Default,,0000,0000,0000,,Do you see how some steps are repeated? Such as clap? That's a loop! Dialogue: 0,0:01:22.20,0:01:24.20,Default,,0000,0000,0000,,We need to do it two more, ready? Dialogue: 0,0:01:25.54,0:01:30.20,Default,,0000,0000,0000,,You will discover that you can shorten the directions by putting some dance steps in loops. Dialogue: 0,0:01:30.20,0:01:31.84,Default,,0000,0000,0000,,Are you ready? Dialogue: 0,0:01:31.85,0:01:36.37,Default,,0000,0000,0000,,Now we're gonna do a belly laugh, ready? Dialogue: 0,0:01:38.78,0:01:41.18,Default,,0000,0000,0000,,We actually do use loops in our dancing Dialogue: 0,0:01:41.18,0:01:44.72,Default,,0000,0000,0000,,The dancers are wearing computers and they're all in the same network Dialogue: 0,0:01:44.72,0:01:48.12,Default,,0000,0000,0000,,So I might loop the lights through the same dancers over and over again Dialogue: 0,0:01:48.13,0:01:51.39,Default,,0000,0000,0000,,So in the loop I might have an iteration, I'll say you wanna go Dialogue: 0,0:01:51.39,0:01:55.44,Default,,0000,0000,0000,,loop through these 6 dancers over and over again and then within the loop Dialogue: 0,0:01:55.44,0:01:56.56,Default,,0000,0000,0000,,you'll want to increase the speed so that Dialogue: 0,0:01:56.56,0:01:59.89,Default,,0000,0000,0000,,you're both looping through the same dancers but you're also increasing Dialogue: 0,0:01:59.89,0:02:03.74,Default,,0000,0000,0000,,the speed of the lights so that it kind of plays a visual trick on the audience. Dialogue: 0,0:02:03.74,0:02:06.42,Default,,0000,0000,0000,,And that's all created through loops. Dialogue: 0,0:02:06.90,0:02:10.54,Default,,0000,0000,0000,,Loops are important in computer science because they make our work shorter and easier.