Please update your browser
Your browser version is not supported by this site. CS First may not work properly. Learn more.
Hey, welcome to Scratch Fashion and Design.
Today, you'll create a program that designs patterns.
You'll be able to test the patterns you create
on things like clothing furniture or even wallpaper.
In doing this you'll learn
about a computer science concept, procedures.
A procedure combines many instructions
into one task or block.
The procedure can then be called
to run that set of instructions whenever needed.
In Scratch, you create a procedure by making a block.
For example, you could combine a set of instructions
into a dance procedure.
When this code runs, it runs the glide block,
then calls the procedure.
All the code for this procedure runs
before moving onto the next glide block.
Alternatively, you code the same example,
without procedures like this.
This requires a lot more time and effort.
Not only that, but look at how much prettier
the code looks when you use a procedure.
Rather than copying a bunch of code
to make the sprite dance, it's all placed into a procedure
that you can call whenever needed.
Procedures allow you to simplify common actions.
You can then create code that looks good,
is much easier to read, and takes less time to create.
Take a moment now to make sure you're signed into
the CS First website, using the Username and Password
from your passport.
If you're not signed in, you won't receive a digital badge
for completing this activity.
So be sure to sign in.
Today, you'll begin with a starter project
that has a procedure to assist in your pattern creation.
When this video's over, click on the Pattern Maker
Starter project link, sign into Scratch,
and click the Remix button.
Then return to this tab, and watch the next video
where you'll begin printing your first pattern.
Now it's your turn.
Click the Pattern Maker Starter project link.
Sign in to Scratch, and click the Remix button.
Sign in to track your progress and earn badges