Rotate your device.
Turn off orientation lock in device settings.
Your browser is not supported. Please upgrade your browser to one of our supported browsers. You can try viewing the page, but expect functionality to be broken.
CS in Algebra curriculum and content is being deprecated. Within the next few months, this lab will no longer be available. Please check out Bootstrap: Algebra instead. Learn More.
Rotate your device.
Turn off orientation lock in device settings.
A.I. can help you create fun visual effects for your dance party!
Connect the A.I. generate effect
block to setup.
Click on the block to get started.
Version: 2023
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
Hour of Code | Dance Party: AI Edition - Intro to AI
Hi, my name is Joaquin and I'm Head of the Music Search Platform at Amazon.
I lead the team at Amazon Music that helps you find your favorite songs. We use advanced computer technology, like Artificial Intelligence, to make sure when you need a music recommendation, we give you the perfect match.
Artificial Intelligence, or AI, is a computer program that works like a human's brain. It takes in a lot of data, learns patterns from that data, and then makes decisions based on what it has learned.
AI is already being used in all sorts of ways, from small tasks ("Alexa, tell me a joke!", "What do you call a big pile of kittens? A Meow-ntain!") to creative tasks, and even to professional tasks. At Amazon, we use AI to write code, suggest products you might like, and my team helps you find songs for you to enjoy.
Today, you will use A.I. bot to code a combination of special effects for your dance. There are foreground effects, background effects, and color schemes to choose from. There are 11,000 different combinations of these effects.
Don't worry, you won't have to try out each combination, A.I. will suggest the best one for you based on what it has learned.
First, you'll choose three emojis.
Then A.I. bot generates an effect that best matches your selection. It writes code to make this effect. Let's see what cool effects you and A.I. bot will create!