In Storytelling, students use computer science to tell fun and interactive stories. Storytelling emphasizes creativity by encouraging club members to tell a unique story each day.
In Friends, students are encouraged to sign up with a friend or make a new friend in the club. Friends emphasizes teamwork by allowing club members to tell the story of how their friendship started and imagine a company together.
In Fashion & Design, students learn how computer science and technology are used in the fashion industry while building fashion-themed programs, like a fashion walk, a stylist tool, and a pattern maker.
In Art, students create animations, interactive artwork, photograph filters, and other exciting, artistic projects.
In Social Media, students create fun social media style applications and games while learning about the computer science concepts that enable these programs to work.
In Sports, students use computer science to simulate extreme sports, make their own fitness gadget commercial, and create commentary for a big sporting event.
In Music & Sound, students use the computer to play musical notes, create a music video, and build an interactive music display while learning how programming is used to create music.
In Game Design, students learn basic video game coding concepts by making different types of games, including racing, platform, launching, and more!
Students create fun and complex animated projects. This is an advanced curriculum, which means it teaches new concepts that are recommended for students who have already participated in at least two other CS First themes.
In this sample activity students animate an ocean wave to create a setting, then tell a story that takes place on the high seas.
In this sample activity students tell a story using the characters from Cartoon Network’s "The Amazing World of Gumball."
Be a designer and programmer – bring the Google logo to life using code.
In this video, you’ll smooth out your wave animation so the waves move more gradually.
Right now, when you run your program, the wave changes effect by 25, waits, then changes back.
To make the waves move more gradually, program them to change in smaller amounts.
You could write a lot of code to do this… change effect by 5, wait, change effect by 5, wait, and so on, to make the wave move a little bit at a time.
But, as you saw in the last video, it’s easier to program the computer to repeat these actions for you.
To do this, drag out a “repeat 10” block.
While the forever loop you used before makes an action repeat for the whole program, the “repeat 10” block only runs a specified number of times.
Place “change whirl effect” and “wait” blocks inside the “repeat 10” block.
Tinker with the values of the “change whirl effect,” “wait,” and “repeat” blocks until the water looks like a smooth, natural wave.
As you test your program, if you need to reset the whirl effect to 0, click the looks menu and the “clear graphic effects” block.
Once your wave looks good to you, put the “repeat” block back in the forever loop.
Then, do the same for the other “change whirl effect” and “wait” blocks.
Drag out a “repeat 10” block, and place the blocks inside it.
Keep your wave from going too far in one direction by entering the same values in the “repeat” and “wait” blocks.
Then, use a negative value in the “change whirl effect” block.
Place this code back inside the forever loop, and click the flag to run it.
When the flag is clicked, the forever loop begins to run the code inside.
First, it runs the “repeat” block.
This repeats changing the effect and waiting 10 times.
Then, the next “repeat” block runs.
When that finishes, the whole process starts over again.
Awesome! You should have a smooth looking wave.
In the next video, you’ll add some more sprites and begin telling a story about what’s happening on this boat!
Now, it’s your turn!
Add a “repeat” block around each pair of “change effect” and “wait” blocks.
Change the values of the blocks to create a smooth wave effect for your program.