Posts

Showing posts with the label scratch

Computer Science for Good: AI Lesson

Image
Yesterday, to celebrate Computer Science Education Week , we focused on learning about one of the newest trends in computer science: machine learning artificial intelligence. We discussed how artificial intelligence can help humanity and the Earth, by making it easier to operate prosthetics, create tools for assisting people with disabilities, identify diseases and tackle environmental issues. But it can also be used for harm, such as to trick people into believing they are talking to a real person when they are not, or to trick people into believing they are watching a famous person say something they never really said. And this is just the start. That's why it's so important to learn how artificial intelligence works, so that we can harness its power for good and ethical purposes. Code.org has a site offering resources about Computer Science for Good , and yesterday we tried out their cool AI for Oceans activity . This activity teaches kids how machine learning computers ...

Scratch Cards for Teaching Basic Animation

Image
Right now we're doing a four-week class on making animations with Scratch. Last week, we introduced the kids to the Scratch interface and some of the key blocks they would need. They animated a simple sprite that had multiple costumes already built. One of the challenges of doing a program like Scratch coding is that if you have the kids code a predetermined project step by step, they may learn more tools but they don't have as much opportunity to think critically or creatively. I used to teach Scratch with tutorials where I told the kids, step by step, how to build the code. Now I don't do that as much anymore. Instead, I want the kids to follow a set of instructions but figure out the blocks to use on their own. Kids like individuality. They don't want their project to come out looking exactly like everyone else's. They want options. So I created some cards, inspired by the Scratch Cards on ScratchEd . I gave each kid a challenge, like "Make a Bat Fl...

Propeller Powered Balloon Helicopters - New and Improved Formula!

Image
Last week kids came to Pasadena Library to learn about elastic energy and the Law of Conservation of Energy , and then build a helicopter that would rise up in the air at least briefly before coming down. We attached helium balloons to a homemade helicopter that runs on the elastic energy of a twisted-up rubber band, and since the apparatus itself is heavy enough, the whole thing generally floats gently down. (OK, some kids did have to add a weight in order to counteract the extreme lift of the helium.) Kids had a blast making their helicopters, even though it was not an easy project, and required a lot of tinkering and troubleshooting! I did this program before at Pasadena Public Library, and shared it on my blog a few years ago . I'm sharing this year's experience because I think I learned some things that might have improved the project back then. I first found the project in 2014 on curiositymachine.org . You may have to subscribe to get access to all their projec...

Scratch for Experienced Users: Flappy Bat

Image
Today we made videogames using Scratch, based on the infamous "Flappy Bird" videogame that brought its creators notoriety and established them in the halls of memorable bad game design forever :) We followed a tutorial I created and chose new sprites for our flappy character--many kids chose airplanes, fish, or other animals, and a few chose bats. The end code looks something like this (this is just the code for the bat that flies through the pipes): The final product is supposed to work like this (click on the picture and you'll be taken to the game which you can play): If you'd like to see the kids' projects they are posted here: Pasadena Library Kids' Blog The kids did a great job. Even one child who was not really very experienced with Scratch turned out to be quite sharp and able to follow all the difficult instructions. Despite having a lot of technical difficulties, almost everyone was able to go home with a finished game emailed to the...