Mod 2 Lesson 2 Repeating with loops

Slides:



Advertisements
Similar presentations
I Spy! Shapes in our world.
Advertisements

Create a Simple Game in Scratch
Introduction to TouchDevelop
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
What shape is this? A. octagon B. parallelogram C. square D. hexagon E. triangle REMEMBER: A hexagon has 6 sides.
Introducing Scratch the Cat
Scratch Programming Lesson 2 First glance to programming logic.
Art 321 Lecture 7 Dr. J. Parker. Programming In order to ‘make things happen’ on a computer, you really have to program it. Programming is not hard and.
Introduction to TouchDevelop
2015 CSE/EGR Summer Camps 1 Computer Science Concepts 1. What is an algorithm? 2. Binary information coding 3. Programming concepts via Scratch Designed.
By. Circle Draw a circle in the box Tell about its attributes: sides, angles, whether or not it’s a polygon. Add any additional information you know about.
Section 1 Introduction National 4/5 Scratch Course.
Attachment 1.
Is this a square or a pentagon? It is a square.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech May 2011.
Algorithms Writing instructions in the order they should execute.
Scratch Programming Lesson 3 Create a story. We are going to learn… How to change the background How to use the “say” and “think” bubbles How to change.
Drawing with the Pen Barb Ericson Georgia Tech June 2011.
From last time… Explore the blue commands from the motion menu Find at least three ways to get the sprite to move to the UPPER LEFT corner.
First Project: Dance Dance Sprite  Write a dance with your sprite (You pick or create the sprite)  Incorporate as many of the Motion Commands as you.
Squeaky Tales. Starfish Challenge! Troubleshooting 1.Computer Freezing 2.Patience 3.Size of numbers in script.
Digital Art in Scratch part 2 Barb Ericson Georgia Tech Nov 2010.
Turtle Graphics Lesson 2 1. There are 3 homeworks to complete during the six lessons of this unit. Your teacher will let you know when a homework has.
What does this do? Pen up? Pen Down? Clear? Set Pen Color? Set Pen Shade? Stamp? 1.
Drawing in Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
Using MIT Scratch for Programming and Control Programming 9.
Using the Python Turtle
Introduction to Scratch
Computer Programming.
Scratch for Interactivity
Intro CS – Loops & Creating Shapes
Keep coding Bekir Mugayitoglu.
Here you can learn all about 2-D shapes
Understanding the Geometric Shape Code
Scratch – Simple Programming
Evgeniya Gushchina EPAM e-kids volunteer computer science teacher
Scratch for Interactivity
2-Dimensional Shapes Name: ______________________________
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Module 2 Lesson 3 Over and Over Again
Unit 3: Lesson 9-Looping and Random Numbers
Here you can learn all about 2-D shapes
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Extra Drawing Practice in Java Script
Hour of Code.
Go to =>
Just Basic Lesson 18 Mr. Kalmes.
Mod 2 Lesson 2 Repeating Debugging
Game Over Module 4 Lesson 2.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Getting Started with Scratch
© LaunchPad Learning Inc. All rights reserved.
By 2-D shapes.
Module 2 Lesson 3 Over and Over Again
Intro to Programming 2/23/2016 Review Sections 1-3
Mod 5 Lesson 1 Scratch Cards: Easy
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Mod 2 Lesson 2 Repeating with loops
Module 2 Lesson 3 Over and Over Again
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Creating a Simple Game in Scratch
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Lesson Six Drawing.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
2 Making Blocks.
Using MIT Scratch for Programming and Control Exercise 5 – Drawing with Scratch Year 9 ICT Autumn Term 2007.
Presentation transcript:

Mod 2 Lesson 2 Repeating with loops Intro to Programming Mod 2 Lesson 2 Repeating with loops

Intro Learning Objectives Use the pen commands to introduce the concept of iteration and loops in Scratch. Students will be able to write programs that incorporate looping. Students experiment with drawing shapes in Scratch.

How can you do this with less code? (240, 180) (-240, 180) What does this code do? Note: Starting location is in the middle, starting direction is to the right, starting pen color is black. How can you do this with less code? (-240, -180) (240, -180)

What do you think this program does? Create the script in Scratch to check, Hide Makes the sprite disappear. Show Makes it reappear. Pen up Lifts the pen off the canvas, so when moved nothing is written. Pick random () In the operators set of commands. Picks a random number from 1 to 10. Clear Clears the pen marks and stamps from the stage. (Note: Background will still remain.) Set pen color to Sets the pen color. Over 200 options. Tells you what position on the stage the drawing will start. Pen down Start leaving a pen trail when moved. This repeat loop draws the square.

Your Turn Using to loop, try to create the following. Triangle Pentagon Circle Show to Smith when you have them completed. Try to draw a circle and hexagon side by side.

Assignment Create a piece of art in Scratch using the pen. It must have at least 6 figures and at least 3 loops. Push: Create the snowman. Push: Have the figure (not a sprite) move. Save it as YourNameMod2Lesson2