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.
App Lab works best on a desktop or laptop computer with a mouse and keyboard. You may experience issues using this tool on your current device.
Game Lab works best on a desktop or laptop computer with a mouse and keyboard. You may experience issues using this tool on your current device.
You may experience issues using Web Lab in Private Browsing mode. Please reload your project in normal mode. Sorry for the inconvenience.
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.
Your teacher didn't expect you to be here. Please ask your teacher which lesson you should be on.
Video: Dance Party AI Edition How AI Works
Now you can upload your own sprites and backgrounds. Watch this video to learn how!
Video Player is loading.
Current Time 0:00
/
Duration -:-
Loaded: 0%
0:00
Stream Type LIVE
Remaining Time --:-
1x
Chapters
descriptions off, selected
captions settings, opens captions settings dialog
captions off, selected
This is a modal window.
The media could not be loaded, either because the server or network failed or because the format is not supported.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
Hour of Code | Dance Party: AI Edition - How AI works
How do you think AI works? Can it read your mind? Is it magic? Is it randomly guessing? Actually, AI knows quite a lot! AI looks at billions of data points and finds associations between words. With some simple math concepts, applied billions of times, it calculates the strength between those associations.
Then, AI uses what it learned in order to make decisions on what to generate for you. My team uses AI to look for associations between songs and artists to make sure Amazon Music is recommending the best next song.
Sometimes those decisions aren't the same ones you would make because AI is making associations based on billions of data points. Imagine a sunset. What color do you see? If you asked this question to billions of people, you would get many different answers.
When you choose your three emojis, A.I. might generate effects that are not quite what you imagined.
You have a few options! The first thing you can do is regenerate the effects based on the same emojis you already chose.
You can also customize the effects A.I. bot generated by clicking the 'Use code' button. This will give you two new code blocks in your workspace.
Last, you can click 'Start over' to choose a new set of emojis. You can work with A.I. to create the perfect effect. What customizations will you make?