Hello and welcome to Day 4 of CS First Fashion and Design! In this activity you will imaginea fashion innovation and program an android sprite to describe it to users. As you buildthis project, you’ll learn about an important computer science concept: conditional statements.
Conditionals run code based on whether or not something is true. An example might be,“If it’s sunny, then wear sunglasses,” or “if my favorite song comes on, then I’mgoing to dance.” Conditionals are used frequently in computerscience. For example, in this style application for a tablet, if the person using the appselects the gray dress, then the character's dress changes to the gray dress. *If* theuser of the app selects brown eyes, *then* the model's eyes change to brown. These conditionalstatements use "If...then" conditions to allow the computer program to react in differentways depending on what the user does. In this example of a virtual mirror, the computerprogram reflects different tshirts based on the user's selection. *If* the user choosesthe gray tshirt and a new tshirt logo, *then* her reflection changes to show her modelingthe new shirt. Computer Scientists like you use conditionals, or "If Then", rules likethis to instruct computers on how to respond to all the possible different conditions whichcan occur in the program.
Take a moment now to make sure you are signed in to the cs-first website using the usernameand password from your passport. If you are *not* signed in, you won’t receive a digitalbadge for completing this activity, so be sure to sign in!
Now, it's your turn! Click the "Innovation Starter Project" link next to this video.
Click the Remix button, and sign in to Scratch. Return to this tab, and click the green arrowto watch the next video.
"Virtual Clothing - A 3DLife demonstrator" by #DLifeNoE (https://www.youtube.com/watch?v=CZOiZszINQQ) -- Licensed by Creative Commons Attribution 3.0 Unported (https://creativecommons.org/licenses/by/3.0/legalcode) -- Video trimmed to needed length | Audio removed | Text removed and replaced
"Style Me Girl - Trailer" by MeGirlGames (https://www.youtube.com/watch?v=gjCLhfM98OQ) -- Licensed by Creative Commons Attribution 3.0 Unported (https://creativecommons.org/licenses/by/3.0/legalcode) -- Video trimmed to needed length | Audio removed